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