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

kstars

timestepbox.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           timestepbox.h  -  description
00003                              -------------------
00004     begin                : Sat Apr 13 2002
00005     copyright            : (C) 2002 by Jason Harris
00006     email                : kstars@30doradus.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef TIMESTEPBOX_H
00019 #define TIMESTEPBOX_H
00020 
00021 #include <qframe.h>
00022 #include <qlayout.h>
00023 #include "timespinbox.h"
00024 #include "timeunitbox.h"
00025 
00036 class TimeStepBox : public QFrame  {
00037 Q_OBJECT
00038 public:
00040     TimeStepBox( QWidget *parent=0, const char* name=0, bool daysonly=false );
00042     ~TimeStepBox() {}
00043 
00045     TimeSpinBox* tsbox() const { return timeBox; }
00046 
00048     TimeUnitBox* unitbox() const { return unitBox; }
00049 
00050     bool daysOnly() const { return DaysOnly; }
00051     void setDaysOnly( bool daysonly );
00052 
00053 signals:
00054     void scaleChanged( float );
00055 
00056 private slots:
00059     void changeUnits( void );
00060 
00063     void syncUnits( int );
00064 private:
00065     bool DaysOnly;
00066     QHBoxLayout *hlay;
00067     TimeSpinBox *timeBox;
00068     TimeUnitBox *unitBox;
00069 };
00070 
00071 #endif

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