text: // Copyright (c) 2019 The PIVX developers
  // Distributed under the MIT software license, see the accompanying
  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  
  #ifndef SETTINGSINFORMATIONWIDGET_H
  #define SETTINGSINFORMATIONWIDGET_H
  
  #include <QWidget>
  #include "qt/iqcash/pwidget.h"
  #include "rpcconsole.h"
  
  namespace Ui {
  class SettingsInformationWidget;
  }
  
  class SettingsInformationWidget : public PWidget
  {
      Q_OBJECT
  
  public:
      explicit SettingsInformationWidget(IQCASHGUI* _window, QWidget *parent = nullptr);
      ~SettingsInformationWidget();
  
      void loadClientModel() override;
  
  private Q_SLOTS:
      void setNumConnections(int count);
      void setNumBlocks(int count);
      void setMasternodeCount(const QString& strMasternodes);
      void showEvent(QShowEvent* event) override;
      void hideEvent(QHideEvent* event) override;
  
  public Q_SLOTS:
      void openNetworkMonitor();
  
  private:
      Ui::SettingsInformationWidget *ui;
      RPCConsole *rpcConsole = nullptr;
  };
  
  #endif // SETTINGSINFORMATIONWIDGET_H
  