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

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
kswizard.h
Go to the documentation of this file.
1 /***************************************************************************
2  kswizard.h - description
3  -------------------
4  begin : Wed 28 Jan 2004
5  copyright : (C) 2004 by Jason Harris
6  email : kstars@30doradus.org
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef KSWIZARD_H_
19 #define KSWIZARD_H_
20 
21 #include <kdialog.h>
22 
23 #include "ui_wizwelcome.h"
24 #include "ui_wizlocation.h"
25 #include "ui_wizdownload.h"
26 
27 class GeoLocation;
28 class QStackedWidget;
29 
30 class WizWelcomeUI : public QFrame, public Ui::WizWelcome {
31  Q_OBJECT
32 public:
33  explicit WizWelcomeUI( QWidget *parent=0 );
34 };
35 
36 class WizLocationUI : public QFrame, public Ui::WizLocation {
37  Q_OBJECT
38 public:
39  explicit WizLocationUI( QWidget *parent=0 );
40 };
41 
42 class WizDownloadUI : public QFrame, public Ui::WizDownload {
43  Q_OBJECT
44 public:
45  explicit WizDownloadUI( QWidget *parent=0 );
46 };
47 
56 class KSWizard : public KDialog
57 {
58  Q_OBJECT
59 public:
63  explicit KSWizard( QWidget* parent = 0 );
64 
66  virtual ~KSWizard();
67 
69  const GeoLocation* geo() const { return Geo; }
70 
71 private slots:
72  void slotNextPage();
73  void slotPrevPage();
74 
79  void slotChangeCity();
80 
85  void slotFilterCities();
86 
87  void slotDownload();
88 
89 private:
93  void initGeoPage();
94 
96  void setButtonsEnabled();
97 
98  QStackedWidget *wizardStack;
99  WizLocationUI *location;
100 
101  GeoLocation *Geo;
102  QList<GeoLocation*> filteredCityList;
103 };
104 
105 #endif
WizWelcomeUI::WizWelcomeUI
WizWelcomeUI(QWidget *parent=0)
Definition: kswizard.cpp:41
QWidget
KDialog
WizWelcomeUI
Definition: kswizard.h:30
KSWizard::KSWizard
KSWizard(QWidget *parent=0)
Constructor parent pointer to the parent widget.
Definition: kswizard.cpp:53
GeoLocation
Contains all relevant information for specifying a location on Earth: City Name, State/Province name...
Definition: geolocation.h:39
KSWizard
The Setup Wizard will be automatically opened when KStars runs for the first time.
Definition: kswizard.h:56
WizLocationUI::WizLocationUI
WizLocationUI(QWidget *parent=0)
Definition: kswizard.cpp:45
WizDownloadUI::WizDownloadUI
WizDownloadUI(QWidget *parent=0)
Definition: kswizard.cpp:49
WizLocationUI
Definition: kswizard.h:36
KSWizard::~KSWizard
virtual ~KSWizard()
Destructor.
Definition: kswizard.cpp:98
QFrame
WizDownloadUI
Definition: kswizard.h:42
KSWizard::geo
const GeoLocation * geo() const
Definition: kswizard.h:69
QList
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 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