Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsdialog.h
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | |||||
public: | public: | ||||
SendConfirmationDialog(const QString &title, const QString &text, | SendConfirmationDialog(const QString &title, const QString &text, | ||||
const QString &informative_text = "", | const QString &informative_text = "", | ||||
const QString &detailed_text = "", | const QString &detailed_text = "", | ||||
int secDelay = SEND_CONFIRM_DELAY, | int secDelay = SEND_CONFIRM_DELAY, | ||||
const QString &confirmText = "Send", | const QString &confirmText = "Send", | ||||
QWidget *parent = nullptr); | QWidget *parent = nullptr); | ||||
int exec(); | int exec() override; | ||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void countDown(); | void countDown(); | ||||
void updateYesButton(); | void updateYesButton(); | ||||
private: | private: | ||||
QAbstractButton *yesButton; | QAbstractButton *yesButton; | ||||
QTimer countDownTimer; | QTimer countDownTimer; | ||||
int secDelay; | int secDelay; | ||||
QString confirmButtonText; | QString confirmButtonText; | ||||
}; | }; | ||||
#endif // BITCOIN_QT_SENDCOINSDIALOG_H | #endif // BITCOIN_QT_SENDCOINSDIALOG_H |