Options Class Reference
The widget for the Options tab page. More...
#include <options.h>
Inherits OptionsTmpl.
Inheritance diagram for Options:
Signals | |
void | dockStatusChanged () |
Public Methods | |
Options (QWidget *parent=0, const char *name=0) | |
~Options () | |
Protected Slots | |
void | slotSetTimeFormat (int id) |
void | slotSetReportSignals (int id) |
void | slotSetMinToPanel () |
void | slotSetDrawGrid () |
void | slotSetRefreshInterval (int ri) |
void | slotSetSoundOption () |
void | slotSelectSound () |
void | slotPlaySound () |
void | slotSetSound () |
void | slotEnableRecordCheckbox (bool) |
Protected Methods | |
void | setSound (const QString &s) |
Detailed Description
The widget for the Options tab page.
Definition at line 57 of file options.h.
Constructor & Destructor Documentation
|
The constructor.
Definition at line 33 of file options.cpp. References globalopts, QRadioButton::setChecked(), QCheckBox::setChecked(), QPushButton::setPixmap(), QLineEdit::setText(), QSlider::setValue(), and slotSetRefreshInterval(). |
|
The destructor.
Definition at line 58 of file options.cpp. |
Member Function Documentation
|
Stores the path to the sound file in the application-wide options. Only if the string s is non-empty, the Play button will be enabled.
Definition at line 135 of file options.cpp. References globalopts. Referenced by slotSelectSound(), and slotSetSound(). |
|
Stores the settings of Time Format radio buttons in the application-wide options.
Reimplemented from OptionsTmpl. Definition at line 63 of file options.cpp. References globalopts. |
|
Stores the settings of Report New Signals check boxes in the application-wide options.
Reimplemented from OptionsTmpl. Definition at line 72 of file options.cpp. References globalopts, and QCheckBox::isChecked(). |
|
Stores the state of the Minimize To Panel check box in the application-wide options.
Reimplemented from OptionsTmpl. Definition at line 92 of file options.cpp. References dockStatusChanged(), globalopts, and QCheckBox::isChecked(). |
|
Stores the state of the Draw Grid check box in the application-wide options.
Reimplemented from OptionsTmpl. Definition at line 99 of file options.cpp. References globalopts, and QCheckBox::isChecked(). |
|
Sets the refresh interval of all S@h locations to the value adjusted with the slider. The refresh interval is also stored in the application-wide options.
Reimplemented from OptionsTmpl. Definition at line 145 of file options.cpp. References QList< SetiLoc >::first(), globalopts, Ksetiwatch::locationList(), QList< SetiLoc >::next(), SetiContainer::setRefreshInterval(), QGroupBox::setTitle(), and QString::sprintf(). Referenced by Options(). |
|
Stores the state of the Play Sound check box in the application-wide options.
Reimplemented from OptionsTmpl. Definition at line 105 of file options.cpp. References globalopts, and QCheckBox::isChecked(). |
|
Opens a file dialog for the selection of a sound file. The selected sound file and the path will be passed to the corresponding line edit field. Reimplemented from OptionsTmpl. Definition at line 111 of file options.cpp. References QString::isEmpty(), setSound(), and QLineEdit::setText(). |
|
Plays the currently selected sound.
Reimplemented from OptionsTmpl. Definition at line 122 of file options.cpp. References globalopts, and KAudioPlayer::play(). |
|
Sets the sound entered into the line edit field as the active sound.
Reimplemented from OptionsTmpl. Definition at line 129 of file options.cpp. References setSound(), and QLineEdit::text(). |
|
Enables/disables the 'Show Records' check box. The 'Show Records' check box is enabled if at least one of the four different signal check boxes is checked, otherwise it is disabled. Reimplemented from OptionsTmpl. Definition at line 179 of file options.cpp. References QCheckBox::isChecked(). |
|
This signal will be emitted whenever the user toggles the Minimize To Panel check box.
Referenced by slotSetMinToPanel(). |
The documentation for this class was generated from the following files: