Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
main.cpp File Reference

(7b1ba955a6da3d4414fa206ec1c06c1fc6e16161)

#include "uic.h"
#include "option.h"
#include "driver.h"
#include <language.h>
#include <qfile.h>
#include <qdir.h>
#include <qhashfunctions.h>
#include <qtextstream.h>
#include <qcoreapplication.h>
#include <qcommandlineoption.h>
#include <qcommandlineparser.h>
#include <qfileinfo.h>
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

static QString pythonRoot (const QString &pythonPath, const QString &uiFileIn)
 
int runUic (int argc, char *argv[])
 
QT_END_NAMESPACE int main (int argc, char *argv[])
 [2]
 

Variables

static const char pythonPathVar [] = "PYTHONPATH"
 

Function Documentation

◆ main()

QT_END_NAMESPACE int main ( int argc,
char * argv[] )

[2]

[3]

[2]

[printing a custom type]

[printing a custom type] [storing a custom value]

[storing a custom value]

[retrieving a custom value]

[retrieving a custom value]

[0]

[0] [1]

[1]

[0]

[0]

[1]

[1] [2]

[2]

[0]

[0]

[2]

[2]

[22]

[22]

[3]

[3]

[4]

[4]

[10]

[10]

[qcinfo_stream]

[qcinfo_stream]

[11]

[11]

[12]

[12]

[13]

[13]

[qcinfo_printf]

[qcinfo_printf]

[14]

[14]

[15]

[15]

[16]

[16]

[17]

[17]

[0]

[0]

[1]

[1]

[2]

[2]

[Window class using revision]

[Window class using revision]

[0]

[0]

[0]

[0]

[1]

[1]

[2]

[2]

[0]

[0]

[write output] [start stream]

[start stream]

[write element]

[write element]

[finish stream]

[finish stream] [write output]

[1]

[1]

[0]

[0]

[0]

[0] //! [1]

[1]

[0]

[0] //! [1]

[1]

[0]

[0] //! [1]

[1] //! [2]

[2]

[0]

[0]

[1]

[1]

[Adding a resource]

[Adding a resource]

[Inserting an image with a cursor]

[Inserting an image with a cursor]

[Inserting an image using HTML]

[Inserting an image using HTML]

[0]

[0] //! [1]

[1]

Definition at line 229 of file main.cpp.

References runUic().

+ Here is the call graph for this function:

◆ pythonRoot()

static QString pythonRoot ( const QString & pythonPath,
const QString & uiFileIn )
static

Definition at line 25 of file main.cpp.

References QFileInfo::canonicalFilePath(), canonicalPath(), Qt::CaseInsensitive, Qt::CaseSensitive, QDir::listSeparator(), QString::size(), and Qt::SkipEmptyParts.

Referenced by runUic().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ runUic()

int runUic ( int argc,
char * argv[] )

Definition at line 52 of file main.cpp.

References Option::Absolute, QCommandLineParser::addHelpOption(), QCommandLineParser::addOption(), QCommandLineParser::addPositionalArgument(), QCommandLineParser::addVersionOption(), app, Option::autoConnection, QString::compare(), QByteArray::constData(), Cpp, Option::dependencies, Option::forceMemberFnPtrConnectionSyntax, Option::forceStringConnectionSyntax, Option::FromDot, QString::fromLatin1(), QString::fromUtf8(), Option::headerProtection, Option::idBased, Option::implicitIncludes, Option::includeFile, QString::isEmpty(), QCommandLineParser::isSet(), Driver::option(), out, Option::outputFile, QCommandLineParser::ParseAsLongOptions, QCommandLineParser::positionalArguments(), Option::postfix, Driver::printDependencies(), QCommandLineParser::process(), Python, pythonPathVar, Option::pythonResourceImport, pythonRoot(), Option::pythonRoot, qEnvironmentVariableIsSet(), qgetenv(), Option::qtNamespace, qVersion(), Option::rcPrefix, QCommandLineParser::setApplicationDescription(), QCoreApplication::setApplicationVersion(), QCommandLineOption::setDescription(), QHashSeed::setDeterministicGlobalSeed(), QFile::setFileName(), language::setLanguage(), QCommandLineParser::setSingleDashWordOptionMode(), QString::size(), QIODeviceBase::Text, QString::toLocal8Bit(), Option::translateFunction, Driver::uic(), Option::useStarImports, QStringConverter::Utf8, QCommandLineParser::value(), and QIODeviceBase::WriteOnly.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ pythonPathVar

const char pythonPathVar[] = "PYTHONPATH"
static

Definition at line 22 of file main.cpp.

Referenced by runUic().