![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <rcc.h>
#include <qdebug.h>
#include <qdir.h>
#include <qfile.h>
#include <qfileinfo.h>
#include <qhashfunctions.h>
#include <qtextstream.h>
#include <qatomic.h>
#include <qglobal.h>
#include <qcoreapplication.h>
#include <qcommandlineoption.h>
#include <qcommandlineparser.h>
Go to the source code of this file.
Macros | |
#define | ALGOS "[zlib], none" |
Functions | |
void | dumpRecursive (const QDir &dir, QTextStream &out) |
int | createProject (const QString &outFileName) |
QString | makefileEscape (const QString &filepath) |
void | writeDepFile (QIODevice &iodev, const QStringList &depsList, const QString &targetName) |
int | runRcc (int argc, char *argv[]) |
QT_END_NAMESPACE int | main (int argc, char *argv[]) |
[2] | |
#define ALGOS "[zlib], none" |
void dumpRecursive | ( | const QDir & | dir, |
QTextStream & | out ) |
QT_END_NAMESPACE int main | ( | int | argc, |
char * | argv[] ) |
[2]
[main_cpp]
[main.cpp body]
The main function for the string list model example.
Create a default directory model and, using the index-based interface to the model and some QLabel widgets, populate the window's layout with the names of objects in the directory.
[0] //! [1]
[1]
[using a custom style]
[QApplication subclass]
[21]
[getter functions]
[0]
[3]
[4]
This creates and populates a model with values from a string list then displays the contents of the model using a QListView widget. [0]
[0] [1]
[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]
[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 425 of file main.cpp.
References runRcc().
int runRcc | ( | int | argc, |
char * | argv[] ) |
Definition at line 110 of file main.cpp.
References QtPrivate::asString(), RCCResourceLibrary::Binary, RCCResourceLibrary::C_Code, RCCResourceLibrary::compressionAlgorithm(), RCCResourceLibrary::format(), RCCResourceLibrary::None, RCCResourceLibrary::Pass1, RCCResourceLibrary::Pass2, RCCResourceLibrary::Python_Code, RCCResourceLibrary::setCompressionAlgorithm(), RCCResourceLibrary::setCompressLevel(), RCCResourceLibrary::setFormat(), RCCResourceLibrary::setNoZstd(), RCCResourceLibrary::setUseNameSpace(), RCCResourceLibrary::setVerbose(), RCCResourceLibrary::useNameSpace(), and RCCResourceLibrary::Zstd.
Referenced by main().