kstars
TimeStepBox Class Reference
This composite widget consists of a TimeSpinBox (a QSpinBox), coupled with a TimeUnitBox (a second pair of up/down buttons). More...
#include <timestepbox.h>
Inheritance diagram for TimeStepBox:

Signals | |
void | scaleChanged (float) |
Public Member Functions | |
bool | daysOnly () const |
void | setDaysOnly (bool daysonly) |
TimeStepBox (QWidget *parent=0, const char *name=0, bool daysonly=false) | |
TimeSpinBox * | tsbox () const |
TimeUnitBox * | unitbox () const |
~TimeStepBox () |
Detailed Description
This composite widget consists of a TimeSpinBox (a QSpinBox), coupled with a TimeUnitBox (a second pair of up/down buttons).The second set of buttons makes larger steps through the 82 possible time-step values, skipping to the next even unit of time. Composite spinbox for specifying a time step.
- Version:
- 1.0
Definition at line 36 of file timestepbox.h.
Constructor & Destructor Documentation
TimeStepBox::TimeStepBox | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 , |
|||
bool | daysonly = false | |||
) |
TimeStepBox::~TimeStepBox | ( | ) | [inline] |
Member Function Documentation
bool TimeStepBox::daysOnly | ( | ) | const [inline] |
Definition at line 50 of file timestepbox.h.
void TimeStepBox::scaleChanged | ( | float | ) | [signal] |
void TimeStepBox::setDaysOnly | ( | bool | daysonly | ) |
Definition at line 66 of file timestepbox.cpp.
TimeSpinBox* TimeStepBox::tsbox | ( | ) | const [inline] |
TimeUnitBox* TimeStepBox::unitbox | ( | ) | const [inline] |
The documentation for this class was generated from the following files: