mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Added empty Blog Dialog to Unfinished!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
98eabbabe0
commit
e42a4cf463
@ -50,6 +50,7 @@ HEADERS += rshare.h \
|
|||||||
gui/ULListDelegate.h \
|
gui/ULListDelegate.h \
|
||||||
gui/StartDialog.h \
|
gui/StartDialog.h \
|
||||||
gui/ChatDialog.h \
|
gui/ChatDialog.h \
|
||||||
|
gui/BlogDialog.h \
|
||||||
gui/NetworkDialog.h \
|
gui/NetworkDialog.h \
|
||||||
gui/GenCertDialog.h \
|
gui/GenCertDialog.h \
|
||||||
gui/TransfersDialog.h \
|
gui/TransfersDialog.h \
|
||||||
@ -150,6 +151,7 @@ HEADERS += rshare.h \
|
|||||||
|
|
||||||
|
|
||||||
FORMS += gui/ChatDialog.ui \
|
FORMS += gui/ChatDialog.ui \
|
||||||
|
gui/BlogDialog.ui \
|
||||||
gui/StartDialog.ui \
|
gui/StartDialog.ui \
|
||||||
gui/GenCertDialog.ui \
|
gui/GenCertDialog.ui \
|
||||||
gui/NetworkDialog.ui \
|
gui/NetworkDialog.ui \
|
||||||
@ -217,6 +219,7 @@ SOURCES += main.cpp \
|
|||||||
gui/StartDialog.cpp \
|
gui/StartDialog.cpp \
|
||||||
gui/GenCertDialog.cpp \
|
gui/GenCertDialog.cpp \
|
||||||
gui/ChatDialog.cpp \
|
gui/ChatDialog.cpp \
|
||||||
|
gui/BlogDialog.cpp \
|
||||||
gui/NetworkDialog.cpp \
|
gui/NetworkDialog.cpp \
|
||||||
gui/TransfersDialog.cpp \
|
gui/TransfersDialog.cpp \
|
||||||
gui/graphframe.cpp \
|
gui/graphframe.cpp \
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
#include "PhotoDialog.h"
|
#include "PhotoDialog.h"
|
||||||
#include "ForumsDialog.h"
|
#include "ForumsDialog.h"
|
||||||
#include "channels/channelsDialog.h"
|
#include "channels/channelsDialog.h"
|
||||||
|
#include "BlogDialog.h"
|
||||||
|
|
||||||
/* for smplayer */
|
/* for smplayer */
|
||||||
#include "smplayer.h"
|
#include "smplayer.h"
|
||||||
@ -114,6 +115,11 @@ ApplicationWindow::ApplicationWindow(QWidget* parent, Qt::WFlags flags)
|
|||||||
ui.stackPages->add(photoDialog = new PhotoDialog(ui.stackPages),
|
ui.stackPages->add(photoDialog = new PhotoDialog(ui.stackPages),
|
||||||
createPageAction(QIcon(IMAGE_PHOTO), tr("Photo View"), grp));
|
createPageAction(QIcon(IMAGE_PHOTO), tr("Photo View"), grp));
|
||||||
|
|
||||||
|
BlogDialog *blogDialog = NULL;
|
||||||
|
ui.stackPages->add(blogDialog = new BlogDialog(ui.stackPages),
|
||||||
|
createPageAction(QIcon(IMAGE_NETWORK), tr("Blog Feed"), grp));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//ui.stackPages->add(groupsDialog = new GroupsDialog(ui.stackPages),
|
//ui.stackPages->add(groupsDialog = new GroupsDialog(ui.stackPages),
|
||||||
// createPageAction(QIcon(), tr("Groups"), grp));
|
// createPageAction(QIcon(), tr("Groups"), grp));
|
||||||
|
33
retroshare-gui/src/gui/BlogDialog.cpp
Normal file
33
retroshare-gui/src/gui/BlogDialog.cpp
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/****************************************************************
|
||||||
|
* RetroShare is distributed under the following license:
|
||||||
|
*
|
||||||
|
* Copyright (C) 2008 Robert Fernie
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation; either version 2
|
||||||
|
* of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
* Boston, MA 02110-1301, USA.
|
||||||
|
****************************************************************/
|
||||||
|
#include <QtGui>
|
||||||
|
|
||||||
|
#include "BlogDialog.h"
|
||||||
|
|
||||||
|
/** Constructor */
|
||||||
|
BlogDialog::BlogDialog(QWidget *parent)
|
||||||
|
: MainPage (parent)
|
||||||
|
{
|
||||||
|
/* Invoke the Qt Designer generated object setup routine */
|
||||||
|
ui.setupUi(this);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
42
retroshare-gui/src/gui/BlogDialog.h
Normal file
42
retroshare-gui/src/gui/BlogDialog.h
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
/****************************************************************
|
||||||
|
* RetroShare is distributed under the following license:
|
||||||
|
*
|
||||||
|
* Copyright (C) 2008 Robert Fernie
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation; either version 2
|
||||||
|
* of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
* Boston, MA 02110-1301, USA.
|
||||||
|
****************************************************************/
|
||||||
|
|
||||||
|
#ifndef _BLOG_DIALOG_H
|
||||||
|
#define _BLOG_DIALOG_H
|
||||||
|
|
||||||
|
#include "mainpage.h"
|
||||||
|
#include "ui_BlogDialog.h"
|
||||||
|
|
||||||
|
class BlogDialog : public MainPage
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
/** Default Constructor */
|
||||||
|
BlogDialog(QWidget *parent = 0);
|
||||||
|
/** Default Destructor */
|
||||||
|
|
||||||
|
/** Qt Designer generated object */
|
||||||
|
Ui::BlogDialog ui;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
1090
retroshare-gui/src/gui/BlogDialog.ui
Normal file
1090
retroshare-gui/src/gui/BlogDialog.ui
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user