![]() |
Qt 6.x
The Qt SDK
|
Additional Inherited Members | |
![]() | |
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 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 |
![]() | |
virtual int | dialogCode () const |
Definition at line 142 of file qinputdialog.cpp.
QInputDialogPrivate::QInputDialogPrivate | ( | ) |
Definition at line 184 of file qinputdialog.cpp.
void QInputDialogPrivate::_q_currentRowChanged | ( | const QModelIndex & | newIndex, |
const QModelIndex & | oldIndex | ||
) |
Definition at line 432 of file qinputdialog.cpp.
References _q_textChanged(), QDialogButtonBox::button(), buttonBox, comboBox, QAbstractItemModel::data(), QComboBox::model(), QDialogButtonBox::Ok, QWidget::setEnabled(), and QVariant::toString().
Referenced by ensureListView().
void QInputDialogPrivate::_q_plainTextEditTextChanged | ( | ) |
Definition at line 422 of file qinputdialog.cpp.
References emit, plainTextEdit, text, textValue, and QPlainTextEdit::toPlainText().
Referenced by ensurePlainTextEdit().
Definition at line 413 of file qinputdialog.cpp.
References emit, text, and textValue.
Referenced by _q_currentRowChanged(), chooseRightTextInputWidget(), ensureComboBox(), and ensureLineEdit().
void QInputDialogPrivate::chooseRightTextInputWidget | ( | ) |
Definition at line 355 of file qinputdialog.cpp.
References _q_textChanged(), comboBox, QComboBox::currentText, ensureLineEdit(), ensureListView(), ensurePlainTextEdit(), inputWidget, QComboBox::isEditable(), lineEdit, listView, listViewText(), opts, plainTextEdit, setInputWidget(), useComboBoxOrListView(), QInputDialog::UseListViewForComboBoxItems, QInputDialog::UsePlainTextEditForTextInput, and widget.
void QInputDialogPrivate::ensureComboBox | ( | ) |
Definition at line 251 of file qinputdialog.cpp.
References _q_textChanged(), comboBox, QObject::connect(), QWidget::hide(), QWidgetPrivate::inheritsInputMethodHints, qt_widget_private(), SIGNAL, and SLOT.
Referenced by ensureListView().
void QInputDialogPrivate::ensureDoubleSpinBox | ( | ) |
Definition at line 295 of file qinputdialog.cpp.
References QObject::connect(), doubleSpinBox, QWidget::hide(), and SIGNAL.
void QInputDialogPrivate::ensureEnabledConnection | ( | QAbstractSpinBox * | spinBox | ) |
Definition at line 306 of file qinputdialog.cpp.
References QDialogButtonBox::button(), buttonBox, QObject::connect(), QDialogButtonBox::Ok, SIGNAL, SLOT, spinBox, textChanged(), and Qt::UniqueConnection.
Referenced by ensureLayout(), and setInputWidget().
void QInputDialogPrivate::ensureIntSpinBox | ( | ) |
Definition at line 284 of file qinputdialog.cpp.
References QObject::connect(), QWidget::hide(), intSpinBox, and SIGNAL.
void QInputDialogPrivate::ensureLayout | ( | ) |
Definition at line 190 of file qinputdialog.cpp.
References QBoxLayout::addWidget(), buttonBox, QDialogButtonBox::Cancel, QObject::connect(), ensureEnabledConnection(), ensureLineEdit(), QSizePolicy::Fixed, Qt::Horizontal, inputWidget, lineEdit, mainLayout, QSizePolicy::Minimum, QDialogButtonBox::Ok, QLayout::SetMinAndMaxSize, QLayout::setSizeConstraint(), QWidget::show(), SIGNAL, and SLOT.
Referenced by setInputWidget().
|
inline |
Definition at line 162 of file qinputdialog.cpp.
References ensureLayout().
Referenced by ensureLayout().
void QInputDialogPrivate::ensureLineEdit | ( | ) |
Definition at line 222 of file qinputdialog.cpp.
References _q_textChanged(), QObject::connect(), QWidget::hide(), QWidgetPrivate::inheritsInputMethodHints, lineEdit, qt_widget_private(), SIGNAL, SLOT, and textChanged().
Referenced by chooseRightTextInputWidget(), and ensureLayout().
void QInputDialogPrivate::ensureListView | ( | ) |
Definition at line 267 of file qinputdialog.cpp.
References _q_currentRowChanged(), comboBox, QObject::connect(), ensureComboBox(), listView, QComboBox::model(), QAbstractItemView::NoEditTriggers, QAbstractItemView::selectionModel(), QAbstractItemView::setCurrentIndex(), QAbstractItemView::setEditTriggers(), QAbstractItemView::setModel(), QAbstractItemView::setSelectionMode(), SIGNAL, QAbstractItemView::SingleSelection, and SLOT.
Referenced by chooseRightTextInputWidget().
void QInputDialogPrivate::ensurePlainTextEdit | ( | ) |
Definition at line 236 of file qinputdialog.cpp.
References _q_plainTextEditTextChanged(), QObject::connect(), QWidgetPrivate::inheritsInputMethodHints, QPlainTextEdit::NoWrap, plainTextEdit, qt_widget_private(), QPlainTextEdit::setLineWrapMode(), SIGNAL, SLOT, and textChanged().
Referenced by chooseRightTextInputWidget().
QString QInputDialogPrivate::listViewText | ( | ) | const |
Definition at line 403 of file qinputdialog.cpp.
References comboBox, QItemSelectionModel::hasSelection, QComboBox::itemText(), listView, QModelIndex::row(), QItemSelectionModel::selectedRows(), QAbstractItemView::selectionModel(), and QList< T >::value().
Referenced by chooseRightTextInputWidget().
Definition at line 383 of file qinputdialog.cpp.
References comboBox, QComboBox::findText(), QComboBox::isEditable(), QComboBox::setCurrentIndex(), QComboBox::setEditText(), and text.
Referenced by setInputWidget().
Definition at line 314 of file qinputdialog.cpp.
References QDialogButtonBox::button(), buttonBox, comboBox, QObject::disconnect(), ensureEnabledConnection(), ensureLayout(), QAbstractSpinBox::hasAcceptableInput(), QItemSelectionModel::hasSelection, QWidget::hide(), inputWidget, QBoxLayout::insertWidget(), lineEdit, listView, mainLayout, QDialogButtonBox::Ok, plainTextEdit, Q_ASSERT, QLayout::removeWidget(), QAbstractItemView::selectionModel(), setComboBoxText(), QWidget::setEnabled(), setListViewText(), QPlainTextEdit::setPlainText(), QLineEdit::setText(), QWidget::show(), SIGNAL, SLOT, spinBox, textChanged(), textValue, and widget.
Referenced by chooseRightTextInputWidget().
Definition at line 393 of file qinputdialog.cpp.
References QItemSelectionModel::Clear, comboBox, QComboBox::findText(), QAbstractItemModel::index(), listView, QComboBox::model(), QItemSelectionModel::SelectCurrent, QAbstractItemView::selectionModel(), QItemSelectionModel::setCurrentIndex(), and text.
Referenced by setInputWidget().
|
inline |
Definition at line 163 of file qinputdialog.cpp.
References comboBox, and QComboBox::count.
Referenced by chooseRightTextInputWidget().
|
mutable |
Definition at line 169 of file qinputdialog.cpp.
Referenced by _q_currentRowChanged(), ensureEnabledConnection(), ensureLayout(), and setInputWidget().
|
mutable |
Definition at line 174 of file qinputdialog.cpp.
Referenced by _q_currentRowChanged(), chooseRightTextInputWidget(), ensureComboBox(), ensureListView(), listViewText(), setComboBoxText(), setInputWidget(), setListViewText(), and useComboBoxOrListView().
|
mutable |
Definition at line 173 of file qinputdialog.cpp.
Referenced by ensureDoubleSpinBox().
|
mutable |
Definition at line 176 of file qinputdialog.cpp.
Referenced by chooseRightTextInputWidget(), ensureLayout(), and setInputWidget().
|
mutable |
Definition at line 172 of file qinputdialog.cpp.
Referenced by ensureIntSpinBox().
|
mutable |
Definition at line 168 of file qinputdialog.cpp.
|
mutable |
Definition at line 170 of file qinputdialog.cpp.
Referenced by chooseRightTextInputWidget(), ensureLayout(), ensureLineEdit(), and setInputWidget().
|
mutable |
Definition at line 175 of file qinputdialog.cpp.
Referenced by chooseRightTextInputWidget(), ensureListView(), listViewText(), setInputWidget(), and setListViewText().
|
mutable |
Definition at line 177 of file qinputdialog.cpp.
Referenced by ensureLayout(), and setInputWidget().
QByteArray QInputDialogPrivate::memberToDisconnectOnClose |
Definition at line 181 of file qinputdialog.cpp.
QInputDialog::InputDialogOptions QInputDialogPrivate::opts |
Definition at line 178 of file qinputdialog.cpp.
Referenced by chooseRightTextInputWidget().
|
mutable |
Definition at line 171 of file qinputdialog.cpp.
Referenced by _q_plainTextEditTextChanged(), chooseRightTextInputWidget(), ensurePlainTextEdit(), and setInputWidget().
Definition at line 180 of file qinputdialog.cpp.
QString QInputDialogPrivate::textValue |
Definition at line 179 of file qinputdialog.cpp.
Referenced by _q_plainTextEditTextChanged(), _q_textChanged(), and setInputWidget().