diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-11-30 23:14:53 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-11-30 23:14:53 +0000 |
commit | 430d616e282b3b486e5e04ea6625aaf6e6ea197c (patch) | |
tree | 35e0c091ecb1b3da7292fc5848f0ce934eca4c58 /ui/qt/label_stack.h | |
parent | 3a0a1d49ea90c251450d2c9898311ed459bf9a32 (diff) | |
download | wireshark-430d616e282b3b486e5e04ea6625aaf6e6ea197c.tar.gz |
Do a better job of getting the user's attention for temporary messages.
Rename some variables.
svn path=/trunk/; revision=46310
Diffstat (limited to 'ui/qt/label_stack.h')
-rw-r--r-- | ui/qt/label_stack.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ui/qt/label_stack.h b/ui/qt/label_stack.h index 000df8d6c5..15d3237a1f 100644 --- a/ui/qt/label_stack.h +++ b/ui/qt/label_stack.h @@ -26,6 +26,8 @@ #include <QLabel> #include <QStack> +#include <QTime> +#include <QTimer> class LabelStack : public QLabel { @@ -41,18 +43,21 @@ private: int ctx; } StackItem; - int m_temporaryCtx; - QList<StackItem *> m_labels; + int temporary_ctx_; + QList<StackItem *> labels_; + QTime temporary_epoch_; + QTimer temporary_timer_; void fillLabel(); signals: + void toggleTemporaryFlash(bool enable); public slots: void popText(int ctx); private slots: - void popTemporaryText(); + void updateTemporaryStatus(); }; #endif // LABEL_STACK_H |