• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

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:

Inheritance graph
[legend]

List of all members.


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.

Author:
Jason Harris
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 
)

Constructor.

Definition at line 26 of file timestepbox.cpp.

TimeStepBox::~TimeStepBox (  )  [inline]

Destructor.

(empty)

Definition at line 42 of file timestepbox.h.


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]

Returns:
a pointer to the child TimeSpinBox

Definition at line 45 of file timestepbox.h.

TimeUnitBox* TimeStepBox::unitbox (  )  const [inline]

Returns:
a pointer to the child TimeUnitBox

Definition at line 48 of file timestepbox.h.


The documentation for this class was generated from the following files:
  • timestepbox.h
  • timestepbox.cpp

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal