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
QQStyleKitControls Class Reference

#include <qqstylekitcontrols_p.h>

Inheritance diagram for QQStyleKitControls:
Collaboration diagram for QQStyleKitControls:

Signals

void dataChanged ()
void applicationWindowChanged ()
void abstractButtonChanged ()
void controlChanged ()
void buttonChanged ()
void checkBoxChanged ()
void comboBoxChanged ()
void flatButtonChanged ()
void progressBarChanged ()
void scrollBarChanged ()
void scrollIndicatorChanged ()
void scrollViewChanged ()
void sliderChanged ()
void spinBoxChanged ()
void tabBarChanged ()
void tabButtonChanged ()
void textFieldChanged ()
void textInputChanged ()
void toolBarChanged ()
void toolButtonChanged ()
void toolSeparatorChanged ()
void switchControlChanged ()
void radioButtonChanged ()
void itemDelegateChanged ()
void popupChanged ()
void paneChanged ()
void pageChanged ()
void frameChanged ()
void labelChanged ()
void groupBoxChanged ()
void textAreaChanged ()
Signals inherited from QObject
void destroyed (QObject *=nullptr)
 This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked.
void objectNameChanged (const QString &objectName, QPrivateSignal)
 This signal is emitted after the object's name has been changed.

Public Member Functions

 QQStyleKitControls (QObject *parent=nullptr)
Q_INVOKABLE QQStyleKitControlgetControl (QQStyleKitExtendableControlType controlType) const
QList< QQStyleKitVariation * > variations () const
QQmlListProperty< QObjectdata ()
const QList< QObject * > children () const
Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 Constructs an object with parent object parent.
virtual ~QObject ()
 Destroys the object, deleting all its child objects.
virtual bool event (QEvent *event)
 This virtual function receives events to an object and should return true if the event e was recognized and processed.
virtual bool eventFilter (QObject *watched, QEvent *event)
 Filters events if this object has been installed as an event filter for the watched object.
QString objectName () const
Q_WEAK_OVERLOAD void setObjectName (const QString &name)
 Sets the object's name to name.
void setObjectName (QAnyStringView name)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
QBindable< QStringbindableObjectName ()
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false.
bool isWindowType () const
 Returns true if the object is a window; otherwise returns false.
bool isQuickItemType () const
 Returns true if the object is a QQuickItem; otherwise returns false.
bool isQmlObjectType () const
 Returns whether the object has been created by the QML engine or ownership has been explicitly set via QJSEngine::setObjectOwnership().
bool signalsBlocked () const noexcept
 Returns true if signals are blocked; otherwise returns false.
bool blockSignals (bool b) noexcept
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it).
QThreadthread () const
 Returns the thread in which the object lives.
bool moveToThread (QThread *thread QT6_DECL_NEW_OVERLOAD_TAIL)
 Changes the thread affinity for this object and its children and returns true on success.
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds.
int startTimer (std::chrono::nanoseconds time, Qt::TimerType timerType=Qt::CoarseTimer)
void killTimer (int id)
 Kills the timer with timer identifier, id.
void killTimer (Qt::TimerId id)
template<typename T>
findChild (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object.
template<typename T>
QList< T > findChildren (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects.
template<typename T>
findChild (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<typename T>
QList< T > findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
const QObjectListchildren () const
 Returns a list of child objects.
void setParent (QObject *parent)
 Makes the object a child of parent.
void installEventFilter (QObject *filterObj)
 Installs an event filter filterObj on this object.
void removeEventFilter (QObject *obj)
 Removes an event filter object obj from this object.
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const
bool disconnect (const QObject *receiver, const char *member=nullptr) const
void dumpObjectTree () const
 Dumps a tree of children to the debug output.
void dumpObjectInfo () const
 Dumps information about signal connections, etc.
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value.
bool setProperty (const char *name, QVariant &&value)
QVariant property (const char *name) const
 Returns the value of the object's name property.
QList< QByteArraydynamicPropertyNames () const
QBindingStoragebindingStorage ()
const QBindingStoragebindingStorage () const
QObjectparent () const
 Returns a pointer to the parent object.
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false.
Public Member Functions inherited from QQmlParserStatus
 QQmlParserStatus ()
virtual ~QQmlParserStatus ()

Protected Member Functions

void classBegin () override
 Invoked after class creation, but before any properties have been set.
void componentComplete () override
 Invoked after the root component that caused this instantiation has completed construction.
Protected Member Functions inherited from QObject
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr.
int senderSignalIndex () const
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal.
bool isSignalConnected (const QMetaMethod &signal) const
virtual void timerEvent (QTimerEvent *event)
 This event handler can be reimplemented in a subclass to receive timer events for the object.
virtual void childEvent (QChildEvent *event)
 This event handler can be reimplemented in a subclass to receive child events.
virtual void customEvent (QEvent *event)
 This event handler can be reimplemented in a subclass to receive custom events.
virtual void connectNotify (const QMetaMethod &signal)
virtual void disconnectNotify (const QMetaMethod &signal)
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)

Properties

QQStyleKitControlabstractButton
QQStyleKitControlapplicationWindow
QQStyleKitControlcontrol
QQStyleKitControlbutton
QQStyleKitControlcheckBox
QQStyleKitControlcomboBox
QQStyleKitControlflatButton
QQStyleKitControlprogressBar
QQStyleKitControlscrollBar
QQStyleKitControlscrollIndicator
QQStyleKitControlscrollView
QQStyleKitControlslider
QQStyleKitControlspinBox
QQStyleKitControltabBar
QQStyleKitControltabButton
QQStyleKitControltextField
QQStyleKitControltextInput
QQStyleKitControltoolBar
QQStyleKitControltoolButton
QQStyleKitControltoolSeparator
QQStyleKitControlswitchControl
QQStyleKitControlradioButton
QQStyleKitControlitemDelegate
QQStyleKitControlpopup
QQStyleKitControlpane
QQStyleKitControlpage
QQStyleKitControlframe
QQStyleKitControllabel
QQStyleKitControlgroupBox
QQStyleKitControltextArea
QQmlListProperty< QObjectdata
Properties inherited from QObject
QString objectName
 the name of this object

Friends

class QQStyleKitPropertyResolver
class QQStyleKitControl

Additional Inherited Members

Public Slots inherited from QObject
void deleteLater ()
 \threadsafe
Static Public Member Functions inherited from QObject
static QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 \threadsafe
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
template<typename Func1, typename Func2>
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType type=Qt::AutoConnection)
template<typename Func1, typename Func2>
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot)
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 \threadsafe
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
static bool disconnect (const QMetaObject::Connection &)
 Disconnect a connection.
template<typename Func1, typename Func2>
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot)
template<typename Func1>
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero)
Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr

Detailed Description

Definition at line 29 of file qqstylekitcontrols_p.h.

Constructor & Destructor Documentation

◆ QQStyleKitControls()

QQStyleKitControls::QQStyleKitControls ( QObject * parent = nullptr)

Definition at line 13 of file qqstylekitcontrols.cpp.

Member Function Documentation

◆ abstractButtonChanged

void QQStyleKitControls::abstractButtonChanged ( )
signal

◆ applicationWindowChanged

void QQStyleKitControls::applicationWindowChanged ( )
signal

◆ buttonChanged

void QQStyleKitControls::buttonChanged ( )
signal

◆ checkBoxChanged

void QQStyleKitControls::checkBoxChanged ( )
signal

◆ children()

const QList< QObject * > QQStyleKitControls::children ( ) const

Definition at line 23 of file qqstylekitcontrols.cpp.

◆ classBegin()

void QQStyleKitControls::classBegin ( )
inlineoverrideprotectedvirtual

Invoked after class creation, but before any properties have been set.

Implements QQmlParserStatus.

Definition at line 151 of file qqstylekitcontrols_p.h.

◆ comboBoxChanged

void QQStyleKitControls::comboBoxChanged ( )
signal

◆ componentComplete()

void QQStyleKitControls::componentComplete ( )
overrideprotectedvirtual

Invoked after the root component that caused this instantiation has completed construction.

At this point all static values and binding values have been assigned to the class.

Implements QQmlParserStatus.

Reimplemented in QQStyleKitStyle, and QQStyleKitTheme.

Definition at line 101 of file qqstylekitcontrols.cpp.

Referenced by QQStyleKitStyle::componentComplete(), and QQStyleKitTheme::componentComplete().

Here is the caller graph for this function:

◆ controlChanged

void QQStyleKitControls::controlChanged ( )
signal

◆ data()

QQmlListProperty< QObject > QQStyleKitControls::data ( )

◆ dataChanged

void QQStyleKitControls::dataChanged ( )
signal

◆ flatButtonChanged

void QQStyleKitControls::flatButtonChanged ( )
signal

◆ frameChanged

void QQStyleKitControls::frameChanged ( )
signal

◆ getControl()

QQStyleKitControl * QQStyleKitControls::getControl ( QQStyleKitExtendableControlType controlType) const

Definition at line 34 of file qqstylekitcontrols.cpp.

◆ groupBoxChanged

void QQStyleKitControls::groupBoxChanged ( )
signal

◆ itemDelegateChanged

void QQStyleKitControls::itemDelegateChanged ( )
signal

◆ labelChanged

void QQStyleKitControls::labelChanged ( )
signal

◆ pageChanged

void QQStyleKitControls::pageChanged ( )
signal

◆ paneChanged

void QQStyleKitControls::paneChanged ( )
signal

◆ popupChanged

void QQStyleKitControls::popupChanged ( )
signal

◆ progressBarChanged

void QQStyleKitControls::progressBarChanged ( )
signal

◆ radioButtonChanged

void QQStyleKitControls::radioButtonChanged ( )
signal

◆ scrollBarChanged

void QQStyleKitControls::scrollBarChanged ( )
signal

◆ scrollIndicatorChanged

void QQStyleKitControls::scrollIndicatorChanged ( )
signal

◆ scrollViewChanged

void QQStyleKitControls::scrollViewChanged ( )
signal

◆ sliderChanged

void QQStyleKitControls::sliderChanged ( )
signal

◆ spinBoxChanged

void QQStyleKitControls::spinBoxChanged ( )
signal

◆ switchControlChanged

void QQStyleKitControls::switchControlChanged ( )
signal

◆ tabBarChanged

void QQStyleKitControls::tabBarChanged ( )
signal

◆ tabButtonChanged

void QQStyleKitControls::tabButtonChanged ( )
signal

◆ textAreaChanged

void QQStyleKitControls::textAreaChanged ( )
signal

◆ textFieldChanged

void QQStyleKitControls::textFieldChanged ( )
signal

◆ textInputChanged

void QQStyleKitControls::textInputChanged ( )
signal

◆ toolBarChanged

void QQStyleKitControls::toolBarChanged ( )
signal

◆ toolButtonChanged

void QQStyleKitControls::toolButtonChanged ( )
signal

◆ toolSeparatorChanged

void QQStyleKitControls::toolSeparatorChanged ( )
signal

◆ variations()

QList< QQStyleKitVariation * > QQStyleKitControls::variations ( ) const

Definition at line 42 of file qqstylekitcontrols.cpp.

◆ QQStyleKitControl

friend class QQStyleKitControl
friend

Definition at line 162 of file qqstylekitcontrols_p.h.

◆ QQStyleKitPropertyResolver

friend class QQStyleKitPropertyResolver
friend

Definition at line 161 of file qqstylekitcontrols_p.h.

Property Documentation

◆ abstractButton

QQStyleKitControl * QQStyleKitControls::abstractButton
readwrite

Definition at line 34 of file qqstylekitcontrols_p.h.

◆ applicationWindow

QQStyleKitControl * QQStyleKitControls::applicationWindow
readwrite

Definition at line 35 of file qqstylekitcontrols_p.h.

◆ button

QQStyleKitControl * QQStyleKitControls::button
readwrite

Definition at line 37 of file qqstylekitcontrols_p.h.

◆ checkBox

QQStyleKitControl * QQStyleKitControls::checkBox
readwrite

Definition at line 38 of file qqstylekitcontrols_p.h.

◆ comboBox

QQStyleKitControl * QQStyleKitControls::comboBox
readwrite

Definition at line 39 of file qqstylekitcontrols_p.h.

◆ control

QQStyleKitControl * QQStyleKitControls::control
readwrite

Definition at line 36 of file qqstylekitcontrols_p.h.

◆ data

QQmlListProperty< QObject > QQStyleKitControls::data
read

Definition at line 67 of file qqstylekitcontrols_p.h.

◆ flatButton

QQStyleKitControl * QQStyleKitControls::flatButton
readwrite

Definition at line 40 of file qqstylekitcontrols_p.h.

◆ frame

QQStyleKitControl * QQStyleKitControls::frame
readwrite

Definition at line 60 of file qqstylekitcontrols_p.h.

◆ groupBox

QQStyleKitControl * QQStyleKitControls::groupBox
readwrite

Definition at line 62 of file qqstylekitcontrols_p.h.

◆ itemDelegate

QQStyleKitControl * QQStyleKitControls::itemDelegate
readwrite

Definition at line 56 of file qqstylekitcontrols_p.h.

◆ label

QQStyleKitControl * QQStyleKitControls::label
readwrite

Definition at line 61 of file qqstylekitcontrols_p.h.

◆ page

QQStyleKitControl * QQStyleKitControls::page
readwrite

Definition at line 59 of file qqstylekitcontrols_p.h.

◆ pane

QQStyleKitControl * QQStyleKitControls::pane
readwrite

Definition at line 58 of file qqstylekitcontrols_p.h.

◆ popup

QQStyleKitControl * QQStyleKitControls::popup
readwrite

Definition at line 57 of file qqstylekitcontrols_p.h.

◆ progressBar

QQStyleKitControl * QQStyleKitControls::progressBar
readwrite

Definition at line 41 of file qqstylekitcontrols_p.h.

◆ radioButton

QQStyleKitControl * QQStyleKitControls::radioButton
readwrite

Definition at line 55 of file qqstylekitcontrols_p.h.

◆ scrollBar

QQStyleKitControl * QQStyleKitControls::scrollBar
readwrite

Definition at line 42 of file qqstylekitcontrols_p.h.

◆ scrollIndicator

QQStyleKitControl * QQStyleKitControls::scrollIndicator
readwrite

Definition at line 43 of file qqstylekitcontrols_p.h.

◆ scrollView

QQStyleKitControl * QQStyleKitControls::scrollView
readwrite

Definition at line 44 of file qqstylekitcontrols_p.h.

◆ slider

QQStyleKitControl * QQStyleKitControls::slider
readwrite

Definition at line 45 of file qqstylekitcontrols_p.h.

◆ spinBox

QQStyleKitControl * QQStyleKitControls::spinBox
readwrite

Definition at line 46 of file qqstylekitcontrols_p.h.

◆ switchControl

QQStyleKitControl * QQStyleKitControls::switchControl
readwrite

Definition at line 54 of file qqstylekitcontrols_p.h.

◆ tabBar

QQStyleKitControl * QQStyleKitControls::tabBar
readwrite

Definition at line 47 of file qqstylekitcontrols_p.h.

◆ tabButton

QQStyleKitControl * QQStyleKitControls::tabButton
readwrite

Definition at line 48 of file qqstylekitcontrols_p.h.

◆ textArea

QQStyleKitControl * QQStyleKitControls::textArea
readwrite

Definition at line 63 of file qqstylekitcontrols_p.h.

◆ textField

QQStyleKitControl * QQStyleKitControls::textField
readwrite

Definition at line 49 of file qqstylekitcontrols_p.h.

◆ textInput

QQStyleKitControl * QQStyleKitControls::textInput
readwrite

Definition at line 50 of file qqstylekitcontrols_p.h.

◆ toolBar

QQStyleKitControl * QQStyleKitControls::toolBar
readwrite

Definition at line 51 of file qqstylekitcontrols_p.h.

◆ toolButton

QQStyleKitControl * QQStyleKitControls::toolButton
readwrite

Definition at line 52 of file qqstylekitcontrols_p.h.

◆ toolSeparator

QQStyleKitControl * QQStyleKitControls::toolSeparator
readwrite

Definition at line 53 of file qqstylekitcontrols_p.h.


The documentation for this class was generated from the following files: