![]() |
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 312 of file qcombobox_p.h.
QComboBoxPrivate::QComboBoxPrivate | ( | ) |
Definition at line 60 of file qcombobox.cpp.
QComboBoxPrivate::~QComboBoxPrivate | ( | ) |
Definition at line 70 of file qcombobox.cpp.
void QComboBoxPrivate::adjustComboBoxSize | ( | ) |
Definition at line 419 of file qcombobox.cpp.
void QComboBoxPrivate::complete | ( | ) |
int QComboBoxPrivate::computeWidthHint | ( | ) | const |
Definition at line 324 of file qcombobox.cpp.
void QComboBoxPrivate::connectModel | ( | ) |
Definition at line 2117 of file qcombobox.cpp.
bool QComboBoxPrivate::contains | ( | const QString & | text, |
int | role ) |
void QComboBoxPrivate::dataChanged | ( | const QModelIndex & | topLeft, |
const QModelIndex & | bottomRight ) |
Definition at line 1112 of file qcombobox.cpp.
void QComboBoxPrivate::disconnectModel | ( | ) |
Definition at line 2142 of file qcombobox.cpp.
void QComboBoxPrivate::doHidePopup | ( | ) |
Definition at line 2952 of file qcombobox.cpp.
void QComboBoxPrivate::editingFinished | ( | ) |
Definition at line 1327 of file qcombobox.cpp.
void QComboBoxPrivate::emitActivated | ( | const QModelIndex & | index | ) |
Definition at line 1435 of file qcombobox.cpp.
void QComboBoxPrivate::emitCurrentIndexChanged | ( | const QModelIndex & | index | ) |
Definition at line 1455 of file qcombobox.cpp.
void QComboBoxPrivate::emitHighlighted | ( | const QModelIndex & | index | ) |
Definition at line 1445 of file qcombobox.cpp.
void QComboBoxPrivate::init | ( | ) |
Definition at line 1058 of file qcombobox.cpp.
void QComboBoxPrivate::initViewItemOption | ( | QStyleOptionViewItem * | option | ) | const |
Definition at line 1286 of file qcombobox.cpp.
QIcon QComboBoxPrivate::itemIcon | ( | const QModelIndex & | index | ) | const |
Definition at line 1812 of file qcombobox.cpp.
int QComboBoxPrivate::itemRole | ( | ) | const |
Definition at line 1474 of file qcombobox.cpp.
void QComboBoxPrivate::itemSelected | ( | const QModelIndex & | item | ) |
Definition at line 1423 of file qcombobox.cpp.
QString QComboBoxPrivate::itemText | ( | const QModelIndex & | index | ) | const |
Definition at line 1469 of file qcombobox.cpp.
Definition at line 3481 of file qcombobox.cpp.
Qt::MatchFlags QComboBoxPrivate::matchFlags | ( | ) | const |
Definition at line 1315 of file qcombobox.cpp.
void QComboBoxPrivate::modelChanged | ( | ) |
Definition at line 3494 of file qcombobox.cpp.
void QComboBoxPrivate::modelDestroyed | ( | ) |
Definition at line 260 of file qcombobox.cpp.
void QComboBoxPrivate::modelReset | ( | ) |
Definition at line 248 of file qcombobox.cpp.
QStyle::SubControl QComboBoxPrivate::newHoverControl | ( | const QPoint & | pos | ) |
Definition at line 307 of file qcombobox.cpp.
Definition at line 284 of file qcombobox.cpp.
Definition at line 348 of file qcombobox.cpp.
void QComboBoxPrivate::resetButton | ( | ) |
Definition at line 1107 of file qcombobox.cpp.
void QComboBoxPrivate::returnPressed | ( | ) |
Definition at line 1359 of file qcombobox.cpp.
void QComboBoxPrivate::rowsInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end ) |
Definition at line 1140 of file qcombobox.cpp.
void QComboBoxPrivate::rowsRemoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end ) |
Definition at line 1179 of file qcombobox.cpp.
void QComboBoxPrivate::setCurrentIndex | ( | const QModelIndex & | index | ) |
Definition at line 2208 of file qcombobox.cpp.
void QComboBoxPrivate::showPopupFromMouseEvent | ( | QMouseEvent * | e | ) |
Definition at line 3207 of file qcombobox.cpp.
void QComboBoxPrivate::trySetValidIndex | ( | ) |
Definition at line 265 of file qcombobox.cpp.
void QComboBoxPrivate::updateArrow | ( | QStyle::StateFlag | state | ) |
Definition at line 237 of file qcombobox.cpp.
Definition at line 2960 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 1798 of file qcombobox.cpp.
void QComboBoxPrivate::updateFocusPolicy | ( | ) |
Definition at line 1236 of file qcombobox.cpp.
bool QComboBoxPrivate::updateHoverControl | ( | const QPoint & | pos | ) |
Definition at line 292 of file qcombobox.cpp.
void QComboBoxPrivate::updateIndexBeforeChange | ( | ) |
Definition at line 1174 of file qcombobox.cpp.
void QComboBoxPrivate::updateLayoutDirection | ( | ) |
Definition at line 424 of file qcombobox.cpp.
void QComboBoxPrivate::updateLineEditGeometry | ( | ) |
Definition at line 1296 of file qcombobox.cpp.
|
inline |
Definition at line 332 of file qcombobox_p.h.
void QComboBoxPrivate::updateViewContainerPaletteAndOpacity | ( | ) |
Definition at line 1213 of file qcombobox.cpp.
QComboBoxPrivateContainer * QComboBoxPrivate::viewContainer | ( | ) |
Definition at line 1082 of file qcombobox.cpp.
QStyle::StateFlag QComboBoxPrivate::arrowState = QStyle::State_None |
Definition at line 398 of file qcombobox_p.h.
QPointer<QComboBoxPrivateContainer> QComboBoxPrivate::container |
Definition at line 384 of file qcombobox_p.h.
QPersistentModelIndex QComboBoxPrivate::currentIndex |
Definition at line 388 of file qcombobox_p.h.
QString QComboBoxPrivate::currentText |
Definition at line 391 of file qcombobox_p.h.
bool QComboBoxPrivate::duplicatesEnabled |
Definition at line 408 of file qcombobox_p.h.
bool QComboBoxPrivate::frame |
Definition at line 409 of file qcombobox_p.h.
bool QComboBoxPrivate::hidingPopup |
Definition at line 411 of file qcombobox_p.h.
QStyle::SubControl QComboBoxPrivate::hoverControl = QStyle::SC_None |
Definition at line 399 of file qcombobox_p.h.
QRect QComboBoxPrivate::hoverRect |
Definition at line 392 of file qcombobox_p.h.
QSize QComboBoxPrivate::iconSize |
Definition at line 393 of file qcombobox_p.h.
int QComboBoxPrivate::indexBeforeChange = -1 |
Definition at line 402 of file qcombobox_p.h.
bool QComboBoxPrivate::inserting |
Definition at line 410 of file qcombobox_p.h.
QComboBox::InsertPolicy QComboBoxPrivate::insertPolicy = QComboBox::InsertAtBottom |
Definition at line 396 of file qcombobox_p.h.
QComboBox::LabelDrawingMode QComboBoxPrivate::labelDrawingMode = QComboBox::LabelDrawingMode::UseStyle |
Definition at line 400 of file qcombobox_p.h.
QLineEdit* QComboBoxPrivate::lineEdit = nullptr |
Definition at line 383 of file qcombobox_p.h.
int QComboBoxPrivate::maxCount = (std::numeric_limits<int>::max)() |
Definition at line 404 of file qcombobox_p.h.
int QComboBoxPrivate::maxVisibleItems = 10 |
Definition at line 403 of file qcombobox_p.h.
int QComboBoxPrivate::minimumContentsLength = 0 |
Definition at line 401 of file qcombobox_p.h.
|
mutable |
Definition at line 394 of file qcombobox_p.h.
QAbstractItemModel* QComboBoxPrivate::model = nullptr |
Definition at line 382 of file qcombobox_p.h.
int QComboBoxPrivate::modelColumn = 0 |
Definition at line 405 of file qcombobox_p.h.
std::array<QMetaObject::Connection, 8> QComboBoxPrivate::modelConnections |
Definition at line 381 of file qcombobox_p.h.
int QComboBoxPrivate::placeholderIndex = -1 |
Definition at line 406 of file qcombobox_p.h.
QString QComboBoxPrivate::placeholderText |
Definition at line 390 of file qcombobox_p.h.
QPersistentModelIndex QComboBoxPrivate::root |
Definition at line 389 of file qcombobox_p.h.
bool QComboBoxPrivate::shownOnce |
Definition at line 407 of file qcombobox_p.h.
QComboBox::SizeAdjustPolicy QComboBoxPrivate::sizeAdjustPolicy = QComboBox::AdjustToContentsOnFirstShow |
Definition at line 397 of file qcombobox_p.h.
|
mutable |
Definition at line 395 of file qcombobox_p.h.