Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <appearancewidget.h>

+ Inheritance diagram for AppearanceWidget:
+ Collaboration diagram for AppearanceWidget:

Public Slots

void accept ()
 

Signals

void appearanceChanged ()
 

Public Member Functions

 AppearanceWidget (QWidget *parent=0)
 
 ~AppearanceWidget ()
 
void setModel (OptionsModel *model)
 

Private Slots

void updateTheme (const QString &toTheme=QString())
 
void updateFontFamily (int index)
 
void updateFontScale (int nScale)
 
void updateFontWeightNormal (int nValue, bool fForce=false)
 
void updateFontWeightBold (int nValue, bool fForce=false)
 

Private Member Functions

void updateWeightSlider ()
 

Private Attributes

Ui::AppearanceWidget * ui
 
QDataWidgetMapper * mapper
 
OptionsModelmodel
 
bool fAcceptChanges
 
QString prevTheme
 
int prevScale
 
GUIUtil::FontFamily prevFontFamily
 
QFont::Weight prevWeightNormal
 
QFont::Weight prevWeightBold
 

Detailed Description

Definition at line 22 of file appearancewidget.h.

Constructor & Destructor Documentation

◆ AppearanceWidget()

◆ ~AppearanceWidget()

Member Function Documentation

◆ accept

void AppearanceWidget::accept ( )
slot

Definition at line 101 of file appearancewidget.cpp.

References fAcceptChanges.

Referenced by OptionsDialog::on_okButton_clicked(), and GUIUtil::setupAppearance().

◆ appearanceChanged

void AppearanceWidget::appearanceChanged ( )
signal

◆ setModel()

◆ updateFontFamily

void AppearanceWidget::updateFontFamily ( int  index)
privateslot

◆ updateFontScale

void AppearanceWidget::updateFontScale ( int  nScale)
privateslot

Definition at line 122 of file appearancewidget.cpp.

References GUIUtil::setFontScale().

Referenced by AppearanceWidget().

◆ updateFontWeightBold

void AppearanceWidget::updateFontWeightBold ( int  nValue,
bool  fForce = false 
)
privateslot

◆ updateFontWeightNormal

void AppearanceWidget::updateFontWeightNormal ( int  nValue,
bool  fForce = false 
)
privateslot

◆ updateTheme

void AppearanceWidget::updateTheme ( const QString &  toTheme = QString())
privateslot

Definition at line 106 of file appearancewidget.cpp.

References GUIUtil::getActiveTheme(), GUIUtil::loadTheme(), and ui.

Referenced by AppearanceWidget(), and ~AppearanceWidget().

◆ updateWeightSlider()

void AppearanceWidget::updateWeightSlider ( )
private

Member Data Documentation

◆ fAcceptChanges

bool AppearanceWidget::fAcceptChanges
private

Definition at line 49 of file appearancewidget.h.

Referenced by accept(), and ~AppearanceWidget().

◆ mapper

QDataWidgetMapper* AppearanceWidget::mapper
private

Definition at line 47 of file appearancewidget.h.

Referenced by AppearanceWidget(), setModel(), and ~AppearanceWidget().

◆ model

OptionsModel* AppearanceWidget::model
private

Definition at line 48 of file appearancewidget.h.

Referenced by setModel().

◆ prevFontFamily

GUIUtil::FontFamily AppearanceWidget::prevFontFamily
private

Definition at line 52 of file appearancewidget.h.

Referenced by ~AppearanceWidget().

◆ prevScale

int AppearanceWidget::prevScale
private

Definition at line 51 of file appearancewidget.h.

Referenced by ~AppearanceWidget().

◆ prevTheme

QString AppearanceWidget::prevTheme
private

Definition at line 50 of file appearancewidget.h.

Referenced by ~AppearanceWidget().

◆ prevWeightBold

QFont::Weight AppearanceWidget::prevWeightBold
private

Definition at line 54 of file appearancewidget.h.

Referenced by ~AppearanceWidget().

◆ prevWeightNormal

QFont::Weight AppearanceWidget::prevWeightNormal
private

Definition at line 53 of file appearancewidget.h.

Referenced by ~AppearanceWidget().

◆ ui

Ui::AppearanceWidget* AppearanceWidget::ui
private

The documentation for this class was generated from the following files:
Released under the MIT license