QStyle

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QStyle : QObject {}

Constructors

this
this(QStylePrivate dd)
Undocumented in source.
this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

State
alias State = QFlags!(StateFlag)
Undocumented in source.
SubControls
alias SubControls = QFlags!(SubControl)
Undocumented in source.

Enums

ComplexControl
enum ComplexControl
Undocumented in source.
ContentsType
enum ContentsType
Undocumented in source.
ControlElement
enum ControlElement
Undocumented in source.
PixelMetric
enum PixelMetric
Undocumented in source.
PrimitiveElement
enum PrimitiveElement
Undocumented in source.
RequestSoftwareInputPanel
enum RequestSoftwareInputPanel
Undocumented in source.
StandardPixmap
enum StandardPixmap
Undocumented in source.
StyleHint
enum StyleHint
Undocumented in source.
SubControl
enum SubControl
Undocumented in source.
SubElement
enum SubElement
Undocumented in source.

Functions

combinedLayoutSpacing
int combinedLayoutSpacing(QSizePolicy.ControlTypes controls1, QSizePolicy.ControlTypes controls2, qt.core.namespace.Orientation orientation, QStyleOption* option, QWidget widget)
Undocumented in source.
drawComplexControl
void drawComplexControl(ComplexControl cc, const(QStyleOptionComplex)* opt, QPainter* p, const(QWidget) widget)
Undocumented in source.
drawControl
void drawControl(ControlElement element, const(QStyleOption)* opt, QPainter* p, const(QWidget) w)
Undocumented in source.
drawItemPixmap
void drawItemPixmap(QPainter* painter, const(QRect) rect, int alignment, const(QPixmap) pixmap)
Undocumented in source.
drawItemText
void drawItemText(QPainter* painter, const(QRect) rect, int flags, const(QPalette) pal, bool enabled, const(QString) text, QPalette.ColorRole textRole)
Undocumented in source.
drawPrimitive
void drawPrimitive(PrimitiveElement pe, const(QStyleOption)* opt, QPainter* p, const(QWidget) w)
Undocumented in source.
generatedIconPixmap
QPixmap generatedIconPixmap(QIcon.Mode iconMode, const(QPixmap) pixmap, const(QStyleOption)* opt)
Undocumented in source.
hitTestComplexControl
SubControl hitTestComplexControl(ComplexControl cc, const(QStyleOptionComplex)* opt, const(QPoint) pt, const(QWidget) widget)
Undocumented in source.
itemPixmapRect
QRect itemPixmapRect(const(QRect) r, int flags, const(QPixmap) pixmap)
Undocumented in source.
itemTextRect
QRect itemTextRect(const(QFontMetrics) fm, const(QRect) r, int flags, bool enabled, const(QString) text)
Undocumented in source.
layoutSpacing
int layoutSpacing(QSizePolicy.ControlType control1, QSizePolicy.ControlType control2, qt.core.namespace.Orientation orientation, const(QStyleOption)* option, const(QWidget) widget)
Undocumented in source.
pixelMetric
int pixelMetric(PixelMetric metric, const(QStyleOption)* option, const(QWidget) widget)
Undocumented in source.
polish
void polish(QWidget widget)
Undocumented in source.
polish
void polish(QApplication application)
Undocumented in source.
polish
void polish(QPalette palette)
Undocumented in source.
proxy
const(QStyle) proxy()
Undocumented in source.
sizeFromContents
QSize sizeFromContents(ContentsType ct, const(QStyleOption)* opt, const(QSize) contentsSize, const(QWidget) w)
Undocumented in source.
standardIcon
QIcon standardIcon(StandardPixmap standardIcon, const(QStyleOption)* option, const(QWidget) widget)
Undocumented in source.
standardPalette
QPalette standardPalette()
Undocumented in source.
standardPixmap
QPixmap standardPixmap(StandardPixmap standardPixmap, const(QStyleOption)* opt, const(QWidget) widget)
Undocumented in source.
styleHint
int styleHint(StyleHint stylehint, const(QStyleOption)* opt, const(QWidget) widget, QStyleHintReturn* returnData)
Undocumented in source.
subControlRect
QRect subControlRect(ComplexControl cc, const(QStyleOptionComplex)* opt, SubControl sc, const(QWidget) widget)
Undocumented in source.
subElementRect
QRect subElementRect(SubElement subElement, const(QStyleOption)* option, const(QWidget) widget)
Undocumented in source.
unpolish
void unpolish(QWidget widget)
Undocumented in source.
unpolish
void unpolish(QApplication application)
Undocumented in source.

Static functions

