mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 06:14:25 -04:00
moved Options window into a new Preferences tab
This commit is contained in:
parent
883c4cc8a0
commit
67af166c0c
10 changed files with 168 additions and 65 deletions
|
@ -53,6 +53,7 @@ class PostedDialog;
|
|||
class FriendsDialog;
|
||||
class IdDialog;
|
||||
class ChatLobbyWidget;
|
||||
class SettingsPage ;
|
||||
class ChatDialog;
|
||||
class NetworkDialog;
|
||||
class SearchDialog;
|
||||
|
@ -104,7 +105,25 @@ public:
|
|||
Links = 10, /** Links page. */
|
||||
#endif
|
||||
Posted = 11, /** Posted links */
|
||||
People = 12 /** People page. */
|
||||
People = 12, /** People page. */
|
||||
Options = 13 /** People page. */
|
||||
};
|
||||
|
||||
|
||||
enum StatusElement {
|
||||
StatusGrpStatus = 0x01,
|
||||
StatusCompactMode = 0x02,
|
||||
StatusShowToolTip = 0x03,
|
||||
StatusShowStatus = 0x04,
|
||||
StatusShowPeer = 0x05,
|
||||
StatusShowDHT = 0x06,
|
||||
StatusShowHashing = 0x07,
|
||||
StatusShowDisc = 0x08,
|
||||
StatusShowRate = 0x09,
|
||||
StatusShowOpMode = 0x0a,
|
||||
StatusShowSound = 0x0b,
|
||||
StatusShowToaster = 0x0c,
|
||||
StatusShowSystray = 0x0d
|
||||
};
|
||||
|
||||
/** Create main window */
|
||||
|
@ -142,6 +161,7 @@ public:
|
|||
IdDialog *idDialog ;
|
||||
ChatLobbyWidget *chatLobbyDialog;
|
||||
MessagesDialog *messagesDialog;
|
||||
SettingsPage *settingsDialog;
|
||||
SharedFilesDialog *sharedfilesDialog;
|
||||
GxsChannelDialog *gxschannelDialog ;
|
||||
GxsForumsDialog *gxsforumDialog ;
|
||||
|
@ -168,6 +188,8 @@ public:
|
|||
static void installNotifyIcons();
|
||||
static void displayLobbySystrayMsg(const QString&,const QString&);
|
||||
|
||||
static void switchVisibilityStatus(MainWindow::StatusElement e,bool b);
|
||||
|
||||
/* initialize widget with status informations, status constant stored in data or in Qt::UserRole */
|
||||
void initializeStatusObject(QObject *pObject, bool bConnect);
|
||||
void removeStatusObject(QObject *pObject);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue