Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsdialog.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
Q_SIGNALS: | Q_SIGNALS: | ||||
void coinsSent(const uint256 &txid); | void coinsSent(const uint256 &txid); | ||||
private: | private: | ||||
Ui::SendCoinsDialog *ui; | Ui::SendCoinsDialog *ui; | ||||
ClientModel *clientModel; | ClientModel *clientModel; | ||||
WalletModel *model; | WalletModel *model; | ||||
std::unique_ptr<WalletModelTransaction> m_current_transaction; | |||||
bool fNewRecipientAllowed; | bool fNewRecipientAllowed; | ||||
bool fFeeMinimized; | bool fFeeMinimized; | ||||
const PlatformStyle *platformStyle; | const PlatformStyle *platformStyle; | ||||
// Process WalletModel::SendCoinsReturn and generate a pair consisting of a | // Process WalletModel::SendCoinsReturn and generate a pair consisting of a | ||||
// message and message flags for use in Q_EMIT message(). | // message and message flags for use in Q_EMIT message(). | ||||
// Additional parameter msgArg can be used via .arg(msgArg). | // Additional parameter msgArg can be used via .arg(msgArg). | ||||
void | void | ||||
processSendCoinsReturn(const WalletModel::SendCoinsReturn &sendCoinsReturn, | processSendCoinsReturn(const WalletModel::SendCoinsReturn &sendCoinsReturn, | ||||
const QString &msgArg = QString()); | const QString &msgArg = QString()); | ||||
void minimizeFeeSection(bool fMinimize); | void minimizeFeeSection(bool fMinimize); | ||||
// Format confirmation message | |||||
bool PrepareSendText(QString &question_string, QString &informative_text, | |||||
QString &detailed_text); | |||||
void updateFeeMinimizedLabel(); | void updateFeeMinimizedLabel(); | ||||
// Update the passed in CCoinControl with state from the GUI | // Update the passed in CCoinControl with state from the GUI | ||||
void updateCoinControlState(CCoinControl &ctrl); | void updateCoinControlState(CCoinControl &ctrl); | ||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void on_sendButton_clicked(); | void on_sendButton_clicked(); | ||||
void on_buttonChooseFee_clicked(); | void on_buttonChooseFee_clicked(); | ||||
void on_buttonMinimizeFee_clicked(); | void on_buttonMinimizeFee_clicked(); | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |