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
CPP::WriteInitialization Struct Reference

#include <cppwriteinitialization.h>

+ Inheritance diagram for CPP::WriteInitialization:
+ Collaboration diagram for CPP::WriteInitialization:

Public Types

enum  { Use43UiFile = 0 , TopLevelMargin , ChildMargin , SubLayoutMargin }
 
using DomPropertyList = QList<DomProperty*>
 
using DomPropertyMap = QHash<QString, DomProperty*>
 
- Public Types inherited from TreeWalker
using DomWidgets = QList<DomWidget *>
 

Public Member Functions

 WriteInitialization (Uic *uic)
 
void acceptUI (DomUI *node) override
 
void acceptWidget (DomWidget *node) override
 
void acceptLayout (DomLayout *node) override
 
void acceptSpacer (DomSpacer *node) override
 
void acceptLayoutItem (DomLayoutItem *node) override
 
void acceptActionGroup (DomActionGroup *node) override
 
void acceptAction (DomAction *node) override
 
void acceptActionRef (DomActionRef *node) override
 
void acceptTabStops (DomTabStops *tabStops) override
 
void acceptCustomWidgets (DomCustomWidgets *node) override
 
void acceptCustomWidget (DomCustomWidget *node) override
 
void acceptLayoutDefault (DomLayoutDefault *node) override
 
void acceptLayoutFunction (DomLayoutFunction *node) override
 
void acceptConnection (DomConnection *connection) override
 
- Public Member Functions inherited from TreeWalker
 TreeWalker ()=default
 
virtual ~TreeWalker ()=default
 
virtual void acceptColor (DomColor *color)
 
virtual void acceptColorGroup (DomColorGroup *colorGroup)
 
virtual void acceptPalette (DomPalette *palette)
 
virtual void acceptFont (DomFont *font)
 
virtual void acceptPoint (DomPoint *point)
 
virtual void acceptRect (DomRect *rect)
 
virtual void acceptSizePolicy (DomSizePolicy *sizePolicy)
 
virtual void acceptSize (DomSize *size)
 
virtual void acceptDate (DomDate *date)
 
virtual void acceptTime (DomTime *time)
 
virtual void acceptDateTime (DomDateTime *dateTime)
 
virtual void acceptProperty (DomProperty *property)
 
virtual void acceptIncludes (DomIncludes *includes)
 
virtual void acceptInclude (DomInclude *incl)
 
virtual void acceptConnections (DomConnections *connections)
 
virtual void acceptConnectionHints (DomConnectionHints *connectionHints)
 
virtual void acceptConnectionHint (DomConnectionHint *connectionHint)
 
virtual void acceptButtonGroups (const DomButtonGroups *buttonGroups)
 
virtual void acceptButtonGroup (const DomButtonGroup *buttonGroup)
 

Friends

class QTypeInfo< Buddy >
 

Detailed Description

Definition at line 63 of file cppwriteinitialization.h.

Member Typedef Documentation

◆ DomPropertyList

◆ DomPropertyMap

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Use43UiFile 
TopLevelMargin 
ChildMargin 
SubLayoutMargin 

Definition at line 109 of file cppwriteinitialization.h.

Constructor & Destructor Documentation

◆ WriteInitialization()

CPP::WriteInitialization::WriteInitialization ( Uic * uic)

Definition at line 558 of file cppwriteinitialization.cpp.

References WriteInitialization(), Uic::driver(), and Uic::option().

Referenced by WriteInitialization(), CPP::WriteDeclaration::acceptUI(), and Python::WriteDeclaration::acceptUI().

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

Member Function Documentation

◆ acceptAction()

void CPP::WriteInitialization::acceptAction ( DomAction * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 1182 of file cppwriteinitialization.cpp.

◆ acceptActionGroup()

void CPP::WriteInitialization::acceptActionGroup ( DomActionGroup * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 1165 of file cppwriteinitialization.cpp.

References TreeWalker::acceptActionGroup().

+ Here is the call graph for this function:

◆ acceptActionRef()

void CPP::WriteInitialization::acceptActionRef ( DomActionRef * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 1198 of file cppwriteinitialization.cpp.

References Driver::actionByName(), QtPrivate::asString(), Uic::isMenu(), and Driver::widgetByName().

+ Here is the call graph for this function:

◆ acceptConnection()

void CPP::WriteInitialization::acceptConnection ( DomConnection * connection)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 2797 of file cppwriteinitialization.cpp.

References language::Ambiguous, QtPrivate::asString(), Uic::customWidgetsInfo(), CustomWidgetsInfo::isAmbiguousSignal(), and CustomWidgetsInfo::isAmbiguousSlot().

+ Here is the call graph for this function:

◆ acceptCustomWidget()

void CPP::WriteInitialization::acceptCustomWidget ( DomCustomWidget * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 2182 of file cppwriteinitialization.cpp.

◆ acceptCustomWidgets()

void CPP::WriteInitialization::acceptCustomWidgets ( DomCustomWidgets * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 2187 of file cppwriteinitialization.cpp.

◆ acceptLayout()

void CPP::WriteInitialization::acceptLayout ( DomLayout * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 987 of file cppwriteinitialization.cpp.

References TreeWalker::acceptLayout(), SubLayoutMargin, and Use43UiFile.

+ Here is the call graph for this function:

◆ acceptLayoutDefault()

void CPP::WriteInitialization::acceptLayoutDefault ( DomLayoutDefault * node)
inlineoverridevirtual

Reimplemented from TreeWalker.

Definition at line 101 of file cppwriteinitialization.h.

Referenced by acceptUI().

+ Here is the caller graph for this function:

◆ acceptLayoutFunction()

void CPP::WriteInitialization::acceptLayoutFunction ( DomLayoutFunction * node)
inlineoverridevirtual

Reimplemented from TreeWalker.

Definition at line 102 of file cppwriteinitialization.h.

Referenced by acceptUI().

+ Here is the caller graph for this function:

◆ acceptLayoutItem()

void CPP::WriteInitialization::acceptLayoutItem ( DomLayoutItem * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 1128 of file cppwriteinitialization.cpp.

References TreeWalker::acceptLayoutItem().

+ Here is the call graph for this function:

◆ acceptSpacer()

void CPP::WriteInitialization::acceptSpacer ( DomSpacer * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 1097 of file cppwriteinitialization.cpp.

◆ acceptTabStops()

void CPP::WriteInitialization::acceptTabStops ( DomTabStops * tabStops)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 2192 of file cppwriteinitialization.cpp.

References QtPrivate::asString().

Referenced by acceptUI().

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

◆ acceptUI()

void CPP::WriteInitialization::acceptUI ( DomUI * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 569 of file cppwriteinitialization.cpp.

References TreeWalker::acceptConnections(), TreeWalker::acceptCustomWidgets(), acceptLayoutDefault(), acceptLayoutFunction(), acceptTabStops(), acceptWidget(), Option::autoConnection, Cpp, language::language(), and Python.

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

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

◆ acceptWidget()

void CPP::WriteInitialization::acceptWidget ( DomWidget * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 708 of file cppwriteinitialization.cpp.

References TreeWalker::acceptWidget(), Uic::customWidgetsInfo(), Uic::isButton(), Uic::isContainer(), and CustomWidgetsInfo::simpleContainerAddPageMethod().

Referenced by acceptUI().

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

Friends And Related Symbol Documentation

◆ QTypeInfo< Buddy >

friend class QTypeInfo< Buddy >
friend

Definition at line 229 of file cppwriteinitialization.h.


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