Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qdesigner.h>
Public Types | |
enum | ParseArgumentsResult { ParseArgumentsSuccess , ParseArgumentsError , ParseArgumentsHelpRequested } |
Public Types inherited from QCoreApplication | |
enum | { ApplicationFlags = QT_VERSION } |
Public Slots | |
void | showErrorMessage (const QString &message) |
Public Slots inherited from QApplication | |
void | setStyleSheet (const QString &sheet) |
void | setAutoSipEnabled (const bool enabled) |
static void | closeAllWindows () |
Closes all top-level windows. | |
static void | aboutQt () |
Displays a simple message box about Qt. | |
Public Slots inherited from QCoreApplication | |
static void | quit () |
\threadsafe | |
static void | exit (int retcode=0) |
Tells the application to exit with a return code. | |
Public Slots inherited from QObject | |
void | deleteLater () |
\threadsafe | |
Signals | |
void | initialized () |
Signals inherited from QApplication | |
void | focusChanged (QWidget *old, QWidget *now) |
Signals inherited from QGuiApplication | |
void | fontDatabaseChanged () |
This signal is emitted when the available fonts have changed. | |
void | screenAdded (QScreen *screen) |
This signal is emitted whenever a new screen screen has been added to the system. | |
void | screenRemoved (QScreen *screen) |
This signal is emitted whenever a screen is removed from the system. | |
void | primaryScreenChanged (QScreen *screen) |
void | lastWindowClosed () |
This signal is emitted from exec() when the last visible \l{Primary and Secondary Windows}{primary window} (i.e. | |
void | focusObjectChanged (QObject *focusObject) |
This signal is emitted when final receiver of events tied to focus is changed. | |
void | focusWindowChanged (QWindow *focusWindow) |
This signal is emitted when the focused window changes. | |
void | applicationStateChanged (Qt::ApplicationState state) |
void | layoutDirectionChanged (Qt::LayoutDirection direction) |
void | commitDataRequest (QSessionManager &sessionManager) |
void | saveStateRequest (QSessionManager &sessionManager) |
void | applicationDisplayNameChanged () |
Signals inherited from QCoreApplication | |
void | aboutToQuit (QPrivateSignal) |
This signal is emitted when the application is about to quit the main event loop, e.g. | |
void | organizationNameChanged () |
void | organizationDomainChanged () |
void | applicationNameChanged () |
void | applicationVersionChanged () |
Signals inherited from QObject | |
void | destroyed (QObject *=nullptr) |
This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked. | |
void | objectNameChanged (const QString &objectName, QPrivateSignal) |
This signal is emitted after the object's name has been changed. | |
Public Member Functions | |
QDesigner (int &argc, char **argv) | |
~QDesigner () override | |
ParseArgumentsResult | parseCommandLineArguments () |
QDesignerWorkbench * | workbench () const |
QDesignerServer * | server () const |
bool | isServerOrClientEnabled () const |
MainWindowBase * | mainWindow () const |
void | setMainWindow (MainWindowBase *tw) |
Public Member Functions inherited from QApplication | |
QApplication (int &argc, char **argv, int=ApplicationFlags) | |
Initializes the window system and constructs an application object with argc command line arguments in argv. | |
virtual | ~QApplication () |
Cleans up any window system resources that were allocated by this application. | |
bool | notify (QObject *, QEvent *) override |
\reimp | |
QString | styleSheet () const |
bool | autoSipEnabled () const |
Public Member Functions inherited from QGuiApplication | |
QGuiApplication (int &argc, char **argv, int=ApplicationFlags) | |
Initializes the window system and constructs an application object with argc command line arguments in argv. | |
~QGuiApplication () | |
Destructs the application. | |
Q_SLOT void | setBadgeNumber (qint64 number) |
Sets the application's badge to number. | |
qreal | devicePixelRatio () const |
Returns the highest screen device pixel ratio found on the system. | |
bool | notify (QObject *, QEvent *) override |
\reimp | |
bool | isSessionRestored () const |
Returns true if the application has been restored from an earlier \l{Session Management}{session}; otherwise returns false . | |
QString | sessionId () const |
Returns the current \l{Session Management}{session's} identifier. | |
QString | sessionKey () const |
Returns the session key in the current \l{Session Management}{session}. | |
bool | isSavingSession () const |
Public Member Functions inherited from QCoreApplication | |
QCoreApplication (int &argc, char **argv, int=ApplicationFlags) | |
Constructs a Qt core application. | |
~QCoreApplication () | |
Destroys the QCoreApplication object. | |
void | installNativeEventFilter (QAbstractNativeEventFilter *filterObj) |
Installs an event filter filterObj for all native events received by the application in the main thread. | |
void | removeNativeEventFilter (QAbstractNativeEventFilter *filterObj) |
Removes an event filterObject from this object. | |
Public Member Functions inherited from QObject | |
Q_INVOKABLE | QObject (QObject *parent=nullptr) |
Constructs an object with parent object parent. | |
virtual | ~QObject () |
Destroys the object, deleting all its child objects. | |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
Filters events if this object has been installed as an event filter for the watched object. | |
QString | objectName () const |
Q_WEAK_OVERLOAD void | setObjectName (const QString &name) |
Sets the object's name to name. | |
void | setObjectName (QAnyStringView name) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QBindable< QString > | bindableObjectName () |
bool | isWidgetType () const |
Returns true if the object is a widget; otherwise returns false . | |
bool | isWindowType () const |
Returns true if the object is a window; otherwise returns false . | |
bool | isQuickItemType () const |
Returns true if the object is a QQuickItem; otherwise returns false . | |
bool | signalsBlocked () const noexcept |
Returns true if signals are blocked; otherwise returns false . | |
bool | blockSignals (bool b) noexcept |
If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). | |
QThread * | thread () const |
Returns the thread in which the object lives. | |
bool | moveToThread (QThread *thread QT6_DECL_NEW_OVERLOAD_TAIL) |
Changes the thread affinity for this object and its children and returns true on success. | |
int | startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer) |
This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds. | |
int | startTimer (std::chrono::nanoseconds time, Qt::TimerType timerType=Qt::CoarseTimer) |
void | killTimer (int id) |
Kills the timer with timer identifier, id. | |
void | killTimer (Qt::TimerId id) |
template<typename T > | |
T | findChild (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object. | |
template<typename T > | |
QList< T > | findChildren (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. | |
template<typename T > | |
T | findChild (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<typename T > | |
QList< T > | findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
const QObjectList & | children () const |
Returns a list of child objects. | |
void | setParent (QObject *parent) |
Makes the object a child of parent. | |
void | installEventFilter (QObject *filterObj) |
Installs an event filter filterObj on this object. | |
void | removeEventFilter (QObject *obj) |
Removes an event filter object obj from this object. | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
bool | disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const |
bool | disconnect (const QObject *receiver, const char *member=nullptr) const |
void | dumpObjectTree () const |
Dumps a tree of children to the debug output. | |
void | dumpObjectInfo () const |
Dumps information about signal connections, etc. | |
bool | setProperty (const char *name, const QVariant &value) |
Sets the value of the object's name property to value. | |
bool | setProperty (const char *name, QVariant &&value) |
QVariant | property (const char *name) const |
Returns the value of the object's name property. | |
QList< QByteArray > | dynamicPropertyNames () const |
QBindingStorage * | bindingStorage () |
const QBindingStorage * | bindingStorage () const |
QObject * | parent () const |
Returns a pointer to the parent object. | |
bool | inherits (const char *classname) const |
Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false . | |
Protected Member Functions | |
bool | event (QEvent *ev) override |
\reimp | |
Protected Member Functions inherited from QApplication | |
bool | compressEvent (QEvent *, QObject *receiver, QPostEventList *) override |
Protected Member Functions inherited from QGuiApplication | |
bool | event (QEvent *) override |
\reimp | |
bool | compressEvent (QEvent *, QObject *receiver, QPostEventList *) override |
QGuiApplication (QGuiApplicationPrivate &p) | |
Protected Member Functions inherited from QCoreApplication | |
QCoreApplication (QCoreApplicationPrivate &p) | |
Protected Member Functions inherited from QObject | |
QObject * | sender () const |
Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr. | |
int | senderSignalIndex () const |
int | receivers (const char *signal) const |
Returns the number of receivers connected to the signal. | |
bool | isSignalConnected (const QMetaMethod &signal) const |
virtual void | timerEvent (QTimerEvent *event) |
This event handler can be reimplemented in a subclass to receive timer events for the object. | |
virtual void | childEvent (QChildEvent *event) |
This event handler can be reimplemented in a subclass to receive child events. | |
virtual void | customEvent (QEvent *event) |
This event handler can be reimplemented in a subclass to receive custom events. | |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
QObject (QObjectPrivate &dd, QObject *parent=nullptr) | |
Additional Inherited Members | |
Static Public Member Functions inherited from QApplication | |
static QStyle * | style () |
Returns the application's style object. | |
static void | setStyle (QStyle *) |
Sets the application's GUI style to style. | |
static QStyle * | setStyle (const QString &) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Requests a QStyle object for style from the QStyleFactory. | |
static QPalette | palette (const QWidget *) |
If a widget is passed, the default palette for the widget's class is returned. | |
static QPalette | palette (const char *className) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Returns the palette for widgets of the given className. | |
static void | setPalette (const QPalette &, const char *className=nullptr) |
Changes the application palette to palette. | |
static QFont | font () |
Returns the default application font. | |
static QFont | font (const QWidget *) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Returns the default font for the widget. | |
static QFont | font (const char *className) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Returns the font for widgets of the given className. | |
static void | setFont (const QFont &, const char *className=nullptr) |
Changes the default application font to font. | |
static QWidgetList | allWidgets () |
Returns a list of all the widgets in the application. | |
static QWidgetList | topLevelWidgets () |
Returns a list of the top-level widgets (windows) in the application. | |
static QWidget * | activePopupWidget () |
Returns the active popup widget. | |
static QWidget * | activeModalWidget () |
Returns the active modal widget. | |
static QWidget * | focusWidget () |
Returns the application widget that has the keyboard input focus, or \nullptr if no widget in this application has the focus. | |
static QWidget * | activeWindow () |
Returns the application top-level window that has the keyboard input focus, or \nullptr if no application window has the focus. | |
static QWidget * | widgetAt (const QPoint &p) |
Returns the widget at global screen position point, or \nullptr if there is no Qt widget there. | |
static QWidget * | widgetAt (int x, int y) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Returns the widget at global screen position (x, y), or \nullptr if there is no Qt widget there. | |
static QWidget * | topLevelAt (const QPoint &p) |
Returns the top-level widget at the given point; returns \nullptr if there is no such widget. | |
static QWidget * | topLevelAt (int x, int y) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Returns the top-level widget at the point ({x}, {y}); returns 0 if there is no such widget. | |
static void | beep () |
Sounds the bell, using the default volume and sound. | |
static void | alert (QWidget *widget, int duration=0) |
static void | setCursorFlashTime (int) |
static int | cursorFlashTime () |
static void | setDoubleClickInterval (int) |
static int | doubleClickInterval () |
static void | setKeyboardInputInterval (int) |
static int | keyboardInputInterval () |
static void | setStartDragTime (int ms) |
static int | startDragTime () |
static void | setStartDragDistance (int l) |
static int | startDragDistance () |
static bool | isEffectEnabled (Qt::UIEffect) |
Returns true if effect is enabled; otherwise returns false . | |
static void | setEffectEnabled (Qt::UIEffect, bool enable=true) |
Enables the UI effect effect if enable is true, otherwise the effect will not be used. | |
static int | exec () |
Enters the main event loop and waits until exit() is called, then returns the value that was set to exit() (which is 0 if exit() is called via quit()). | |
static QPalette | palette () |
Returns the current application palette. | |
Static Public Member Functions inherited from QGuiApplication | |
static void | setApplicationDisplayName (const QString &name) |
static QString | applicationDisplayName () |
static void | setDesktopFileName (const QString &name) |
static QString | desktopFileName () |
static QWindowList | allWindows () |
Returns a list of all the windows in the application. | |
static QWindowList | topLevelWindows () |
Returns a list of the top-level windows in the application. | |
static QWindow * | topLevelAt (const QPoint &pos) |
Returns the top level window at the given position pos, if any. | |
static void | setWindowIcon (const QIcon &icon) |
static QIcon | windowIcon () |
static QString | platformName () |
static QWindow * | modalWindow () |
Returns the most recently shown modal window. | |
static QWindow * | focusWindow () |
Returns the QWindow that receives events tied to focus, such as key events. | |
static QObject * | focusObject () |
Returns the QObject in currently active window that will be final receiver of events tied to focus, such as key events. | |
static QScreen * | primaryScreen () |
static QList< QScreen * > | screens () |
Returns a list of all the screens associated with the windowing system the application is connected to. | |
static QScreen * | screenAt (const QPoint &point) |
Returns the screen at point, or \nullptr if outside of any screen. | |
static QCursor * | overrideCursor () |
Returns the active application override cursor. | |
static void | setOverrideCursor (const QCursor &) |
Sets the application override cursor to cursor. | |
static void | changeOverrideCursor (const QCursor &) |
Changes the currently active application override cursor to cursor. | |
static void | restoreOverrideCursor () |
Undoes the last setOverrideCursor(). | |
static QFont | font () |
Returns the default application font. | |
static void | setFont (const QFont &) |
Changes the default application font to font. | |
static QClipboard * | clipboard () |
Returns the object for interacting with the clipboard. | |
static QPalette | palette () |
Returns the current application palette. | |
static void | setPalette (const QPalette &pal) |
Changes the application palette to pal. | |
static Qt::KeyboardModifiers | keyboardModifiers () |
Returns the current state of the modifier keys on the keyboard. | |
static Qt::KeyboardModifiers | queryKeyboardModifiers () |
Queries and returns the state of the modifier keys on the keyboard. | |
static Qt::MouseButtons | mouseButtons () |
Returns the current state of the buttons on the mouse. | |
static void | setLayoutDirection (Qt::LayoutDirection direction) |
static Qt::LayoutDirection | layoutDirection () |
static bool | isRightToLeft () |
Returns true if the application's layout direction is Qt::RightToLeft; otherwise returns false . | |
static bool | isLeftToRight () |
Returns true if the application's layout direction is Qt::LeftToRight; otherwise returns false . | |
static QStyleHints * | styleHints () |
Returns the application's style hints. | |
static void | setDesktopSettingsAware (bool on) |
Sets whether Qt should use the system's standard colors, fonts, etc., to on. | |
static bool | desktopSettingsAware () |
Returns true if Qt is set to use the system's standard colors, fonts, etc.; otherwise returns false . | |
static QInputMethod * | inputMethod () |
returns the input method. | |
static QPlatformNativeInterface * | platformNativeInterface () |
static QFunctionPointer | platformFunction (const QByteArray &function) |
static void | setQuitOnLastWindowClosed (bool quit) |
static bool | quitOnLastWindowClosed () |
static Qt::ApplicationState | applicationState () |
static void | setHighDpiScaleFactorRoundingPolicy (Qt::HighDpiScaleFactorRoundingPolicy policy) |
static Qt::HighDpiScaleFactorRoundingPolicy | highDpiScaleFactorRoundingPolicy () |
static int | exec () |
Enters the main event loop and waits until exit() is called, and then returns the value that was set to exit() (which is 0 if exit() is called via quit()). | |
static void | sync () |
Static Public Member Functions inherited from QCoreApplication | |
static QStringList | arguments () |
static void | setAttribute (Qt::ApplicationAttribute attribute, bool on=true) |
Sets the attribute attribute if on is true; otherwise clears the attribute. | |
static bool | testAttribute (Qt::ApplicationAttribute attribute) |
Returns true if attribute attribute is set; otherwise returns false . | |
static void | setOrganizationDomain (const QString &orgDomain) |
static QString | organizationDomain () |
static void | setOrganizationName (const QString &orgName) |
[11] | |
static QString | organizationName () |
static void | setApplicationName (const QString &application) |
static QString | applicationName () |
static void | setApplicationVersion (const QString &version) |
static QString | applicationVersion () |
static void | setSetuidAllowed (bool allow) |
static bool | isSetuidAllowed () |
static QCoreApplication * | instance () noexcept |
Returns a pointer to the application's QCoreApplication (or QGuiApplication/QApplication) instance. | |
static int | exec () |
Enters the main event loop and waits until exit() is called. | |
static void | processEvents (QEventLoop::ProcessEventsFlags flags=QEventLoop::AllEvents) |
Processes some pending events for the calling thread according to the specified flags. | |
static void | processEvents (QEventLoop::ProcessEventsFlags flags, int maxtime) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Processes pending events for the calling thread for ms milliseconds or until there are no more events to process, whichever is shorter. | |
static void | processEvents (QEventLoop::ProcessEventsFlags flags, QDeadlineTimer deadline) |
static bool | sendEvent (QObject *receiver, QEvent *event) |
Sends event event directly to receiver receiver, using the notify() function. | |
static void | postEvent (QObject *receiver, QEvent *event, int priority=Qt::NormalEventPriority) |
static void | sendPostedEvents (QObject *receiver=nullptr, int event_type=0) |
Immediately dispatches all events which have been previously queued with QCoreApplication::postEvent() and which are for the object receiver and have the event type event_type. | |
static void | removePostedEvents (QObject *receiver, int eventType=0) |
static QAbstractEventDispatcher * | eventDispatcher () |
Returns a pointer to the event dispatcher object for the main thread. | |
static void | setEventDispatcher (QAbstractEventDispatcher *eventDispatcher) |
Sets the event dispatcher for the main thread to eventDispatcher. | |
static bool | startingUp () |
Returns true if an application object has not been created yet; otherwise returns false . | |
static bool | closingDown () |
Returns true if the application objects are being destroyed; otherwise returns false . | |
static QString | applicationDirPath () |
Returns the directory that contains the application executable. | |
static QString | applicationFilePath () |
Returns the file path of the application executable. | |
static qint64 | applicationPid () Q_DECL_CONST_FUNCTION |
static bool | installTranslator (QTranslator *messageFile) |
Adds the translation file translationFile to the list of translation files to be used for translations. | |
static bool | removeTranslator (QTranslator *messageFile) |
Removes the translation file translationFile from the list of translation files used by this application. | |
static QString | translate (const char *context, const char *key, const char *disambiguation=nullptr, int n=-1) |
\threadsafe | |
static bool | isQuitLockEnabled () |
static void | setQuitLockEnabled (bool enabled) |
Static Public Member Functions inherited from QObject | |
static QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
\threadsafe | |
static QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot) |
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
\threadsafe | |
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
static bool | disconnect (const QMetaObject::Connection &) |
Disconnect a connection. | |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot) |
template<typename Func1 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero) |
Protected Attributes inherited from QObject | |
QScopedPointer< QObjectData > | d_ptr |
Properties inherited from QApplication | |
int | cursorFlashTime |
the text cursor's flash (blink) time in milliseconds | |
int | doubleClickInterval |
the time limit in milliseconds that distinguishes a double click from two consecutive mouse clicks | |
int | keyboardInputInterval |
the time limit in milliseconds that distinguishes a key press from two consecutive key presses | |
int | startDragTime |
the time in milliseconds that a mouse button must be held down before a drag and drop operation will begin | |
int | startDragDistance |
the minimum distance required for a drag and drop operation to start. | |
QString | styleSheet |
the application style sheet | |
bool | autoSipEnabled |
toggles automatic SIP (software input panel) visibility | |
Properties inherited from QGuiApplication | |
QIcon | windowIcon |
the default window icon | |
QString | applicationDisplayName |
the user-visible name of this application | |
QString | desktopFileName |
the base name of the desktop entry for this application | |
Qt::LayoutDirection | layoutDirection |
the default layout direction for this application | |
QString | platformName |
The name of the underlying platform plugin. | |
bool | quitOnLastWindowClosed |
whether the application implicitly quits when the last window is closed. | |
QScreen * | primaryScreen |
the primary (or default) screen of the application. | |
Properties inherited from QCoreApplication | |
QString | applicationName |
the name of this application | |
QString | applicationVersion |
the version of this application | |
QString | organizationName |
the name of the organization that wrote this application | |
QString | organizationDomain |
the Internet domain of the organization that wrote this application | |
bool | quitLockEnabled |
Whether the use of the QEventLoopLocker feature can cause the application to quit. | |
Properties inherited from QObject | |
QString | objectName |
the name of this object | |
Related Symbols inherited from QApplication | |
bool | qt_sendSpontaneousEvent (QObject *receiver, QEvent *event) |
\macro qApp | |
Related Symbols inherited from QCoreApplication | |
void | qAddPostRoutine (QtCleanUpFunction ptr) |
\macro Q_COREAPP_STARTUP_FUNCTION(QtStartUpFunction ptr) | |
void | qRemovePostRoutine (QtCleanUpFunction ptr) |
\threadsafe | |
void * | resolveInterface (const char *name, int revision) const |
\macro Q_DECLARE_TR_FUNCTIONS(context) | |
Related Symbols inherited from QObject | |
template< class T > T | qobject_cast (const QObject *object) |
Returns the given object cast to type T if the object is of type T (or of a subclass); otherwise returns \nullptr. | |
template< typename T > T | qFindChildqFindChildren (const QObject *obj, const QString &name)() |
template< typename T > QList< T > | qFindChildrenqFindChildren (const QObject *obj, const QString &name)() |
QObjectList | |
\macro Q_CLASSINFO(Name, Value) | |
Definition at line 24 of file qdesigner.h.
Enumerator | |
---|---|
ParseArgumentsSuccess | |
ParseArgumentsError | |
ParseArgumentsHelpRequested |
Definition at line 28 of file qdesigner.h.
QDesigner::QDesigner | ( | int & | argc, |
char ** | argv ) |
Definition at line 58 of file qdesigner.cpp.
References QDesigner().
Referenced by QDesigner(), and main().
|
override |
Definition at line 71 of file qdesigner.cpp.
|
overrideprotectedvirtual |
\reimp
Reimplemented from QApplication.
Definition at line 292 of file qdesigner.cpp.
References QDesignerWorkbench::handleClose(), and QDesignerWorkbench::requestActivate().
|
signal |
bool QDesigner::isServerOrClientEnabled | ( | ) | const |
Definition at line 287 of file qdesigner.cpp.
Referenced by parseCommandLineArguments().
MainWindowBase * QDesigner::mainWindow | ( | ) | const |
Definition at line 325 of file qdesigner.cpp.
QDesigner::ParseArgumentsResult QDesigner::parseCommandLineArguments | ( | ) |
Definition at line 219 of file qdesigner.cpp.
References QDesignerWorkbench::core(), QDesignerWorkbench::formWindowCount(), isServerOrClientEnabled(), previousMessageHandler, QDesignerWorkbench::readInBackup(), Options::server, and QDesignerWorkbench::showNewForm().
QDesignerServer * QDesigner::server | ( | ) | const |
Definition at line 120 of file qdesigner.cpp.
void QDesigner::setMainWindow | ( | MainWindowBase * | tw | ) |
Definition at line 320 of file qdesigner.cpp.
Definition at line 78 of file qdesigner.cpp.
QDesignerWorkbench * QDesigner::workbench | ( | ) | const |
Definition at line 115 of file qdesigner.cpp.