![]() |
Qt 6.x
The Qt SDK
|
#include <pythonwriteimports.h>
Inheritance diagram for Python::WriteImports:
Collaboration diagram for Python::WriteImports:Public Types | |
| using | ClassesPerModule = QMap< QString, QStringList > |
Public Types inherited from TreeWalker | |
| using | DomWidgets = QList< DomWidget * > |
Protected Member Functions | |
| void | doAdd (const QString &className, const DomCustomWidget *dcw=nullptr) override |
Protected Member Functions inherited from WriteIncludesBase | |
| void | add (const QString &className, const DomCustomWidget *dcw=nullptr) |
| virtual void | doAdd (const QString &className, const DomCustomWidget *dcw=nullptr)=0 |
| const Uic * | uic () const |
| Uic * | uic () |
Definition at line 17 of file pythonwriteimports.h.
Definition at line 20 of file pythonwriteimports.h.
|
explicit |
Definition at line 101 of file pythonwriteimports.cpp.
References classInfoEntries(), e, and QHash< Key, T >::insert().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from TreeWalker.
Definition at line 239 of file pythonwriteimports.cpp.
References WriteIncludesBase::acceptProperty(), DomProperty::elementEnum(), DomProperty::elementSet(), DomProperty::Enum, DomProperty::kind(), and DomProperty::Set.
Here is the call graph for this function:Reimplemented from TreeWalker.
Definition at line 108 of file pythonwriteimports.cpp.
References WriteIncludesBase::acceptUI(), Uic::driver(), DomUI::elementResources(), Python::formatClasses(), QMap< Key, T >::isEmpty(), QByteArray::number(), Driver::option(), Uic::output(), output, QByteArrayLiteral, WriteIncludesBase::uic(), and Option::useStarImports.
Referenced by Uic::write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overrideprotectedvirtual |
Implements WriteIncludesBase.
Definition at line 184 of file pythonwriteimports.cpp.
References WriteIncludesBase::add(), className, Uic::customWidgetsInfo(), CustomWidgetsInfo::extends(), qPrintable, QStringLiteral, qWarning, and WriteIncludesBase::uic().
Here is the call graph for this function: