fixed auto-raise of pages that are not in the top level

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-02-23 14:29:36 +00:00
parent 718314af75
commit 6e9d1beda9
6 changed files with 69 additions and 29 deletions

View file

@ -45,14 +45,22 @@ class TransfersDialog : public RsAutoUpdatePage
Q_OBJECT
public:
enum Page {
/* Fixed numbers for load and save the last page */
SearchTab = 0, /** Network page. */
LocalSharedFilesTab = 1, /** Network new graph. */
RemoteSharedFilesTab = 2 /** Old group chat page. */
};
/** Default Constructor */
TransfersDialog(QWidget *parent = 0);
~TransfersDialog();
virtual UserNotify *getUserNotify(QObject *parent);
// replaced by shortcut
// virtual void keyPressEvent(QKeyEvent *) ;
void activatePage(TransfersDialog::Page page) ;
virtual void updateDisplay() ; // derived from RsAutoUpdateWidget
static DetailsDialog *detailsDialog() ;