Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qdesigner.cpp File Reference

(4b066c20a5111b72ad539323ff2608268ffa90c8)

#include "qdesigner.h"
#include "qdesigner_actions.h"
#include "qdesigner_server.h"
#include "qdesigner_settings.h"
#include "qdesigner_workbench.h"
#include "mainwindow.h"
#include <QtDesigner/abstractintegration.h>
#include <QtDesigner/abstractformeditor.h>
#include <qdesigner_propertysheet_p.h>
#include <QtGui/qevent.h>
#include <QtWidgets/qmessagebox.h>
#include <QtGui/qicon.h>
#include <QtWidgets/qerrormessage.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/qdir.h>
#include <QtCore/qfile.h>
#include <QtCore/qlibraryinfo.h>
#include <QtCore/qlocale.h>
#include <QtCore/qtextstream.h>
#include <QtCore/qtimer.h>
#include <QtCore/qtranslator.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qdebug.h>
#include <QtCore/qcommandlineparser.h>
#include <QtCore/qcommandlineoption.h>
#include <QtCore/qversionnumber.h>
#include <QtCore/qvariant.h>
#include <QtDesigner/QDesignerComponents>
#include <optional>
+ Include dependency graph for qdesigner.cpp:

Go to the source code of this file.

Classes

struct  Options
 

Functions

static void designerMessageHandler (QtMsgType type, const QMessageLogContext &context, const QString &msg)
 
static void showHelp (QCommandLineParser &parser, const QString &errorMessage=QString())
 
static QDesigner::ParseArgumentsResult parseDesignerCommandLineArguments (QCommandLineParser &parser, Options *options, QString *errorMessage)
 

Variables

static constexpr auto designerApplicationName = "Designer"_L1
 
static constexpr auto designerDisplayName = "Qt Widgets Designer"_L1
 
static constexpr auto designerWarningPrefix = "Designer: "_L1
 
static QtMessageHandler previousMessageHandler = nullptr
 

Function Documentation

◆ designerMessageHandler()

static void designerMessageHandler ( QtMsgType type,
const QMessageLogContext & context,
const QString & msg )
static

Definition at line 47 of file qdesigner.cpp.

References previousMessageHandler.

◆ parseDesignerCommandLineArguments()

static QDesigner::ParseArgumentsResult parseDesignerCommandLineArguments ( QCommandLineParser & parser,
Options * options,
QString * errorMessage )
inlinestatic

Definition at line 152 of file qdesigner.cpp.

References Options::enableInternalDynamicProperties, and Options::server.

◆ showHelp()

static void showHelp ( QCommandLineParser & parser,
const QString & errorMessage = QString() )
static

Definition at line 125 of file qdesigner.cpp.

Variable Documentation

◆ designerApplicationName

static constexpr auto designerApplicationName = "Designer"_L1
staticconstexpr

Definition at line 42 of file qdesigner.cpp.

◆ designerDisplayName

static constexpr auto designerDisplayName = "Qt Widgets Designer"_L1
staticconstexpr

Definition at line 43 of file qdesigner.cpp.

◆ designerWarningPrefix

static constexpr auto designerWarningPrefix = "Designer: "_L1
staticconstexpr

Definition at line 44 of file qdesigner.cpp.

◆ previousMessageHandler

static QtMessageHandler previousMessageHandler = nullptr
static

Definition at line 45 of file qdesigner.cpp.

Referenced by designerMessageHandler(), and QDesigner::parseCommandLineArguments().