umbrello/umbrello
codeimpstatuspage.cpp
Go to the documentation of this file.
60 setSubTitle(i18n("Press the button 'Start import' to start the code import.\nCheck the success state for every class."));
138 ui_textEditLogger->setHtml(i18np("<b>Code import of 1 file:</b><br>", "<b>Code import of %1 files:</b><br>", m_files.size()));
175 connect(worker, SIGNAL(messageToWiz(QString,QString)), this, SLOT(updateStatus(QString,QString)));
176 connect(worker, SIGNAL(messageToLog(QString,QString)), this, SLOT(messageToLog(QString,QString)));
206 // Modification is set after the import is made, because the file was modified when adding the classes.
243 // Modification is set after the import is made, because the file was modified when adding the classes.
278 ui_textEditLogger->insertHtml(QLatin1String("\n<b>") + file + QLatin1String(":</b> ") + text + QLatin1String("<br>"));
Definition: codeimpstatuspage.h:80
void setupUi(QWidget *widget)
void updateStatus(const QString &file, const QString &text)
Updates the status of the code import in the status table.
Definition: codeimpstatuspage.cpp:287
void setCommitPage(bool commitPage)
void setSubTitle(const QString &subTitle)
void populateStatusList()
Fills the status list with the selected classes for generation.
Definition: codeimpstatuspage.cpp:98
const T & at(int i) const
void completeChanged()
bool isVisible() const
void messageToApp(const QString &text)
Slot for messageToApp events generated by the code import worker.
Definition: codeimpstatuspage.cpp:225
void loggerClear()
Slot for clicked events generated by the clear button of the logger.
Definition: codeimpstatuspage.cpp:318
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:910
int size() const
QList< QFileInfo > selectedFiles()
Returns a list, which contains the classes for importing.
Definition: codeimportingwizard.cpp:89
int count(const T &value) const
QString fileName() const
bool isEmpty() const
void messageToLog(const QString &file, const QString &text)
Writes messages of the code import to a log device.
Definition: codeimpstatuspage.cpp:272
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
void initializePage()
Reimplemented QWizardPage method to initialize page after clicking next button.
Definition: codeimpstatuspage.cpp:88
void setModified(bool modified=true)
Sets the modified flag for the document after a modifying action on the view connected to the documen...
Definition: umldoc.cpp:2652
Thread class that does the code import work for one file.
Definition: codeimpthread.h:35
virtual void close()
bool invokeMethod(QObject *obj, const char *member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0, QGenericArgument val1, QGenericArgument val2, QGenericArgument val3, QGenericArgument val4, QGenericArgument val5, QGenericArgument val6, QGenericArgument val7, QGenericArgument val8, QGenericArgument val9)
void setFinalPage(bool finalPage)
Definition: codeimportingwizard.h:34
QWizard * wizard() const
void setLoading(bool state=true)
Sets loading boolean flag to the value given.
Definition: umldoc.cpp:1253
QWidget * parentWidget() const
void setText(const QString &text)
void importNextFile(bool noError=true)
Definition: codeimpstatuspage.cpp:192
bool isComplete() const
Reimplemented QWizardPage method the enable / disable the next button.
Definition: codeimpstatuspage.cpp:262
void loggerExport()
Slot for clicked events generated by the export button of the logger.
Definition: codeimpstatuspage.cpp:327
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setTitle(const QString &title)
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.