#include "qgtkstyle.h"
#include <private/qapplication_p.h>
#include <QtCore/QLibrary>
#include <QtCore/QSettings>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QStatusBar>
#include <QtGui/QLineEdit>
#include <QtGui/QWidget>
#include <QtGui/QListView>
#include <QtGui/QApplication>
#include <QtGui/QStyleOption>
#include <QtGui/QPushButton>
#include <QtGui/QPainter>
#include <QtGui/QMainWindow>
#include <QtGui/QToolBar>
#include <QtGui/QHeaderView>
#include <QtGui/QMenuBar>
#include <QtGui/QComboBox>
#include <QtGui/QSpinBox>
#include <QtGui/QScrollBar>
#include <QtGui/QAbstractButton>
#include <QtGui/QToolButton>
#include <QtGui/QGroupBox>
#include <QtGui/QRadioButton>
#include <QtGui/QCheckBox>
#include <QtGui/QTreeView>
#include <QtGui/QStyledItemDelegate>
#include <qpixmapcache.h>
#include <private/qgtkpainter_p.h>
#include <private/qstylehelper_p.h>
#include <private/qgtkstyle_p.h>
#include <private/qcleanlooksstyle_p.h>
Go to the source code of this file.
◆ fromQColor()
| static GdkColor fromQColor |
( |
const QColor & |
color | ) |
|
|
static |
Definition at line 159 of file qgtkstyle.cpp.
Referenced by QGtkStyle::drawPrimitive().
162 retval.red = color.
red() * 255;
163 retval.green = color.
green() * 255;
164 retval.blue = color.
blue() * 255;
ushort red
Returns the red color component of this color.
ushort blue
Returns the blue color component of this color.
ushort green
Returns the green color component of this color.
◆ mergedColors()
| static QColor mergedColors |
( |
const QColor & |
colorA, |
|
|
const QColor & |
colorB, |
|
|
int |
factor = 50 |
|
) |
| |
|
static |
Definition at line 149 of file qgtkstyle.cpp.
Referenced by QGtkStyle::drawComplexControl(), and QGtkStyle::drawControl().
151 const int maxFactor = 100;
153 tmp.
setRed((tmp.
red() * factor) / maxFactor + (colorB.
red() * (maxFactor - factor)) / maxFactor);
154 tmp.
setGreen((tmp.
green() * factor) / maxFactor + (colorB.
green() * (maxFactor - factor)) / maxFactor);
155 tmp.
setBlue((tmp.
blue() * factor) / maxFactor + (colorB.
blue() * (maxFactor - factor)) / maxFactor);
void setRed(int red)
Sets the red color component of this color to red.
The QColor class provides colors based on RGB, HSV or CMYK values.
void setGreen(int green)
Sets the green color component of this color to green.
ushort red
Returns the red color component of this color.
void setBlue(int blue)
Sets the blue color component of this color to blue.
ushort blue
Returns the blue color component of this color.
ushort green
Returns the green color component of this color.
◆ dock_widget_close_xpm
| const char* const dock_widget_close_xpm[] |
|
static |
Initial value:=
{
"11 13 5 1",
" c None",
". c #D5CFCB",
"+ c #6C6A67",
"@ c #6C6A67",
"$ c #B5B0AC",
" ",
" @@@@@@@@@ ",
"@+ +@",
"@ +@ @+ @",
"@ @@@ @@@ @",
"@ @@@@@ @",
"@ @@@ @",
"@ @@@@@ @",
"@ @@@ @@@ @",
"@ +@ @+ @",
"@+ +@",
" @@@@@@@@@ ",
" "
}
Definition at line 81 of file qgtkstyle.cpp.
Referenced by QGtkStyle::standardPixmap().
◆ dock_widget_restore_xpm
| const char* const dock_widget_restore_xpm[] |
|
static |
Initial value:=
{
"11 13 5 1",
" c None",
". c #D5CFCB",
"+ c #6C6A67",
"@ c #6C6A67",
"# c #6C6A67",
" ",
" @@@@@@@@@ ",
"@+ +@",
"@ #@@@# @",
"@ @ @ @",
"@ #@@@# @ @",
"@ @ @ @ @",
"@ @ @@@ @",
"@ @ @ @",
"@ #@@@@ @",
"@+ +@",
" @@@@@@@@@ ",
" "
}
Definition at line 104 of file qgtkstyle.cpp.
Referenced by QGtkStyle::standardPixmap().
◆ groupBoxBottomMargin
| const int groupBoxBottomMargin = 2 |
|
static |
◆ groupBoxTitleMargin
| const int groupBoxTitleMargin = 6 |
|
static |
◆ groupBoxTopMargin
| const int groupBoxTopMargin = 2 |
|
static |