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
Option Struct Reference

#include <option.h>

+ Collaboration diagram for Option:

Public Types

enum class  PythonResourceImport { Default , FromDot , Absolute }
 

Public Member Functions

 Option ()
 
QString messagePrefix () const
 

Public Attributes

unsigned int headerProtection: 1
 
unsigned int copyrightHeader: 1
 
unsigned int generateImplemetation: 1
 
unsigned int generateNamespace: 1
 
unsigned int autoConnection: 1
 
unsigned int dependencies: 1
 
unsigned int limitXPM_LineLength: 1
 
unsigned int implicitIncludes: 1
 
unsigned int idBased: 1
 
unsigned int forceMemberFnPtrConnectionSyntax: 1
 
unsigned int forceStringConnectionSyntax: 1
 
unsigned int useStarImports: 1
 
unsigned int rcPrefix: 1
 
unsigned int qtNamespace: 1
 
QString inputFile
 
QString outputFile
 
QString qrcOutputFile
 
QString indent
 
QString prefix
 
QString postfix
 
QString translateFunction
 
QString includeFile
 
QString pythonRoot
 
PythonResourceImport pythonResourceImport = PythonResourceImport::Default
 

Detailed Description

Definition at line 12 of file option.h.

Member Enumeration Documentation

◆ PythonResourceImport

enum class Option::PythonResourceImport
strong
Enumerator
Default 
FromDot 
Absolute 

Definition at line 14 of file option.h.

Constructor & Destructor Documentation

◆ Option()

Option::Option ( )
inline

Definition at line 47 of file option.h.

References Option(), autoConnection, copyrightHeader, dependencies, forceMemberFnPtrConnectionSyntax, forceStringConnectionSyntax, generateImplemetation, generateNamespace, headerProtection, idBased, implicitIncludes, limitXPM_LineLength, qtNamespace, rcPrefix, and useStarImports.

Referenced by Option().

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

Member Function Documentation

◆ messagePrefix()

QString Option::messagePrefix ( ) const
inline

Definition at line 65 of file option.h.

Member Data Documentation

◆ autoConnection

unsigned int Option::autoConnection

Definition at line 24 of file option.h.

Referenced by Option(), and CPP::WriteInitialization::acceptUI().

◆ copyrightHeader

unsigned int Option::copyrightHeader

Definition at line 21 of file option.h.

Referenced by Option(), and Uic::write().

◆ dependencies

unsigned int Option::dependencies

Definition at line 25 of file option.h.

Referenced by Option(), and runUic().

◆ forceMemberFnPtrConnectionSyntax

unsigned int Option::forceMemberFnPtrConnectionSyntax

Definition at line 29 of file option.h.

Referenced by Option(), and runUic().

◆ forceStringConnectionSyntax

unsigned int Option::forceStringConnectionSyntax

Definition at line 30 of file option.h.

Referenced by Option(), and runUic().

◆ generateImplemetation

unsigned int Option::generateImplemetation

Definition at line 22 of file option.h.

Referenced by Option().

◆ generateNamespace

unsigned int Option::generateNamespace

Definition at line 23 of file option.h.

Referenced by Option(), and CPP::WriteDeclaration::acceptUI().

◆ headerProtection

unsigned int Option::headerProtection

Definition at line 20 of file option.h.

Referenced by Option(), runUic(), and Uic::write().

◆ idBased

unsigned int Option::idBased

Definition at line 28 of file option.h.

Referenced by Option().

◆ implicitIncludes

unsigned int Option::implicitIncludes

Definition at line 27 of file option.h.

Referenced by Option().

◆ includeFile

QString Option::includeFile

Definition at line 42 of file option.h.

◆ indent

QString Option::indent

Definition at line 38 of file option.h.

◆ inputFile

QString Option::inputFile

Definition at line 35 of file option.h.

◆ limitXPM_LineLength

unsigned int Option::limitXPM_LineLength

Definition at line 26 of file option.h.

Referenced by Option().

◆ outputFile

QString Option::outputFile

Definition at line 36 of file option.h.

◆ postfix

QString Option::postfix

Definition at line 40 of file option.h.

◆ prefix

QString Option::prefix

Definition at line 39 of file option.h.

◆ pythonResourceImport

PythonResourceImport Option::pythonResourceImport = PythonResourceImport::Default

Definition at line 45 of file option.h.

Referenced by runUic().

◆ pythonRoot

QString Option::pythonRoot

Definition at line 43 of file option.h.

◆ qrcOutputFile

QString Option::qrcOutputFile

Definition at line 37 of file option.h.

◆ qtNamespace

unsigned int Option::qtNamespace

Definition at line 33 of file option.h.

Referenced by Option().

◆ rcPrefix

unsigned int Option::rcPrefix

Definition at line 32 of file option.h.

Referenced by Option(), and runUic().

◆ translateFunction

QString Option::translateFunction

Definition at line 41 of file option.h.

◆ useStarImports

unsigned int Option::useStarImports

Definition at line 31 of file option.h.

Referenced by Option().


The documentation for this struct was generated from the following file: