#include <style.h>
 | 
| enum   | ColorPalette {  
  TransferGood, 
TransferWait, 
TransferBad, 
TransferMiddle, 
 
  MainText, 
NameActive, 
StatusActive, 
GroundExtra, 
 
  GroundBase, 
Orange, 
Yellow, 
ThemeDark, 
 
  ThemeMediumDark, 
ThemeMedium, 
ThemeLight, 
Action, 
 
  Link, 
SearchHighlighted, 
SelectText
 
 } | 
|   | 
| enum   | Font {  
  ExtraBig, 
Big, 
BigBold, 
Medium, 
 
  MediumBold, 
Small, 
SmallLight
 
 } | 
|   | 
| enum   | MainTheme { Light, 
Dark
 } | 
|   | 
Definition at line 28 of file style.h.
 
◆ ColorPalette
| Enumerator | 
|---|
| TransferGood  |  | 
| TransferWait  |  | 
| TransferBad  |  | 
| TransferMiddle  |  | 
| MainText  |  | 
| NameActive  |  | 
| StatusActive  |  | 
| GroundExtra  |  | 
| GroundBase  |  | 
| Orange  |  | 
| Yellow  |  | 
| ThemeDark  |  | 
| ThemeMediumDark  |  | 
| ThemeMedium  |  | 
| ThemeLight  |  | 
| Action  |  | 
| Link  |  | 
| SearchHighlighted  |  | 
| SelectText  |  | 
Definition at line 31 of file style.h.
 
 
◆ Font
| Enumerator | 
|---|
| ExtraBig  |  | 
| Big  |  | 
| BigBold  |  | 
| Medium  |  | 
| MediumBold  |  | 
| Small  |  | 
| SmallLight  |  | 
Definition at line 54 of file style.h.
 
 
◆ MainTheme
◆ Style()
◆ applyTheme()
  
  
      
        
          | void Style::applyTheme  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ getColor()
◆ getFont()
◆ getImagePath()
  
  
      
        
          | const QString Style::getImagePath  | 
          ( | 
          const QString &  | 
          filename | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ getStylesheet()
  
  
      
        
          | const QString Style::getStylesheet  | 
          ( | 
          const QString &  | 
          filename,  | 
         
        
           | 
           | 
          const QFont &  | 
          baseFont = QFont()  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ getThemeColorNames()
  
  
      
        
          | QStringList Style::getThemeColorNames  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ getThemeFolder()
  
  
      
        
          | QString Style::getThemeFolder  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ getThemeName()
  
  
      
        
          | QString Style::getThemeName  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ getThemePath()
  
  
      
        
          | QString Style::getThemePath  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ initDictColor()
  
  
      
        
          | void Style::initDictColor  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ initPalette()
  
  
      
        
          | void Style::initPalette  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ repolish()
  
  
      
        
          | void Style::repolish  | 
          ( | 
          QWidget *  | 
          w | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ resolve()
  
  
      
        
          | const QString Style::resolve  | 
          ( | 
          const QString &  | 
          filename,  | 
         
        
           | 
           | 
          const QFont &  | 
          baseFont = QFont()  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ scaleSvgImage()
  
  
      
        
          | QPixmap Style::scaleSvgImage  | 
          ( | 
          const QString &  | 
          path,  | 
         
        
           | 
           | 
          uint32_t  | 
          width,  | 
         
        
           | 
           | 
          uint32_t  | 
          height  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ setThemeColor() [1/2]
  
  
      
        
          | void Style::setThemeColor  | 
          ( | 
          const QColor &  | 
          color | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Set theme color. 
- Parameters
 - 
  
  
 
Pass an invalid QColor to reset to defaults. 
Definition at line 352 of file style.cpp.
 
 
◆ setThemeColor() [2/2]
  
  
      
        
          | void Style::setThemeColor  | 
          ( | 
          int  | 
          color | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ themeChanged
  
  
      
        
          | void Style::themeChanged  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
 
The documentation for this class was generated from the following files: