|
wiRedPanda
Logic Circuit Simulator
|
Modal dialog for setting the BeWavedDolphin simulation length (number of time steps). More...
#include <LengthDialog.h>
Public Member Functions | |
| int | length () const |
| LengthDialog (const int currentLength, QWidget *parent=nullptr) | |
| Constructs the dialog. | |
| ~LengthDialog () override | |
Modal dialog for setting the BeWavedDolphin simulation length (number of time steps).
Provides a slider and spin-box for entering the desired column count.
Definition at line 22 of file LengthDialog.h.
|
explicit |
Constructs the dialog.
| currentLength | The initial simulation length value. |
| parent | Optional parent widget. |
Definition at line 8 of file LengthDialog.cpp.
|
override |
Definition at line 23 of file LengthDialog.cpp.
| int LengthDialog::length | ( | ) | const |
Returns the selected simulation length. Pure accessor: the caller runs exec() and reads this only on QDialog::Accepted.
Definition at line 27 of file LengthDialog.cpp.