PIVX Core  5.6.99
P2P Digital Currency
Public Types | Public Slots | Public Member Functions | Private Slots | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SettingsFaqWidget Class Reference

#include <faqwidget.h>

Inheritance diagram for SettingsFaqWidget:
[legend]
Collaboration diagram for SettingsFaqWidget:
[legend]

Public Types

enum  Section {
  INTRO , UNSPENDABLE , STAKE , SUPPORT ,
  MASTERNODE , MNCONTROLLER
}
 

Public Slots

void windowResizeEvent (QResizeEvent *event)
 
void setSection (Section _section)
 

Public Member Functions

 SettingsFaqWidget (PIVXGUI *parent, MNModel *_model)
 
 ~SettingsFaqWidget ()
 
void showEvent (QShowEvent *event) override
 

Private Slots

void onFaqClicked (const QWidget *const widget)
 

Private Member Functions

std::vector< QPushButton * > getButtons ()
 

Static Private Member Functions

static QString formatFAQContent (const QString &str)
 
static QString formatFAQParagraph (const QString &str)
 
static QString formatFAQOrderedList (const QString &str)
 
static QString formatFAQUnorderedList (const QString &str)
 
static QString formatFAQListItem (const QString &str)
 

Private Attributes

Ui::SettingsFaqWidget * ui
 
Section section = INTRO
 

Detailed Description

Definition at line 17 of file faqwidget.h.

Member Enumeration Documentation

◆ Section

Enumerator
INTRO 
UNSPENDABLE 
STAKE 
SUPPORT 
MASTERNODE 
MNCONTROLLER 

Definition at line 21 of file faqwidget.h.

Constructor & Destructor Documentation

◆ SettingsFaqWidget()

SettingsFaqWidget::SettingsFaqWidget ( PIVXGUI parent,
MNModel _model 
)
explicit

Definition at line 18 of file faqwidget.cpp.

Here is the call graph for this function:

◆ ~SettingsFaqWidget()

SettingsFaqWidget::~SettingsFaqWidget ( )

Definition at line 220 of file faqwidget.cpp.

Member Function Documentation

◆ formatFAQContent()

static QString SettingsFaqWidget::formatFAQContent ( const QString &  str)
inlinestaticprivate

Definition at line 48 of file faqwidget.h.

Here is the caller graph for this function:

◆ formatFAQListItem()

static QString SettingsFaqWidget::formatFAQListItem ( const QString &  str)
inlinestaticprivate

Definition at line 68 of file faqwidget.h.

Here is the caller graph for this function:

◆ formatFAQOrderedList()

static QString SettingsFaqWidget::formatFAQOrderedList ( const QString &  str)
inlinestaticprivate

Definition at line 58 of file faqwidget.h.

Here is the caller graph for this function:

◆ formatFAQParagraph()

static QString SettingsFaqWidget::formatFAQParagraph ( const QString &  str)
inlinestaticprivate

Definition at line 53 of file faqwidget.h.

Here is the caller graph for this function:

◆ formatFAQUnorderedList()

static QString SettingsFaqWidget::formatFAQUnorderedList ( const QString &  str)
inlinestaticprivate

Definition at line 63 of file faqwidget.h.

Here is the caller graph for this function:

◆ getButtons()

std::vector< QPushButton * > SettingsFaqWidget::getButtons ( )
private

Definition at line 208 of file faqwidget.cpp.

Here is the caller graph for this function:

◆ onFaqClicked

void SettingsFaqWidget::onFaqClicked ( const QWidget *const  widget)
privateslot

Definition at line 196 of file faqwidget.cpp.

◆ setSection

void SettingsFaqWidget::setSection ( Section  _section)
slot

Definition at line 191 of file faqwidget.cpp.

Here is the caller graph for this function:

◆ showEvent()

void SettingsFaqWidget::showEvent ( QShowEvent *  event)
override

Definition at line 184 of file faqwidget.cpp.

Here is the call graph for this function:

◆ windowResizeEvent

void SettingsFaqWidget::windowResizeEvent ( QResizeEvent *  event)
slot

Definition at line 201 of file faqwidget.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ section

Section SettingsFaqWidget::section = INTRO
private

Definition at line 42 of file faqwidget.h.

◆ ui

Ui::SettingsFaqWidget* SettingsFaqWidget::ui
private

Definition at line 41 of file faqwidget.h.


The documentation for this class was generated from the following files: