connect(typeWidget, SIGNAL(activated(int)), this, SLOT(chooseType(int)));
connect(addressWidget, SIGNAL(textChanged(const QString&)), this, SLOT(changedPrefix(const QString&)));
connect(amountWidget, SIGNAL(textChanged(const QString&)), this, SLOT(changedAmount(const QString&)));
+
+ connect(view, SIGNAL(doubleClicked(const QModelIndex&)), this, SIGNAL(doubleClicked(const QModelIndex&)));
}
void TransactionView::setModel(TransactionTableModel *model)
class QTableView;
class QComboBox;
class QLineEdit;
+class QModelIndex;
QT_END_NAMESPACE
class TransactionView : public QWidget
QLineEdit *amountWidget;
signals:
+ void doubleClicked(const QModelIndex&);
public slots:
void chooseDate(int idx);