Kross
form.h
Go to the documentation of this file.
309 QWidget* addPage(const QString& name, const QString& header = QString(), const QString& iconname = QString());
398 };
440 QWidget* addPage(const QString& name, const QString& header = QString(), const QString& iconname = QString());
582 QString showMessageBox(const QString& dialogtype, const QString& caption, const QString& message, const QString& details = QString());
641 QWidget* createWidget(QWidget* parent, const QString& className, const QString& name = QString());
KPushButton * button(ButtonCode id) const
The FormAssistant class provides access to KAssistantDialog objects as top-level containers.
Definition: form.h:384
void setAppropriate(const QString &name, bool appropriate)
Definition: form.cpp:541
QWidget * addPage(const QString &name, const QString &header=QString(), const QString &iconname=QString())
Add and return a new page.
Definition: form.cpp:532
void backClicked()
void setValid(const QString &name, bool enable)
Definition: form.cpp:552
bool isAppropriate(const QString &name) const
Definition: form.cpp:537
int exec_loop()
Same as the exec() method above provided for Python-lovers (python does not like functions named "exe...
Definition: form.h:474
int exec()
Shows the dialog as a modal dialog, blocking until the user closes it and returns the execution resul...
Definition: form.h:467
The FormDialog class provides access to KDialog objects as top-level containers.
Definition: form.h:233
int exec_loop()
Same as the exec() method above provided for Python-lovers (python does not like functions named "exe...
Definition: form.h:332
void setMainWidget(QWidget *newMainWidget)
Set the newMainWidget QWidget as main widget.
Definition: form.cpp:438
QWidget * addPage(const QString &name, const QString &header=QString(), const QString &iconname=QString())
Add and return a new page.
Definition: form.cpp:433
int exec()
Shows the dialog as a modal dialog, blocking until the user closes it and returns the execution resul...
Definition: form.h:325
bool setButtonText(const QString &button, const QString &text)
Set the text of a button.
Definition: form.cpp:372
The FormFileWidget class provides access to a KFileWidget.
Definition: form.h:56
void filterChanged(const QString &filter)
Emitted when the filter changed, i.e.
void selectionChanged()
Emitted when the user hilights one or more files in multiselection mode.
void fileSelected(const QString &file)
Emitted when the user selects a file.
void setMode(const QString &mode)
Set the Mode the FormFileWidget should have to mode .
Definition: form.cpp:144
void setMimeFilter(const QStringList &filter)
Set the mimetype filter to filter .
Definition: form.cpp:168
void fileHighlighted(const QString &)
Emitted when the user highlights a file.
The FormModule provides access to UI functionality like dialogs or widgets.
Definition: form.h:526
QString showMessageBox(const QString &dialogtype, const QString &caption, const QString &message, const QString &details=QString())
Show a messagebox.
Definition: form.cpp:645
QAction * createAction(QObject *parent)
Create and return a new QAction instance.
Definition: form.cpp:802
QObject * createLayout(QWidget *parent, const QString &layout)
Create and return a new QWidget instance.
Definition: form.cpp:694
QWidget * createWidget(const QString &className)
Create and return a new QWidget instance.
Definition: form.cpp:708
QWidget * createFileWidget(QWidget *parent, const QString &startDirOrVariable=QString())
Create and return a new FormFileWidget instance.
Definition: form.cpp:786
QWidget * createWidgetFromUI(QWidget *parent, const QString &xml)
Create and return a new QWidget instance.
Definition: form.cpp:734
QWidget * createListView(QWidget *parent)
Create and return a new FormListView instance.
Definition: form.cpp:794
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:679
QWidget * createWidgetFromUIFile(QWidget *parent, const QString &filename)
Create and return a new QWidget instance.
Definition: form.cpp:770
QWidget * createDialog(const QString &caption)
Create and return a new FormDialog instance.
Definition: form.cpp:684
QWidget * createAssistant(const QString &caption)
Create and return a new FormAssistant instance.
Definition: form.cpp:689
QObject * loadPart(QWidget *parent, const QString &name, const QUrl &url=QUrl())
Load and return a KPart component.
Definition: form.cpp:807
The FormProgressDialog class provides access to progressbar.
Definition: form.h:156
void setText(const QString &text)
Set the HTML-text that is displayed as information to the text text .
Definition: form.cpp:282
int exec()
Shows the dialog as a modal dialog, blocking until the user closes it and returns the execution resul...
Definition: form.cpp:312
void addText(const QString &text)
Add to the HTML-text that is displayed as information the text text .
Definition: form.cpp:288
void canceled()
This signal got emitted if the user requests to cancel the operation.
bool isCanceled()
Returns true if the user requested to cancel the operation.
Definition: form.cpp:321
int exec_loop()
Same as the exec() method above provided for Python-lovers (python does not like functions named "exe...
Definition: form.h:193
void setRange(int minimum, int maximum)
Set the minimum and maximum range of the progressbar.
Definition: form.cpp:277
const char header[]
QString caption()
void message(KMessage::MessageType messageType, const QString &text, const QString &caption=QString())
const char * name(StandardAction id)
Definition: action.cpp:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.