alignedRect
QRect alignedRect(qt.core.namespace.LayoutDirection direction, qt.core.namespace.Alignment alignment, const(QSize) size, const(QRect) rectangle)
Undocumented in source.
sliderPositionFromValue
int sliderPositionFromValue(int min, int max, int val, int space, bool upsideDown)
Undocumented in source.
sliderValueFromPosition
int sliderValueFromPosition(int min, int max, int pos, int space, bool upsideDown)
Undocumented in source.
visualAlignment
qt.core.namespace.Alignment visualAlignment(qt.core.namespace.LayoutDirection direction, qt.core.namespace.Alignment alignment)
Undocumented in source.
visualPos
QPoint visualPos(qt.core.namespace.LayoutDirection direction, const(QRect) boundingRect, const(QPoint) logicalPos)
Undocumented in source.
visualRect
QRect visualRect(qt.core.namespace.LayoutDirection direction, const(QRect) boundingRect, const(QRect) logicalRect)
Undocumented in source.

Inherited Members

From QObject

~this
~this()
Undocumented in source.
QSignal
struct QSignal
Undocumented in source.
QSlot
struct QSlot
Undocumented in source.
QInvokable
struct QInvokable
Undocumented in source.
QScriptable
struct QScriptable
Undocumented in source.
Q_OBJECT
enum Q_OBJECT;
Undocumented in source.
Q_OBJECT_D
enum Q_OBJECT_D;
Undocumented in source.
Q_SIGNAL_IMPL_D
enum Q_SIGNAL_IMPL_D;
Undocumented in source.
event
bool event(QEvent event)
Undocumented in source.
eventFilter
bool eventFilter(QObject watched, QEvent event)
Undocumented in source.
tr
QString tr(const(char)* sourceText, const(char)* , int )
Undocumented in source. Be warned that the author may not have intended to support it.
objectName
QString objectName()
Undocumented in source.
setObjectName
void setObjectName(const(QString) name)
Undocumented in source.
setObjectName
void setObjectName(const(char)[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
isWidgetType
bool isWidgetType()
Undocumented in source. Be warned that the author may not have intended to support it.
isWindowType
bool isWindowType()
Undocumented in source. Be warned that the author may not have intended to support it.
signalsBlocked
bool signalsBlocked()
Undocumented in source. Be warned that the author may not have intended to support it.
blockSignals
bool blockSignals(bool b)
Undocumented in source.
thread
QThread thread()
Undocumented in source.
moveToThread
void moveToThread(QThread thread)
Undocumented in source.
startTimer
int startTimer(int interval, qt.core.namespace.TimerType timerType)
Undocumented in source.
killTimer
void killTimer(int id)
Undocumented in source.
children
const(QObjectList) children()
Undocumented in source. Be warned that the author may not have intended to support it.
setParent
void setParent(QObject parent)
Undocumented in source.
installEventFilter
void installEventFilter(QObject filterObj)
Undocumented in source.
removeEventFilter
void removeEventFilter(QObject obj)
Undocumented in source.
connect
QMetaObject.Connection connect(QObject sender, char* signal, QObject receiver, char* member, ConnectionType )
Undocumented in source.
signal
template signal(string name, Params...)
Undocumented in source.
slot
template slot(string name, Params...)
Undocumented in source.
connect
QMetaObject.Connection connect(Signal sender, Dg dg, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QMetaObject.Connection connect(Signal sender, QObject context, Dg dg, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QMetaObject.Connection connect(Signal sender, Slot receiver, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
setProperty
bool setProperty(const(char)* name, const(QVariant) value)
Undocumented in source.
setProperty
bool setProperty(const(char)* name, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
property
QVariant property(const(char)* name)
Undocumented in source.
dynamicPropertyNames
QList!(QByteArray) dynamicPropertyNames()
Undocumented in source.
registerUserData
uint registerUserData()
Undocumented in source.
setUserData
void setUserData(uint id, QObjectUserData data)
Undocumented in source.
userData
QObjectUserData userData(uint id)
Undocumented in source.
destroyed
void destroyed(QObject )
Undocumented in source.
objectNameChanged
void objectNameChanged(const(QString) objectName, QPrivateSignal )
Undocumented in source.
parent
QObject parent()
Undocumented in source. Be warned that the author may not have intended to support it.
inherits
bool inherits(const(char)* classname)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteLater
void deleteLater()
Undocumented in source.
sender
QObject sender()
Undocumented in source.
senderSignalIndex
int senderSignalIndex()
Undocumented in source.
receivers
int receivers(const(char)* signal)
Undocumented in source.
isSignalConnected
bool isSignalConnected(const(QMetaMethod) signal)
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent event)
Undocumented in source.
childEvent
void childEvent(QChildEvent event)
Undocumented in source.
customEvent
void customEvent(QEvent event)
Undocumented in source.
connectNotify
void connectNotify(const(QMetaMethod) signal)
Undocumented in source.
disconnectNotify
void disconnectNotify(const(QMetaMethod) signal)
Undocumented in source.
d_ptr
QScopedPointer!(QObjectData) d_ptr;
Undocumented in source.

Meta