Guitar
Classes | Macros | Enumerations | Functions
DarkStyle.cpp File Reference
#include "DarkStyle.h"
#include "NinePatch.h"
#include "TraditionalWindowsStyleTreeControl.h"
#include <QApplication>
#include <QBitmap>
#include <QComboBox>
#include <QDialogButtonBox>
#include <QDockWidget>
#include <QInputDialog>
#include <QMessageBox>
#include <QPainterPath>
#include <QPalette>
#include <QProgressBar>
#include <QSvgRenderer>
#include <QTableWidget>
#include "darkstylehelper.i"
Include dependency graph for DarkStyle.cpp:

Classes

struct  DarkStyle::Private
 

Macros

#define THEME   Theme::Dark
 
#define MBI_NORMAL   1
 
#define MBI_HOT   2
 
#define MBI_PUSHED   3
 
#define MBI_DISABLED   4
 
#define EP_EDITBORDER_NOSCROLL   6
 
#define EP_EDITBORDER_HVSCROLL   9
 

Enumerations

enum  { menuItemHMargin = 3 , menuArrowHMargin = 6 , menuRightBorder = 15 , menuCheckMarkWidth = 12 }
 

Functions

static void correctImage (QImage *image, bool ninepatch, int bias, int lower, int upper, float gamma=1.0f)
 
static void correctImage (ButtonImages *images, bool ninepatch, int bias, int lower, int upper, float gamma=1.0f)
 

Macro Definition Documentation

◆ EP_EDITBORDER_HVSCROLL

#define EP_EDITBORDER_HVSCROLL   9

◆ EP_EDITBORDER_NOSCROLL

#define EP_EDITBORDER_NOSCROLL   6

◆ MBI_DISABLED

#define MBI_DISABLED   4

◆ MBI_HOT

#define MBI_HOT   2

◆ MBI_NORMAL

#define MBI_NORMAL   1

◆ MBI_PUSHED

#define MBI_PUSHED   3

◆ THEME

#define THEME   Theme::Dark

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
menuItemHMargin 
menuArrowHMargin 
menuRightBorder 
menuCheckMarkWidth 

Function Documentation

◆ correctImage() [1/2]

static void correctImage ( ButtonImages images,
bool  ninepatch,
int  bias,
int  lower,
int  upper,
float  gamma = 1.0f 
)
static
Here is the call graph for this function:

◆ correctImage() [2/2]

static void correctImage ( QImage *  image,
bool  ninepatch,
int  bias,
int  lower,
int  upper,
float  gamma = 1.0f 
)
static