Kross
form.h
316 QWidget *addPage(const QString &name, const QString &header = QString(), const QString &iconname = QString());
445 QWidget *addPage(const QString &name, const QString &header = QString(), const QString &iconname = QString());
563 * \return i18n'ed version of the string, differentiated by the comment text (like '\@title:window')
590 QString showMessageBox(const QString &dialogtype, const QString &caption, const QString &message, const QString &details = QString());
Q_OBJECTQ_OBJECT
void setRange(int minimum, int maximum)
Set the minimum and maximum range of the progressbar.
Definition: form.cpp:302
void addText(const QString &text)
Add to the HTML-text that is displayed as information the text text .
Definition: form.cpp:313
Q_SLOTSQ_SLOTS
The FormProgressDialog class provides access to progressbar.
Definition: form.h:159
void selectionChanged()
Emitted when the user highlights one or more files in multiselection mode.
bool isAppropriate(const QString &name) const
Definition: form.cpp:573
int exec_loop()
Same as the exec() method above provided for Python-lovers (python does not like functions named "exe...
Definition: form.h:482
Q_ENUMS(...)
int exec() override
Shows the dialog as a modal dialog, blocking until the user closes it and returns the execution resul...
Definition: form.h:326
void setText(const QString &text)
Set the HTML-text that is displayed as information to the text text .
Definition: form.cpp:307
QWidget * createDialog(const QString &caption)
Create and return a new FormDialog instance.
Definition: form.cpp:727
QString caption()
QWidget * createAssistant(const QString &caption)
Create and return a new FormAssistant instance.
Definition: form.cpp:732
void setAppropriate(const QString &name, bool appropriate)
Definition: form.cpp:577
QWidget * createListView(QWidget *parent)
Create and return a new FormListView instance.
Definition: form.cpp:841
void canceled()
This signal got emitted if the user requests to cancel the operation.
The FormModule provides access to UI functionality like dialogs or widgets.
Definition: form.h:535
QAction * createAction(QObject *parent)
Create and return a new QAction instance.
Definition: form.cpp:850
QWidget * createWidget(const QString &className)
Create and return a new QWidget instance.
Definition: form.cpp:753
QWidget * addPage(const QString &name, const QString &header=QString(), const QString &iconname=QString())
Add and return a new page.
Definition: form.cpp:568
The FormAssistant class provides access to KAssistantDialog objects as top-level containers.
Definition: form.h:389
QWidget * createFileWidget(QWidget *parent, const QString &startDirOrVariable=QString())
Create and return a new FormFileWidget instance.
Definition: form.cpp:832
QString showMessageBox(const QString &dialogtype, const QString &caption, const QString &message, const QString &details=QString())
Show a messagebox.
Definition: form.cpp:683
virtual int exec()
void filterChanged(const QString &filter)
Emitted when the filter changed, i.e.
QWidget * addPage(const QString &name, const QString &header=QString(), const QString &iconname=QString())
Add and return a new page.
Definition: form.cpp:470
void fileHighlighted(const QString &)
Emitted when the user highlights a file.
QObject * createLayout(QWidget *parent, const QString &layout)
Create and return a new QWidget instance.
Definition: form.cpp:737
The FormDialog class provides access to KPageDialog objects as top-level containers.
Definition: form.h:239
QObject * loadPart(QWidget *parent, const QString &name, const QUrl &url=QUrl())
Load and return a KPart component.
Definition: form.cpp:855
Q_SIGNALSQ_SIGNALS
int exec_loop()
Same as the exec() method above provided for Python-lovers (python does not like functions named "exe...
Definition: form.h:197
QWidget * showProgressDialog(const QString &caption, const QString &labelText)
Show a progressdialog to provide visible feedback on the progress of a slow operation.
Definition: form.cpp:722
void setValid(const QString &name, bool enable)
Definition: form.cpp:589
QWidget * createWidgetFromUIFile(QWidget *parent, const QString &filename)
Create and return a new QWidget instance.
Definition: form.cpp:816
QWidget * createWidgetFromUI(QWidget *parent, const QString &xml)
Create and return a new QWidget instance.
Definition: form.cpp:779
int exec_loop()
Same as the exec() method above provided for Python-lovers (python does not like functions named "exe...
Definition: form.h:336
int exec() override
Shows the dialog as a modal dialog, blocking until the user closes it and returns the execution resul...
Definition: form.cpp:337
void setMode(const QString &mode)
Set the Mode the FormFileWidget should have to mode .
Definition: form.cpp:161
bool setButtonText(const QString &button, const QString &text)
Set the text of a button.
Definition: form.cpp:401
bool isCanceled()
Returns true if the user requested to cancel the operation.
Definition: form.cpp:347
int row(const QListWidgetItem *item) const const
int exec() override
Shows the dialog as a modal dialog, blocking until the user closes it and returns the execution resul...
Definition: form.h:472
QPushButton * button(QDialogButtonBox::StandardButton which) const
QObject * parent() const const
QString message
void fileSelected(const QString &file)
Emitted when the user selects a file.
void setMimeFilter(const QStringList &filter)
Set the mimetype filter to filter .
Definition: form.cpp:185
The FormFileWidget class provides access to a KFileWidget.
Definition: form.h:58
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:09:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:09:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.