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
radio button with an associated file picker
QString text() const
bool isNull() const
virtual QString pickFile()=0
Chooses a file, for example by displaying a file selection dialog.
void setEnabled(bool)
bool isEmpty() const
void clicked(bool checked)
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
void hide()
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 setChecked(bool)
virtual void setReadOnly(bool readOnly)
void setFile(const QString &file)
Notifies the widget of the currently selected file name.
Definition: pickfileradio.cpp:87
void show()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QAbstractButton * checkedButton() const
singleShot
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.