![]() |
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 32 of file qprogressdialog.cpp.
|
default |
void QProgressDialogPrivate::_q_disconnectOnClose | ( | ) |
Definition at line 142 of file qprogressdialog.cpp.
References QByteArray::clear(), QObject::disconnect(), memberToDisconnectOnClose, receiverToDisconnectOnClose, and SIGNAL.
Definition at line 442 of file qprogressdialog.cpp.
References ensureSizeIsAtLeastSizeHint(), and layout().
void QProgressDialogPrivate::ensureSizeIsAtLeastSizeHint | ( | ) |
Definition at line 459 of file qprogressdialog.cpp.
References QSize::expandedTo().
Referenced by adoptChildWidget(), and setCancelButtonText().
void QProgressDialogPrivate::init | ( | const QString & | labelText, |
const QString & | cancelText, | ||
int | min, | ||
int | max | ||
) |
Definition at line 68 of file qprogressdialog.cpp.
References bar, cancel, QObject::connect(), forceTimer, QDialogPrivate::max, QDialogPrivate::min, retranslateStrings(), QProgressBar::setRange(), QStyle::SH_ProgressDialog_TextLabelAlignment, showTime, SIGNAL, SLOT, QElapsedTimer::start(), QTimer::start(), starttime, and useDefaultCancelText.
void QProgressDialogPrivate::layout | ( | ) |
Definition at line 89 of file qprogressdialog.cpp.
References bar, cancel, QSize::height(), QStyle::PM_LayoutBottomMargin, QStyle::PM_LayoutLeftMargin, QStyle::PM_LayoutRightMargin, QStyle::PM_LayoutVerticalSpacing, qMax(), qMin(), QWidget::setGeometry(), QSize::setHeight(), QStyle::SH_ProgressDialog_CenterCancelButton, QProgressBar::sizeHint(), QPushButton::sizeHint(), sp, and QSize::width().
Referenced by adoptChildWidget().
void QProgressDialogPrivate::retranslateStrings | ( | ) |
Definition at line 136 of file qprogressdialog.cpp.
References setCancelButtonText(), and useDefaultCancelText.
Referenced by init().
Definition at line 397 of file qprogressdialog.cpp.
References cancel, ensureSizeIsAtLeastSizeHint(), QString::isNull(), and QAbstractButton::setText().
Referenced by retranslateStrings().
bool QProgressDialogPrivate::autoClose = true |
Definition at line 60 of file qprogressdialog.cpp.
bool QProgressDialogPrivate::autoReset = true |
Definition at line 61 of file qprogressdialog.cpp.
QProgressBar* QProgressDialogPrivate::bar = nullptr |
Definition at line 49 of file qprogressdialog.cpp.
QPushButton* QProgressDialogPrivate::cancel = nullptr |
Definition at line 48 of file qprogressdialog.cpp.
Referenced by init(), layout(), and setCancelButtonText().
bool QProgressDialogPrivate::cancellationFlag = false |
Definition at line 63 of file qprogressdialog.cpp.
Definition at line 52 of file qprogressdialog.cpp.
bool QProgressDialogPrivate::forceHide = false |
Definition at line 62 of file qprogressdialog.cpp.
Definition at line 50 of file qprogressdialog.cpp.
Referenced by init().
Definition at line 47 of file qprogressdialog.cpp.
QByteArray QProgressDialogPrivate::memberToDisconnectOnClose |
Definition at line 56 of file qprogressdialog.cpp.
Referenced by _q_disconnectOnClose().
bool QProgressDialogPrivate::processingEvents = false |
Definition at line 58 of file qprogressdialog.cpp.
Definition at line 54 of file qprogressdialog.cpp.
Referenced by _q_disconnectOnClose().
bool QProgressDialogPrivate::setValueCalled = false |
Definition at line 64 of file qprogressdialog.cpp.
bool QProgressDialogPrivate::shownOnce = false |
Definition at line 59 of file qprogressdialog.cpp.
std::chrono::milliseconds QProgressDialogPrivate::showTime = defaultShowTime |
Definition at line 57 of file qprogressdialog.cpp.
Referenced by init().
QElapsedTimer QProgressDialogPrivate::starttime |
Definition at line 55 of file qprogressdialog.cpp.
Referenced by init().
bool QProgressDialogPrivate::useDefaultCancelText = false |
Definition at line 65 of file qprogressdialog.cpp.
Referenced by init(), and retranslateStrings().