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:
drbob 2008-04-24 13:14:58 +00:00
parent 98eabbabe0
commit e42a4cf463
5 changed files with 1174 additions and 0 deletions

View File

@ -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 \

View File

@ -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));

View 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);
}

View 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

File diff suppressed because it is too large Load Diff