diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-04-01 18:03:18 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-04-01 18:03:18 +0000 |
| commit | 5c2175f675751f63ffa47ffde156620cc6f77abd (patch) | |
| tree | aa1e02f2b79b43b7d48503d3fde4e2af477e239d /pica-client/mainwindow.h | |
| parent | 7f34ed3d9f69619f1681d12f3dffeb3b3937326f (diff) | |
| download | pica-pica-5c2175f675751f63ffa47ffde156620cc6f77abd.tar.gz pica-pica-5c2175f675751f63ffa47ffde156620cc6f77abd.zip | |
notifications in MainWindow, show-hide on button click
git-svn-id: svn://localhost/project_picapica/trunk@235 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/mainwindow.h')
| -rw-r--r-- | pica-client/mainwindow.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pica-client/mainwindow.h b/pica-client/mainwindow.h index 3361c69..552db9b 100644 --- a/pica-client/mainwindow.h +++ b/pica-client/mainwindow.h @@ -5,6 +5,7 @@ #include <QListWidget> #include <QComboBox> #include <QSystemTrayIcon> +#include <QPushButton> #include "contacts.h" #include "contactlistwidget.h" @@ -30,6 +31,8 @@ private: Ui::MainWindow *ui; ContactListWidget *contact_list; QComboBox *status; + QListWidget *notifications; + QPushButton *bt_showhide_notifications; QMenu *contactsMenu; QMenu *helpMenu; @@ -37,11 +40,15 @@ private: bool status_change_disable_flag; void SetStatus(bool connected); + bool status_notifications_hidden; private slots: void set_online(); void set_offline(); void status_changed(int index); + void show_notifications(); + void hide_notifications(); + void showhide_click(); }; |
