![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qcombobox_p.h>
Additional Inherited Members | |
| Public Types inherited from QWidgetPrivate | |
| 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 } |
| enum class | FocusDirection { Previous , Next } |
| enum class | FocusChainRemovalRule { EnsureFocusOut = 0x01 , AssertConsistency = 0x02 } |
| Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
| Static Public Member Functions inherited from QWidgetPrivate | |
| 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 | insertIntoFocusChain (const QWidgetList &toBeInserted, FocusDirection direction, QWidget *position) |
| static QWidgetList | takeFromFocusChain (QWidget *from, QWidget *to, FocusDirection direction=FocusDirection::Next) |
| Static Public Member Functions inherited from QObjectPrivate | |
| 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 Public Attributes inherited from QWidgetPrivate | |
| static QWidgetMapper * | mapper = nullptr |
| static QWidgetSet * | allWidgets = nullptr |
| static int | instanceCounter = 0 |
| static int | maxInstances = 0 |
Definition at line 187 of file qcombobox_p.h.
| QComboBoxPrivate::QComboBoxPrivate | ( | ) |
Definition at line 205 of file qcombobox.cpp.
| QComboBoxPrivate::~QComboBoxPrivate | ( | ) |
Definition at line 215 of file qcombobox.cpp.
| void QComboBoxPrivate::adjustComboBoxSize | ( | ) |
Definition at line 646 of file qcombobox.cpp.
| void QComboBoxPrivate::complete | ( | ) |
| int QComboBoxPrivate::computeWidthHint | ( | ) | const |
Definition at line 551 of file qcombobox.cpp.
| void QComboBoxPrivate::connectModel | ( | ) |
Definition at line 2350 of file qcombobox.cpp.
| bool QComboBoxPrivate::contains | ( | const QString & | text, |
| int | role ) |
| void QComboBoxPrivate::dataChanged | ( | const QModelIndex & | topLeft, |
| const QModelIndex & | bottomRight ) |
Definition at line 1345 of file qcombobox.cpp.
| void QComboBoxPrivate::disconnectModel | ( | ) |
Definition at line 2375 of file qcombobox.cpp.
| void QComboBoxPrivate::doHidePopup | ( | ) |
Definition at line 3196 of file qcombobox.cpp.
| void QComboBoxPrivate::editingFinished | ( | ) |
Definition at line 1560 of file qcombobox.cpp.
| void QComboBoxPrivate::emitActivated | ( | const QModelIndex & | index | ) |
Definition at line 1668 of file qcombobox.cpp.
| void QComboBoxPrivate::emitCurrentIndexChanged | ( | const QModelIndex & | index | ) |
Definition at line 1688 of file qcombobox.cpp.
| void QComboBoxPrivate::emitHighlighted | ( | const QModelIndex & | index | ) |
Definition at line 1678 of file qcombobox.cpp.
| void QComboBoxPrivate::init | ( | ) |
Definition at line 1291 of file qcombobox.cpp.
| void QComboBoxPrivate::initViewItemOption | ( | QStyleOptionViewItem * | option | ) | const |
Definition at line 1519 of file qcombobox.cpp.
| QIcon QComboBoxPrivate::itemIcon | ( | const QModelIndex & | index | ) | const |
Definition at line 2045 of file qcombobox.cpp.
| int QComboBoxPrivate::itemRole | ( | ) | const |
Definition at line 1707 of file qcombobox.cpp.
| void QComboBoxPrivate::itemSelected | ( | const QModelIndex & | item | ) |
Definition at line 1656 of file qcombobox.cpp.
| QString QComboBoxPrivate::itemText | ( | const QModelIndex & | index | ) | const |
Definition at line 1702 of file qcombobox.cpp.
Definition at line 3725 of file qcombobox.cpp.
| Qt::MatchFlags QComboBoxPrivate::matchFlags | ( | ) | const |
Definition at line 1548 of file qcombobox.cpp.
| void QComboBoxPrivate::modelChanged | ( | ) |
Definition at line 3738 of file qcombobox.cpp.
| void QComboBoxPrivate::modelDestroyed | ( | ) |
Definition at line 487 of file qcombobox.cpp.
| void QComboBoxPrivate::modelReset | ( | ) |
Definition at line 475 of file qcombobox.cpp.
| QStyle::SubControl QComboBoxPrivate::newHoverControl | ( | const QPoint & | pos | ) |
Definition at line 534 of file qcombobox.cpp.
Definition at line 511 of file qcombobox.cpp.
Definition at line 575 of file qcombobox.cpp.
| void QComboBoxPrivate::resetButton | ( | ) |
Definition at line 1340 of file qcombobox.cpp.
| void QComboBoxPrivate::returnPressed | ( | ) |
Definition at line 1592 of file qcombobox.cpp.
| void QComboBoxPrivate::rowsInserted | ( | const QModelIndex & | parent, |
| int | start, | ||
| int | end ) |
Definition at line 1373 of file qcombobox.cpp.
| void QComboBoxPrivate::rowsRemoved | ( | const QModelIndex & | parent, |
| int | start, | ||
| int | end ) |
Definition at line 1412 of file qcombobox.cpp.
| void QComboBoxPrivate::setCurrentIndex | ( | const QModelIndex & | index | ) |
Definition at line 2441 of file qcombobox.cpp.
| void QComboBoxPrivate::showPopupFromMouseEvent | ( | QMouseEvent * | e | ) |
Definition at line 3451 of file qcombobox.cpp.
| void QComboBoxPrivate::trySetValidIndex | ( | ) |
Definition at line 492 of file qcombobox.cpp.
| void QComboBoxPrivate::updateArrow | ( | QStyle::StateFlag | state | ) |
Definition at line 464 of file qcombobox.cpp.
Definition at line 3204 of file qcombobox.cpp.
| void QComboBoxPrivate::updateDelegate | ( | bool | force = false | ) |
update the default delegate depending on the style's SH_ComboBox_Popup hint, we use a different default delegate.
but we do not change the delegate is the combobox use a custom delegate, unless force is set to true.
Definition at line 2031 of file qcombobox.cpp.
| void QComboBoxPrivate::updateFocusPolicy | ( | ) |
Definition at line 1469 of file qcombobox.cpp.
| bool QComboBoxPrivate::updateHoverControl | ( | const QPoint & | pos | ) |
Definition at line 519 of file qcombobox.cpp.
| void QComboBoxPrivate::updateIndexBeforeChange | ( | ) |
Definition at line 1407 of file qcombobox.cpp.
| void QComboBoxPrivate::updateLayoutDirection | ( | ) |
Definition at line 651 of file qcombobox.cpp.
| void QComboBoxPrivate::updateLineEditGeometry | ( | ) |
Definition at line 1529 of file qcombobox.cpp.
|
inline |
Definition at line 207 of file qcombobox_p.h.
| void QComboBoxPrivate::updateViewContainerPaletteAndOpacity | ( | ) |
Definition at line 1446 of file qcombobox.cpp.
| QComboBoxPrivateContainer * QComboBoxPrivate::viewContainer | ( | ) |
Definition at line 1315 of file qcombobox.cpp.
| QStyle::StateFlag QComboBoxPrivate::arrowState = QStyle::State_None |
Definition at line 273 of file qcombobox_p.h.
| QPointer<QComboBoxPrivateContainer> QComboBoxPrivate::container |
Definition at line 259 of file qcombobox_p.h.
| QPersistentModelIndex QComboBoxPrivate::currentIndex |
Definition at line 263 of file qcombobox_p.h.
| QString QComboBoxPrivate::currentText |
Definition at line 266 of file qcombobox_p.h.
| bool QComboBoxPrivate::duplicatesEnabled |
Definition at line 283 of file qcombobox_p.h.
| bool QComboBoxPrivate::frame |
Definition at line 284 of file qcombobox_p.h.
| bool QComboBoxPrivate::hidingPopup |
Definition at line 286 of file qcombobox_p.h.
| QStyle::SubControl QComboBoxPrivate::hoverControl = QStyle::SC_None |
Definition at line 274 of file qcombobox_p.h.
| QRect QComboBoxPrivate::hoverRect |
Definition at line 267 of file qcombobox_p.h.
| QSize QComboBoxPrivate::iconSize |
Definition at line 268 of file qcombobox_p.h.
| int QComboBoxPrivate::indexBeforeChange = -1 |
Definition at line 277 of file qcombobox_p.h.
| bool QComboBoxPrivate::inserting |
Definition at line 285 of file qcombobox_p.h.
| QComboBox::InsertPolicy QComboBoxPrivate::insertPolicy = QComboBox::InsertAtBottom |
Definition at line 271 of file qcombobox_p.h.
| QComboBox::LabelDrawingMode QComboBoxPrivate::labelDrawingMode = QComboBox::LabelDrawingMode::UseStyle |
Definition at line 275 of file qcombobox_p.h.
Definition at line 258 of file qcombobox_p.h.
| int QComboBoxPrivate::maxCount = (std::numeric_limits<int>::max)() |
Definition at line 279 of file qcombobox_p.h.
| int QComboBoxPrivate::maxVisibleItems = 10 |
Definition at line 278 of file qcombobox_p.h.
| int QComboBoxPrivate::minimumContentsLength = 0 |
Definition at line 276 of file qcombobox_p.h.
|
mutable |
Definition at line 269 of file qcombobox_p.h.
| QAbstractItemModel* QComboBoxPrivate::model = nullptr |
Definition at line 257 of file qcombobox_p.h.
| int QComboBoxPrivate::modelColumn = 0 |
Definition at line 280 of file qcombobox_p.h.
| std::array<QMetaObject::Connection, 8> QComboBoxPrivate::modelConnections |
Definition at line 256 of file qcombobox_p.h.
| int QComboBoxPrivate::placeholderIndex = -1 |
Definition at line 281 of file qcombobox_p.h.
| QString QComboBoxPrivate::placeholderText |
Definition at line 265 of file qcombobox_p.h.
| QPersistentModelIndex QComboBoxPrivate::root |
Definition at line 264 of file qcombobox_p.h.
| bool QComboBoxPrivate::shownOnce |
Definition at line 282 of file qcombobox_p.h.
| QComboBox::SizeAdjustPolicy QComboBoxPrivate::sizeAdjustPolicy = QComboBox::AdjustToContentsOnFirstShow |
Definition at line 272 of file qcombobox_p.h.
|
mutable |
Definition at line 270 of file qcombobox_p.h.