KDEUI
#include "kstyle.h"#include "kstyle.moc"#include <QtCore/qalgorithms.h>#include <QtCore/QCache>#include <QtCore/QEvent>#include <QtCore/QVariant>#include <QtGui/QAbstractItemView>#include <QtGui/QApplication>#include <QtGui/QDialogButtonBox>#include <QtGui/QFormLayout>#include <QtGui/QIcon>#include <QtGui/QLabel>#include <QtGui/QKeyEvent>#include <QtGui/QPainter>#include <QtGui/QScrollBar>#include <QtGui/QStyleOption>#include <kcomponentdata.h>#include <kglobal.h>#include <kconfiggroup.h>#include <kdebug.h>#include <kicon.h>#include <kiconloader.h>#include "kglobalsettings.h"
Go to the source code of this file.
Defines | |
| #define | QCOORDARRLEN(x) sizeof(x)/(sizeof(qint32)*2) |
Functions | |
| static QStyle::SubControl | buttonPortion (const QRect &totalRect, const QPoint &pt, const QStyleOption *opt) |
| static int | customStyleElement (QStyle::StyleHint type, const QString &element, QWidget *widget) |
| static int | newStyleElement (const QString &element, const char *check, int &counter, QHash< QString, int > *elements) |
| static bool | preceeds (const QPoint &pt, const QRect &bound, const QStyleOption *opt) |
Variables | |
| static const qint32 | d_arrow [] = {-4,-2, 3,-2, -4,-1, 3,-1, -3,0, 2,0, -2,1, 1,1, -1,2, 0,2} |
| static const qint32 | l_arrow [] = {-3,-1, -3,0, -2,-2, -2,1, -1,-3, -1,2, 0,-4, 0,3, 1,-4, 1,3} |
| static const qint32 | r_arrow [] = {-2,-4, -2,3, -1,-4, -1,3, 0,-3, 0,2, 1,-2, 1,1, 2,-1, 2,0} |
| static const QStyle::StyleHint | SH_KCustomStyleElement = (QStyle::StyleHint)0xff000001 |
| static const qint32 | u_arrow [] = {-1,-3, 0,-3, -2,-2, 1,-2, -3,-1, 2,-1, -4,0, 3,0, -4,1, 3,1} |
| static const int | X_KdeBase = 0xff000000 |
Define Documentation
| #define QCOORDARRLEN | ( | x | ) | sizeof(x)/(sizeof(qint32)*2) |
Definition at line 78 of file kstyle.cpp.
Function Documentation
| static QStyle::SubControl buttonPortion | ( | const QRect & | totalRect, |
| const QPoint & | pt, | ||
| const QStyleOption * | opt | ||
| ) | [static] |
Definition at line 4021 of file kstyle.cpp.
| static int customStyleElement | ( | QStyle::StyleHint | type, |
| const QString & | element, | ||
| QWidget * | widget | ||
| ) | [inline, static] |
Definition at line 374 of file kstyle.cpp.
| static int newStyleElement | ( | const QString & | element, |
| const char * | check, | ||
| int & | counter, | ||
| QHash< QString, int > * | elements | ||
| ) | [inline, static] |
Definition at line 331 of file kstyle.cpp.
Definition at line 4004 of file kstyle.cpp.
Variable Documentation
Definition at line 75 of file kstyle.cpp.
Definition at line 76 of file kstyle.cpp.
Definition at line 77 of file kstyle.cpp.
const QStyle::StyleHint SH_KCustomStyleElement = (QStyle::StyleHint)0xff000001 [static] |
Definition at line 101 of file kstyle.cpp.
KStyle for KDE4 Copyright (C) 2004-2005 Maksim Orlovich maksim@kde.org Copyright (C) 2005,2006 Sandro Giessl giessl@kde.org
Based in part on the following software: KStyle for KDE3 Copyright (C) 2001-2002 Karol Szwed gallium@kde.org Portions (C) 1998-2000 TrollTech AS Keramik for KDE3, Copyright (C) 2002 Malte Starostik malte@kde.org (C) 2002-2003 Maksim Orlovich maksim@kde.org Portions (C) 2001-2002 Karol Szwed gallium@kde.org (C) 2001-2002 Fredrik Höglund fredrik@kde.org (C) 2000 Daniel M. Duley mosfet@kde.org (C) 2000 Dirk Mueller mueller@kde.org (C) 2001 Martijn Klingens klingens@kde.org (C) 2003 Sandro Giessl sandro@giessl.com This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
Many thanks to Bradley T. Hughes for the 3 button scrollbar code.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Definition at line 74 of file kstyle.cpp.
const int X_KdeBase = 0xff000000 [static] |
Definition at line 102 of file kstyle.cpp.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 17:58:33 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.