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

kstars

timedialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           timedialog.h  -  K Desktop Planetarium
00003                              -------------------
00004     begin                : Sun Feb 11 2001
00005     copyright            : (C) 2001 by Jason Harris
00006     email                : jharris@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 TIMEDIALOG_H
00019 #define TIMEDIALOG_H
00020 
00021 #include <kdialogbase.h>
00022 #include <qvariant.h>
00023 
00024 #include "kstarsdatetime.h"
00025 
00026 class QHBoxLayout;
00027 class QVBoxLayout;
00028 class ExtDatePicker;
00029 class QSpinBox;
00030 class QLabel;
00031 class QPushButton;
00032 class KStars;
00033 
00044 class TimeDialog : public KDialogBase {
00045   Q_OBJECT
00046 public:
00051     TimeDialog( const KStarsDateTime &now, QWidget* parent = 0 );
00052 
00056     ~TimeDialog() {}
00057 
00060     QTime selectedTime( void );
00061 
00064     ExtDate selectedDate( void );
00065 
00068     KStarsDateTime selectedDateTime( void );
00069 
00070 public slots:
00077   void setNow( void );
00078 
00087     void HourPrefix( int value );
00088 
00093     void MinutePrefix( int value );
00094 
00099     void SecondPrefix( int value );
00100 
00101 protected:
00102     void keyReleaseEvent( QKeyEvent* );
00103 
00104 private:
00105   KStars *ksw;
00106   bool UTCNow;
00107   QHBoxLayout *hlay;
00108   QVBoxLayout *vlay;
00109   ExtDatePicker *dPicker;
00110   QSpinBox* HourBox;
00111   QLabel* TextLabel1;
00112   QSpinBox* MinuteBox;
00113   QLabel* TextLabel1_2;
00114   QSpinBox* SecondBox;
00115   QPushButton* NowButton;
00116 };
00117 
00118 #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