![]() |
Qt 6.x
The Qt SDK
|
#include <pythonwriteimports.h>
Public Types | |
using | ClassesPerModule = QMap< QString, QStringList > |
![]() | |
using | DomWidgets = QList< DomWidget * > |
Protected Member Functions | |
void | doAdd (const QString &className, const DomCustomWidget *dcw=nullptr) override |
![]() | |
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().
|
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.
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().
|
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().