kalarm
pickfileradio.cpp
Go to the documentation of this file.
33 PickFileRadio::PickFileRadio(QPushButton* button, LineEdit* edit, const QString& text, ButtonGroup* group, QWidget* parent)
69 connect(mGroup, SIGNAL(buttonSet(QAbstractButton*)), SLOT(slotSelectionChanged(QAbstractButton*)));
void init(QPushButton *button, LineEdit *edit=0)
Initialises the widget.
Definition: pickfileradio.cpp:55
bool isReadOnly() const
virtual void setText(const QString &str)
void fileChanged()
virtual QByteArray text(quint32 serialNumber) const =0
QString text() const
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
virtual void setReadOnly(bool readOnly)
void setFile(const QString &file)
Notifies the widget of the currently selected file name.
Definition: pickfileradio.cpp:87
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:10 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:59:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.