Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qttreepropertybrowser.cpp File Reference

(4d510b3a5cd248b9b2450858d94b2f026f22bcff)

#include "qttreepropertybrowser_p.h"
#include "qtpropertybrowserutils_p.h"
#include <QtWidgets/qapplication.h>
#include <QtWidgets/qboxlayout.h>
#include <QtWidgets/qheaderview.h>
#include <QtWidgets/qstyle.h>
#include <QtWidgets/qstyleditemdelegate.h>
#include <QtWidgets/qtreewidget.h>
#include <QtGui/qevent.h>
#include <QtGui/qicon.h>
#include <QtGui/qpainter.h>
#include <QtGui/qpalette.h>
#include <QtGui/qstylehints.h>
#include <QtCore/qhash.h>
#include <QtCore/qoperatingsystemversion.h>
#include "moc_qttreepropertybrowser_p.cpp"
#include "qttreepropertybrowser.moc"
Include dependency graph for qttreepropertybrowser.cpp:

Go to the source code of this file.

Classes

class  QtTreePropertyBrowserPrivate
class  QtPropertyEditorView
class  QtPropertyEditorDelegate

Functions

static bool isLightTheme ()
static QIcon drawIndicatorIcon (const QPalette &palette, QStyle *style)

Variables

static constexpr bool isWindows = QOperatingSystemVersion::currentType() == QOperatingSystemVersion::Windows

Function Documentation

◆ drawIndicatorIcon()

QIcon drawIndicatorIcon ( const QPalette & palette,
QStyle * style )
static

Definition at line 372 of file qttreepropertybrowser.cpp.

◆ isLightTheme()

bool isLightTheme ( )
inlinestatic

Definition at line 29 of file qttreepropertybrowser.cpp.

Referenced by QtPropertyEditorDelegate::paint().

Here is the caller graph for this function:

Variable Documentation

◆ isWindows

constexpr bool isWindows = QOperatingSystemVersion::currentType() == QOperatingSystemVersion::Windows
staticconstexpr

Definition at line 27 of file qttreepropertybrowser.cpp.

Referenced by QtPropertyEditorDelegate::paint().