aboutsummaryrefslogtreecommitdiff
path: root/src/qt/verifymessagedialog.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-14 23:22:45 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-15 08:04:51 +0200
commit34aa3112c8d3366303873fbd217e23d9cba798e4 (patch)
tree6a91b9dcd7955ae8cecdf12dc78dcde5a9c1561b /src/qt/verifymessagedialog.h
parent2643ce97ae40d9ed6260b7d2608f7ca9181bb391 (diff)
adapt user-experience from messagepage / move placeholderTexts from XML to source to avoid a problem with Qt < 4.7 / add eventFilter for address field to select text when clicking in / add Clear All button / rework strings
Diffstat (limited to 'src/qt/verifymessagedialog.h')
-rw-r--r--src/qt/verifymessagedialog.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/qt/verifymessagedialog.h b/src/qt/verifymessagedialog.h
index 6a641f7731..9a3fb43415 100644
--- a/src/qt/verifymessagedialog.h
+++ b/src/qt/verifymessagedialog.h
@@ -3,16 +3,14 @@
#include <QDialog>
+namespace Ui {
+ class VerifyMessageDialog;
+}
class AddressTableModel;
QT_BEGIN_NAMESPACE
-class QAbstractButton;
QT_END_NAMESPACE
-namespace Ui {
- class VerifyMessageDialog;
-}
-
class VerifyMessageDialog : public QDialog
{
Q_OBJECT
@@ -21,16 +19,19 @@ public:
explicit VerifyMessageDialog(AddressTableModel *addressModel, QWidget *parent = 0);
~VerifyMessageDialog();
-private slots:
- void on_buttonBox_clicked(QAbstractButton *button);
-
- void on_copyToClipboard_clicked();
+protected:
+ bool eventFilter(QObject *object, QEvent *event);
private:
bool checkAddress();
Ui::VerifyMessageDialog *ui;
AddressTableModel *model;
+
+private slots:
+ void on_verifyMessage_clicked();
+ void on_copyToClipboard_clicked();
+ void on_clearButton_clicked();
};
#endif // VERIFYMESSAGEDIALOG_H