pickfileradio.h
Go to the documentation of this file.
62 PickFileRadio(TQPushButton* button, LineEdit* edit, const TQString& text, TQButtonGroup* parent, const char* name = 0);
LineEdit * fileEdit() const
Returns the associated file name edit widget, or null if none.
Definition: pickfileradio.h:95
void init(TQPushButton *button, LineEdit *edit=0)
Initialises the widget.
Definition: pickfileradio.cpp:61
TQPushButton * pushButton() const
Returns the associated file browse push button.
Definition: pickfileradio.h:97
PickFileRadio(TQPushButton *button, LineEdit *edit, const TQString &text, TQButtonGroup *parent, const char *name=0)
Constructor.
Definition: pickfileradio.cpp:33
virtual void setEnabled(bool)
Enables or disables the radio button, and adjusts the enabled state of the associated browse button a...
Definition: pickfileradio.cpp:102
void setFile(const TQString &file)
Notifies the widget of the currently selected file name.
Definition: pickfileradio.cpp:88
virtual TQString pickFile()=0
Chooses a file, for example by displaying a file selection dialogue.
virtual void setReadOnly(bool readOnly)
Sets whether the radio button and associated widgets are read-only for the user.
Definition: pickfileradio.cpp:74