kalarm
pickfileradio.h
Go to the documentation of this file.
61 PickFileRadio(QPushButton* button, LineEdit* edit, const QString& text, ButtonGroup* group, QWidget* parent);
void init(QPushButton *button, LineEdit *edit=0)
Initialises the widget.
Definition: pickfileradio.cpp:55
QButtonGroup * group() const
void fileChanged()
QPushButton * pushButton() const
Returns the associated file browse push button.
Definition: pickfileradio.h:95
LineEdit * fileEdit() const
Returns the associated file name edit widget, or null if none.
Definition: pickfileradio.h:93
virtual QString pickFile()=0
Chooses a file, for example by displaying a file selection dialog.
virtual void setEnabled(bool)
Enables or disables the radio button, and adjusts the enabled state of the associated browse button a...
Definition: pickfileradio.cpp:101
virtual void setReadOnly(bool readOnly)
Sets whether the radio button and associated widgets are read-only for the user.
Definition: pickfileradio.cpp:73
PickFileRadio(QPushButton *button, LineEdit *edit, const QString &text, ButtonGroup *group, QWidget *parent)
Constructor.
Definition: pickfileradio.cpp:33
void setFile(const QString &file)
Notifies the widget of the currently selected file name.
Definition: pickfileradio.cpp:87
QString text() const
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:51 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:34:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.