• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

Signals | Public Member Functions | List of all members
TimeStepBox Class Reference

#include <timestepbox.h>

Inheritance diagram for TimeStepBox:
Inheritance graph
[legend]

Signals

void scaleChanged (float)
 

Public Member Functions

 TimeStepBox (QWidget *parent=0, bool daysonly=false)
 
 ~TimeStepBox ()
 
bool daysOnly () const
 
void setDaysOnly (bool daysonly)
 
TimeSpinBox * tsbox () const
 
TimeUnitBox * unitbox () const
 

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 34 of file timestepbox.h.

Constructor & Destructor Documentation

TimeStepBox::TimeStepBox ( QWidget *  parent = 0,
bool  daysonly = false 
)
explicit

Constructor.

Definition at line 27 of file timestepbox.cpp.

TimeStepBox::~TimeStepBox ( )
inline

Destructor.

(empty)

Definition at line 40 of file timestepbox.h.

Member Function Documentation

bool TimeStepBox::daysOnly ( ) const
inline

Definition at line 48 of file timestepbox.h.

void TimeStepBox::scaleChanged ( float  )
signal
void TimeStepBox::setDaysOnly ( bool  daysonly)

Definition at line 69 of file timestepbox.cpp.

TimeSpinBox* TimeStepBox::tsbox ( ) const
inline
Returns
a pointer to the child TimeSpinBox

Definition at line 43 of file timestepbox.h.

TimeUnitBox* TimeStepBox::unitbox ( ) const
inline
Returns
a pointer to the child TimeUnitBox

Definition at line 46 of file timestepbox.h.


The documentation for this class was generated from the following files:
  • timestepbox.h
  • timestepbox.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal