• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDEUI

kstyle.cpp File Reference

#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/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 "kglobalsettings.h"
#include <QDebug>

Include dependency graph for kstyle.cpp:

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 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 qint32 u_arrow [] = {-1,-3, 0,-3, -2,-2, 1,-2, -3,-1, 2,-1, -4,0, 3,0, -4,1, 3,1}

Define Documentation

#define QCOORDARRLEN ( x   )     sizeof(x)/(sizeof(qint32)*2)

Definition at line 76 of file kstyle.cpp.


Function Documentation

static QStyle::SubControl buttonPortion ( const QRect &  totalRect,
const QPoint &  pt,
const QStyleOption *  opt 
) [static]

Definition at line 3635 of file kstyle.cpp.

static bool preceeds ( const QPoint &  pt,
const QRect &  bound,
const QStyleOption *  opt 
) [static]

Definition at line 3618 of file kstyle.cpp.


Variable Documentation

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]

Definition at line 73 of file kstyle.cpp.

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]

Definition at line 74 of file kstyle.cpp.

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]

Definition at line 75 of file kstyle.cpp.

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]

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 72 of file kstyle.cpp.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal