aboutsummaryrefslogtreecommitdiff
path: root/src/qt/receivecoinsdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/receivecoinsdialog.h')
-rw-r--r--src/qt/receivecoinsdialog.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/qt/receivecoinsdialog.h b/src/qt/receivecoinsdialog.h
index 12d2235782..ab63331597 100644
--- a/src/qt/receivecoinsdialog.h
+++ b/src/qt/receivecoinsdialog.h
@@ -6,11 +6,15 @@
#define RECEIVECOINSDIALOG_H
#include <QDialog>
+#include <QHeaderView>
+#include <QItemSelection>
#include <QKeyEvent>
#include <QMenu>
#include <QPoint>
#include <QVariant>
+#include "guiutil.h"
+
namespace Ui {
class ReceiveCoinsDialog;
}
@@ -27,6 +31,13 @@ class ReceiveCoinsDialog : public QDialog
Q_OBJECT
public:
+ enum ColumnWidths {
+ DATE_COLUMN_WIDTH = 130,
+ LABEL_COLUMN_WIDTH = 120,
+ AMOUNT_MINIMUM_COLUMN_WIDTH = 160,
+ MINIMUM_COLUMN_WIDTH = 130
+ };
+
explicit ReceiveCoinsDialog(QWidget *parent = 0);
~ReceiveCoinsDialog();
@@ -42,15 +53,18 @@ protected:
private:
Ui::ReceiveCoinsDialog *ui;
+ GUIUtil::TableViewLastColumnResizingFixer *columnResizingFixer;
WalletModel *model;
QMenu *contextMenu;
void copyColumnToClipboard(int column);
+ virtual void resizeEvent(QResizeEvent* event);
private slots:
void on_receiveButton_clicked();
void on_showRequestButton_clicked();
void on_removeRequestButton_clicked();
void on_recentRequestsView_doubleClicked(const QModelIndex &index);
+ void on_recentRequestsView_selectionChanged(const QItemSelection &, const QItemSelection &);
void updateDisplayUnit();
void showMenu(const QPoint &);
void copyLabel();