text: // Copyright (c) 2019 The PIVX developers
  // Copyright (c) 2021 The GLOBALSMARTASSET Core Developers
  // Distributed under the MIT software license, see the accompanying
  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  
  #ifndef SETTINGSMAINOPTIONSWIDGET_H
  #define SETTINGSMAINOPTIONSWIDGET_H
  
  #include "qt/gsa/pwidget.h"
  
  #include <QWidget>
  
  QT_BEGIN_NAMESPACE
  class QDataWidgetMapper;
  QT_END_NAMESPACE
  
  namespace Ui {
  class SettingsMainOptionsWidget;
  }
  
  class SettingsMainOptionsWidget : public PWidget
  {
      Q_OBJECT
  
  public:
      explicit SettingsMainOptionsWidget(PIVXGUI* _window, QWidget *parent = nullptr);
      ~SettingsMainOptionsWidget();
  
      void setMapper(QDataWidgetMapper *mapper);
  
  Q_SIGNALS:
      void saveSettings();
      void discardSettings();
  
  public Q_SLOTS:
      void onResetClicked();
  
  private:
      Ui::SettingsMainOptionsWidget *ui;
  };
  
  #endif // SETTINGSMAINOPTIONSWIDGET_H
  