|
wiRedPanda
Logic Circuit Simulator
|
Modal dialog for selecting the period of a beWavedDolphin clock wave. More...
#include <ClockDialog.h>
Public Member Functions | |
| ClockDialog (const int currentPeriod, QWidget *parent=nullptr) | |
| Constructs the dialog with currentPeriod (in time-step columns) as the initial value. | |
| int | period () const |
| Returns the selected clock period, in waveform time-step columns. | |
| ~ClockDialog () override | |
Modal dialog for selecting the period of a beWavedDolphin clock wave.
Presents a slider and spin-box linked to the same period value (measured in waveform time-step columns). Run the dialog with exec() and, on QDialog::Accepted, read the chosen value via period().
Definition at line 24 of file ClockDialog.h.
|
explicit |
Constructs the dialog with currentPeriod (in time-step columns) as the initial value.
Definition at line 8 of file ClockDialog.cpp.
|
override |
Definition at line 23 of file ClockDialog.cpp.
| int ClockDialog::period | ( | ) | const |
Returns the selected clock period, in waveform time-step columns.
Definition at line 27 of file ClockDialog.cpp.