mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-13 05:12:34 -03:00
37 lines
715 B
C++
37 lines
715 B
C++
#ifndef OPTIONSDIALOG_H
|
|
#define OPTIONSDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
class QStackedWidget;
|
|
class QListWidget;
|
|
class QListWidgetItem;
|
|
class QDataWidgetMapper;
|
|
QT_END_NAMESPACE
|
|
class OptionsModel;
|
|
class MainOptionsPage;
|
|
|
|
class OptionsDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit OptionsDialog(QWidget *parent=0);
|
|
|
|
void setModel(OptionsModel *model);
|
|
|
|
signals:
|
|
|
|
public slots:
|
|
void changePage(QListWidgetItem *current, QListWidgetItem *previous);
|
|
private:
|
|
QListWidget *contents_widget;
|
|
QStackedWidget *pages_widget;
|
|
MainOptionsPage *main_options_page;
|
|
OptionsModel *model;
|
|
QDataWidgetMapper *mapper;
|
|
|
|
void setupMainPage();
|
|
};
|
|
|
|
#endif // OPTIONSDIALOG_H
|