mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 11:02:30 -04:00
Addition of new GamesDialog and PhotoDialog.
The GamesDialog is semi-functional, but doesn't launch games yet, while the PhotoDialog is a place holder. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0712590a99
commit
b05d5d3297
9 changed files with 1420 additions and 1 deletions
|
@ -30,6 +30,7 @@
|
|||
#include <rshare.h>
|
||||
#include "ApplicationWindow.h"
|
||||
|
||||
|
||||
#include "Preferences/PreferencesWindow.h"
|
||||
#include "Settings/gsettingswin.h"
|
||||
#include "util/rsversion.h"
|
||||
|
@ -39,6 +40,8 @@
|
|||
#include "gui/connect/InviteDialog.h"
|
||||
#include "gui/connect/AddFriendDialog.h"
|
||||
|
||||
#include "GamesDialog.h"
|
||||
#include "PhotoDialog.h"
|
||||
|
||||
#define FONT QFont(tr("Arial"), 8)
|
||||
|
||||
|
@ -85,6 +88,15 @@ ApplicationWindow::ApplicationWindow(QWidget* parent, Qt::WFlags flags)
|
|||
|
||||
ui.stackPages->add(exampleDialog = new ExampleDialog(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_MESSAGES), tr("Example Application"), grp));
|
||||
|
||||
GamesDialog *gamesDialog = NULL;
|
||||
ui.stackPages->add(gamesDialog = new GamesDialog(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_MESSAGES), tr("Games Launcher"), grp));
|
||||
|
||||
PhotoDialog *photoDialog = NULL;
|
||||
ui.stackPages->add(photoDialog = new PhotoDialog(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_MESSAGES), tr("Photo View"), grp));
|
||||
|
||||
|
||||
//ui.stackPages->add(groupsDialog = new GroupsDialog(ui.stackPages),
|
||||
// createPageAction(QIcon(), tr("Groups"), grp));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue