begin integration with bitcoin upstream
This commit is contained in:
47
gui/include/addressbookdialog.h
Normal file
47
gui/include/addressbookdialog.h
Normal file
@@ -0,0 +1,47 @@
|
||||
#ifndef ADDRESSBOOKDIALOG_H
|
||||
#define ADDRESSBOOKDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
namespace Ui {
|
||||
class AddressBookDialog;
|
||||
}
|
||||
class AddressTableModel;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QTableView;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class AddressBookDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit AddressBookDialog(QWidget *parent = 0);
|
||||
~AddressBookDialog();
|
||||
|
||||
enum {
|
||||
SendingTab = 0,
|
||||
ReceivingTab = 1
|
||||
} Tabs;
|
||||
|
||||
void setModel(AddressTableModel *model);
|
||||
void setTab(int tab);
|
||||
const QString &getReturnValue() const { return returnValue; }
|
||||
private:
|
||||
Ui::AddressBookDialog *ui;
|
||||
AddressTableModel *model;
|
||||
QString returnValue;
|
||||
|
||||
QTableView *getCurrentTable();
|
||||
|
||||
private slots:
|
||||
void on_buttonBox_accepted();
|
||||
void on_deleteButton_clicked();
|
||||
void on_tabWidget_currentChanged(int index);
|
||||
void on_newAddressButton_clicked();
|
||||
void on_editButton_clicked();
|
||||
void on_copyToClipboard_clicked();
|
||||
};
|
||||
|
||||
#endif // ADDRESSBOOKDIALOG_H
|
||||
Reference in New Issue
Block a user