![]() |
Qt 6.x
The Qt SDK
|
#include "qcommandlineparser.h"#include <qcoreapplication.h>#include <private/qcoreapplication_p.h>#include <qhash.h>#include <qvarlengtharray.h>#include <qlist.h>#include <qdebug.h>#include <stdio.h>#include <stdlib.h>
Include dependency graph for qcommandlineparser.cpp:Go to the source code of this file.
Classes | |
| class | QCommandLineParserPrivate |
| struct | QCommandLineParserPrivate::PositionalArgumentDefinition |
| Documentation for positional arguments. More... | |
Typedefs | |
| typedef QHash< QString, qsizetype > | NameHash_t |
Enumerations | |
| enum | MessageType { UsageMessage , ErrorMessage } |
Functions | |
| void Q_CORE_EXPORT | qt_call_post_routines () |
| Q_DECLARE_TYPEINFO (QCommandLineParserPrivate::PositionalArgumentDefinition, Q_RELOCATABLE_TYPE) | |
| static void | showParserMessage (const QString &message, MessageType type) |
| static QString | wrapText (const QString &names, int optionNameMaxWidth, const QString &description) |
| typedef QHash<QString, qsizetype> NameHash_t |
Definition at line 25 of file qcommandlineparser.cpp.
| enum MessageType |
| Enumerator | |
|---|---|
| UsageMessage | |
| ErrorMessage | |
Definition at line 517 of file qcommandlineparser.cpp.
| Q_DECLARE_TYPEINFO | ( | QCommandLineParserPrivate::PositionalArgumentDefinition | , |
| Q_RELOCATABLE_TYPE | |||
| ) |
| void Q_CORE_EXPORT qt_call_post_routines | ( | ) |
Definition at line 309 of file qcoreapplication.cpp.
Referenced by QCommandLineParserPrivate::showHelp().
Here is the caller graph for this function:
|
static |
Definition at line 534 of file qcommandlineparser.cpp.
References QCoreApplication::applicationName, QCoreApplication::instance(), QString::isEmpty(), QObject::property(), qPrintable, title, QVariant::toString(), UsageMessage, and QString::utf16().
Referenced by QCommandLineParser::process(), QCommandLineParserPrivate::showHelp(), and QCommandLineParser::showVersion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1035 of file qcommandlineparser.cpp.
References QString::at(), i, QChar::isSpace(), QString::leftJustified(), QString::mid(), QString::size(), and text.
Referenced by QItemDelegate::drawDisplay(), QCommandLineParserPrivate::helpText(), QItemDelegatePrivate::textLayoutBounds(), QQC2::QCommonStylePrivate::viewItemDrawText(), and QQC2::QCommonStylePrivate::viewItemSize().
Here is the call graph for this function:
Here is the caller graph for this function: