mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 11:02:30 -04:00
* added a Basic Library Dialog to ApplicationWindow
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@701 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
dc73c346f1
commit
b522636e08
10 changed files with 1160 additions and 2 deletions
|
@ -53,6 +53,8 @@
|
|||
#include "TransferFeed.h"
|
||||
#include "MsgFeed.h"
|
||||
#include "ChannelFeed.h"
|
||||
#include "LibraryDialog.h"
|
||||
|
||||
|
||||
/* for smplayer */
|
||||
#include "smplayer.h"
|
||||
|
@ -83,7 +85,8 @@
|
|||
#define IMAGE_NEWSFEED ":/images/konqsidebar_news24.png"
|
||||
#define IMAGE_LINKS ":/images/ktorrent.png"
|
||||
#define IMAGE_MESSAGES ":/images/evolution.png"
|
||||
#define IMAGE_BLOGS ":/images/kblogger.png"
|
||||
#define IMAGE_BLOGS ":/images/kblogger.png"
|
||||
#define IMAGE_LIBRARY ":/images/library.png"
|
||||
|
||||
|
||||
/* Keys for UI Preferences */
|
||||
|
@ -150,6 +153,10 @@ ApplicationWindow::ApplicationWindow(QWidget* parent, Qt::WFlags flags)
|
|||
PhotoDialog *photoDialog = NULL;
|
||||
ui.stackPages->add(photoDialog = new PhotoDialog(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_PHOTO), tr("Photo View"), grp));
|
||||
|
||||
LibraryDialog *libraryDialog = NULL;
|
||||
ui.stackPages->add(libraryDialog = new LibraryDialog(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_LIBRARY), tr("Library"), grp));
|
||||
|
||||
CalDialog *calDialog = NULL;
|
||||
ui.stackPages->add(calDialog = new CalDialog(ui.stackPages),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue