![]() |
Qt 6.x
The Qt SDK
|
Additional Inherited Members | |
![]() | |
enum | AutoDefaultValue { Off = 0 , On = 1 , Auto = 2 } |
![]() | |
enum | DrawWidgetFlag { DrawAsRoot = 0x01 , DrawPaintOnScreen = 0x02 , DrawRecursive = 0x04 , DrawInvisible = 0x08 , DontSubtractOpaqueChildren = 0x10 , DontDrawOpaqueChildren = 0x20 , DontDrawNativeChildren = 0x40 , DontSetCompositionMode = 0x80 , UseEffectRegionBounds = 0x100 } |
enum | Direction { DirectionNorth = 0x01 , DirectionEast = 0x10 , DirectionSouth = 0x02 , DirectionWest = 0x20 } |
enum class | WindowHandleMode { Direct , Closest , TopLevel } |
enum | CloseMode { CloseNoEvent , CloseWithEvent , CloseWithSpontaneousEvent } |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
![]() | |
static QPushButtonPrivate * | get (QPushButton *b) |
![]() | |
static QWidgetPrivate * | get (QWidget *w) |
static const QWidgetPrivate * | get (const QWidget *w) |
static void | checkRestoredGeometry (const QRect &availableGeometry, QRect *restoredGeometry, int frameHeight) |
static void | adjustFlags (Qt::WindowFlags &flags, QWidget *w=nullptr) |
static QWidget * | parentGraphicsView (const QWidget *widget) |
static QRect | screenGeometry (const QWidget *widget) |
static QRect | availableScreenGeometry (const QWidget *widget) |
static QScreen * | screen (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static QRect | screenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static QRect | availableScreenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static void | sendComposeStatus (QWidget *w, bool end) |
static void | setWidgetParentHelper (QObject *widgetAsObject, QObject *newParent) |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
![]() | |
static QWidgetMapper * | mapper = nullptr |
static QWidgetSet * | allWidgets = nullptr |
static int | instanceCounter = 0 |
static int | maxInstances = 0 |
Definition at line 57 of file qcommandlinkbutton.cpp.
|
inline |
Definition at line 62 of file qcommandlinkbutton.cpp.
|
inline |
Definition at line 83 of file qcommandlinkbutton.cpp.
Referenced by descriptionRect().
QFont QCommandLinkButtonPrivate::descriptionFont | ( | ) | const |
Definition at line 121 of file qcommandlinkbutton.cpp.
References font, QFont::resolve(), and QFont::setPointSizeF().
Referenced by descriptionHeight().
int QCommandLinkButtonPrivate::descriptionHeight | ( | int | width | ) | const |
Definition at line 196 of file qcommandlinkbutton.cpp.
References description, descriptionFont(), QString::isEmpty(), QWidgetPrivate::layout, line, qCeil(), rightMargin(), and textOffset().
int QCommandLinkButtonPrivate::descriptionOffset | ( | ) | const |
Definition at line 163 of file qcommandlinkbutton.cpp.
References QFontMetrics::height(), titleFont(), and topMargin().
Referenced by descriptionRect().
QRect QCommandLinkButtonPrivate::descriptionRect | ( | ) | const |
Definition at line 150 of file qcommandlinkbutton.cpp.
References bottomMargin(), descriptionOffset(), rightMargin(), and textOffset().
void QCommandLinkButtonPrivate::init | ( | ) |
Definition at line 178 of file qcommandlinkbutton.cpp.
References QPushButtonPrivate::init(), opt, policy, QSizePolicy::Preferred, QSizePolicy::PushButton, QSizePolicy::setHeightForWidth(), QStyle::SP_CommandLink, Qt::WA_Hover, and Qt::WA_MacShowFocusRect.
|
inline |
Definition at line 81 of file qcommandlinkbutton.cpp.
Referenced by textOffset().
QColor QCommandLinkButtonPrivate::mergedColors | ( | const QColor & | a, |
const QColor & | b, | ||
int | value = 50 |
||
) | const |
Definition at line 90 of file qcommandlinkbutton.cpp.
References QColor::blue(), QColor::green(), Q_ASSERT, QColor::red(), QColor::setBlue(), QColor::setGreen(), and QColor::setRed().
|
inline |
Definition at line 82 of file qcommandlinkbutton.cpp.
Referenced by descriptionHeight(), descriptionRect(), and titleRect().
int QCommandLinkButtonPrivate::textOffset | ( | ) | const |
Definition at line 157 of file qcommandlinkbutton.cpp.
References leftMargin().
Referenced by descriptionHeight(), descriptionRect(), and titleRect().
QFont QCommandLinkButtonPrivate::titleFont | ( | ) | const |
Definition at line 101 of file qcommandlinkbutton.cpp.
References font, QFont::resolve(), QFont::setBold(), QFont::setPointSizeF(), and usingVistaStyle().
Referenced by descriptionOffset(), and titleRect().
QRect QCommandLinkButtonPrivate::titleRect | ( | ) | const |
Definition at line 136 of file qcommandlinkbutton.cpp.
References QRect::adjusted(), description, QFontMetrics::height(), QString::isEmpty(), qMax(), rightMargin(), textOffset(), titleFont(), and topMargin().
qreal QCommandLinkButtonPrivate::titleSize | ( | ) | const |
|
inline |
Definition at line 80 of file qcommandlinkbutton.cpp.
Referenced by descriptionOffset(), and titleRect().
bool QCommandLinkButtonPrivate::usingVistaStyle | ( | ) | const |
Definition at line 169 of file qcommandlinkbutton.cpp.
References QStyle::PM_ButtonShiftHorizontal.
Referenced by titleFont().
QColor QCommandLinkButtonPrivate::currentColor |
Definition at line 86 of file qcommandlinkbutton.cpp.
QString QCommandLinkButtonPrivate::description |
Definition at line 85 of file qcommandlinkbutton.cpp.
Referenced by descriptionHeight(), and titleRect().