78c5ca53f6
This doesn't include any of the changes in the darkcoin/v0.10.18.x branch. Those will be brought over into this commit history.
38 lines
651 B
C++
38 lines
651 B
C++
#ifndef DARKSENDCONFIG_H
|
|
#define DARKSENDCONFIG_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class DarksendConfig;
|
|
}
|
|
class WalletModel;
|
|
|
|
/** Multifunctional dialog to ask for passphrases. Used for encryption, unlocking, and changing the passphrase.
|
|
*/
|
|
class DarksendConfig : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
DarksendConfig(QWidget *parent = 0);
|
|
~DarksendConfig();
|
|
|
|
void setModel(WalletModel *model);
|
|
|
|
|
|
private:
|
|
Ui::DarksendConfig *ui;
|
|
WalletModel *model;
|
|
void configure(bool enabled, int coins, int rounds);
|
|
|
|
private slots:
|
|
|
|
void clickBasic();
|
|
void clickHigh();
|
|
void clickMax();
|
|
};
|
|
|
|
#endif // DARKSENDCONFIG_H
|