mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 07:35:12 -04:00
* Move plugin Demo to ApplicationWindow
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@973 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
cdc3a65165
commit
8d38e51536
9 changed files with 54 additions and 310 deletions
|
@ -112,7 +112,7 @@
|
|||
* #define RS_RELEASE_VERSION 1
|
||||
****/
|
||||
|
||||
#define RS_RELEASE_VERSION 1
|
||||
//#define RS_RELEASE_VERSION 1
|
||||
|
||||
/** Constructor */
|
||||
MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
||||
|
@ -128,15 +128,11 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||
|
||||
mSMPlayer = NULL;
|
||||
|
||||
ui.toolBarservice->hide();
|
||||
ui.toolBarservice->hide();
|
||||
|
||||
// Setting icons
|
||||
this->setWindowIcon(QIcon(QString::fromUtf8(":/images/rstray3.png")));
|
||||
|
||||
/*if(!_settings->value(QString::fromUtf8("StartMinimized"), false).toBool()) {
|
||||
show();
|
||||
}*/
|
||||
|
||||
/* Create all the dialogs of which we only want one instance */
|
||||
_bandwidthGraph = new BandwidthGraph();
|
||||
messengerWindow = new MessengerWindow();
|
||||
|
@ -155,7 +151,7 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||
connect(ui.actionSMPlayer, SIGNAL(triggered()), this, SLOT( showsmplayer()) );
|
||||
connect(ui.actionAbout, SIGNAL(triggered()), this, SLOT( showabout()) );
|
||||
connect(ui.actionColor, SIGNAL(triggered()), this, SLOT( setStyle()) );
|
||||
connect(ui.actionSettings, SIGNAL(triggered()), this, SLOT( showSettings()) );
|
||||
//connect(ui.actionSettings, SIGNAL(triggered()), this, SLOT( showSettings()) );
|
||||
|
||||
|
||||
|
||||
|
@ -171,8 +167,8 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||
/* Create the Main pages and actions */
|
||||
QActionGroup *grp = new QActionGroup(this);
|
||||
|
||||
ui.stackPages->add(pluginsPage = new PluginsPage(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_PLUGINS), tr("Plugins"), grp));
|
||||
//ui.stackPages->add(pluginsPage = new PluginsPage(ui.stackPages),
|
||||
// createPageAction(QIcon(IMAGE_PLUGINS), tr("Plugins"), grp));
|
||||
|
||||
NewsFeed *newsFeed = NULL;
|
||||
ui.stackPages->add(newsFeed = new NewsFeed(ui.stackPages),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue