Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <pythonwriteimports.h>
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) |
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(), and QHash< Key, T >::insert().
|
overridevirtual |
Reimplemented from TreeWalker.
Definition at line 243 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.
|
overrideprotectedvirtual |
Implements WriteIncludesBase.
Definition at line 184 of file pythonwriteimports.cpp.
References WriteIncludesBase::add(), className, Uic::customWidgetsInfo(), qPrintable, QStringLiteral, qWarning, and WriteIncludesBase::uic().