2011-05-12 14:44:52 +02:00
|
|
|
#ifndef MAINOPTIONSPAGE_H
|
|
|
|
#define MAINOPTIONSPAGE_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
2011-05-31 22:24:53 +02:00
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class QDataWidgetMapper;
|
|
|
|
class QCheckBox;
|
|
|
|
class QLineEdit;
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
class OptionsModel;
|
|
|
|
|
2011-05-12 14:44:52 +02:00
|
|
|
class MainOptionsPage : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2011-05-31 22:24:53 +02:00
|
|
|
explicit MainOptionsPage(QWidget *parent=0);
|
|
|
|
|
|
|
|
void setMapper(QDataWidgetMapper *mapper);
|
|
|
|
private:
|
|
|
|
QCheckBox *bitcoin_at_startup;
|
|
|
|
QCheckBox *minimize_to_tray;
|
|
|
|
QCheckBox *map_port_upnp;
|
|
|
|
QCheckBox *minimize_on_close;
|
|
|
|
QCheckBox *connect_socks4;
|
|
|
|
QLineEdit *proxy_ip;
|
|
|
|
QLineEdit *proxy_port;
|
|
|
|
QLineEdit *fee_edit;
|
2011-05-12 14:44:52 +02:00
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MAINOPTIONSPAGE_H
|