|
kwave
18.07.70
|
#include <GotoDialog.h>


Public Types | |
| typedef Kwave::SelectTimeWidget::Mode | Mode |
Public Member Functions | |
| GotoDialog (QWidget *widget, Mode mode, sample_index_t position, double sample_rate, sample_index_t signal_length, const QString &help_section) | |
| virtual | ~GotoDialog () |
| Mode | mode () |
| void | setMode (Kwave::SelectTimeWidget::Mode new_mode) |
| quint64 | pos () const |
Private Slots | |
| void | invokeHelp () |
Private Attributes | |
| QString | m_help_section |
Definition at line 32 of file GotoDialog.h.
shortcut typedef
Definition at line 38 of file GotoDialog.h.
| Kwave::GotoDialog::GotoDialog | ( | QWidget * | widget, |
| Mode | mode, | ||
| sample_index_t | position, | ||
| double | sample_rate, | ||
| sample_index_t | signal_length, | ||
| const QString & | help_section | ||
| ) |
Constructor
| widget | pointer to the parent widget |
| mode | selectionMode for the position, byTime, bySamples, byPercents |
| position | position in ms, samples or percent |
| sample_rate | number of samples per second, needed for converting between samples and time |
| signal_length | length of the signal in samples, needed for converting samples to percentage |
| help_section | section within the manual |
Definition at line 27 of file GotoDialog.cpp.
References Kwave::connect(), and invokeHelp().

|
virtual |
|
privateslot |
invoke the online help
Definition at line 62 of file GotoDialog.cpp.
References m_help_section.
Referenced by GotoDialog(), and pos().

|
inline |
Returns the current selection mode for the position (byTime, bySamples, byPercents)
Definition at line 64 of file GotoDialog.h.
References Kwave::SelectTimeWidget::bySamples, and setMode().
Referenced by Kwave::GotoPluginBase::setup().


|
inline |
Returns the current position (byTime, bySamples, byPercents)
Definition at line 75 of file GotoDialog.h.
References invokeHelp().
Referenced by Kwave::GotoPluginBase::setup().


| void Kwave::GotoDialog::setMode | ( | Kwave::SelectTimeWidget::Mode | new_mode | ) |
Set a new position mode
Definition at line 56 of file GotoDialog.cpp.
Referenced by mode().

|
private |
name of the section in the handbook
Definition at line 85 of file GotoDialog.h.
Referenced by invokeHelp().