Dropdown for account switching

This commit is contained in:
Sky
2013-11-27 22:39:49 +00:00
parent 38732636d3
commit 69d8ab16c5
3 changed files with 110 additions and 11 deletions

View File

@ -148,6 +148,10 @@ slots:
void activeAccountChanged();
void changeActiveAccount();
void repopulateAccountsMenu();
protected:
bool eventFilter(QObject *obj, QEvent *ev);
void setCatBackground(bool enabled);
@ -170,5 +174,7 @@ private:
QLabel *m_statusLeft;
QLabel *m_statusRight;
QToolButton *actionManageAccounts;
QMenu *accountMenu;
QToolButton *accountMenuButton;
QAction *manageAccountsAction;
};