• 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
  • tools
pvplotwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  pvplotwidget.h
3  -------------------
4  begin : Sat 17 Dec 2005
5  copyright : (C) 2005 by Jason Harris
6  email : kstars@30doradus.org
7  ***************************************************************************/
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #ifndef PVPLOTWIDGET_H_
18 #define PVPLOTWIDGET_H_
19 
20 #include <QFrame>
21 
22 #include "kplotwidget.h"
23 
24 class PlanetViewer;
25 
26 class PVPlotWidget : public KPlotWidget
27 {
28  Q_OBJECT
29 public:
30  PVPlotWidget( QWidget *parent=0 );
31  ~PVPlotWidget();
32 
33 public slots:
34  void slotZoomIn();
35  void slotZoomOut();
36 
37 signals:
38  void doubleClicked( double, double );
39 
40 protected:
41  virtual void keyPressEvent( QKeyEvent *e );
42  virtual void mousePressEvent( QMouseEvent *e );
43  virtual void mouseMoveEvent( QMouseEvent *e );
44  virtual void mouseReleaseEvent( QMouseEvent * );
45  virtual void mouseDoubleClickEvent( QMouseEvent *e );
46  virtual void wheelEvent( QWheelEvent *e );
47 
48 private:
49  bool mouseButtonDown;
50  int oldx, oldy;
51  PlanetViewer *pv;
52 };
53 
54 #endif
PVPlotWidget::slotZoomOut
void slotZoomOut()
Definition: pvplotwidget.cpp:257
PVPlotWidget::doubleClicked
void doubleClicked(double, double)
PVPlotWidget::PVPlotWidget
PVPlotWidget(QWidget *parent=0)
Definition: pvplotwidget.cpp:27
PVPlotWidget::mouseDoubleClickEvent
virtual void mouseDoubleClickEvent(QMouseEvent *e)
Definition: pvplotwidget.cpp:218
PVPlotWidget::slotZoomIn
void slotZoomIn()
Definition: pvplotwidget.cpp:249
PVPlotWidget::mouseReleaseEvent
virtual void mouseReleaseEvent(QMouseEvent *)
Definition: pvplotwidget.cpp:190
QWidget
PVPlotWidget::mousePressEvent
virtual void mousePressEvent(QMouseEvent *e)
Definition: pvplotwidget.cpp:184
PVPlotWidget::~PVPlotWidget
~PVPlotWidget()
Definition: pvplotwidget.cpp:38
KPlotWidget
PlanetViewer
Display an overhead view of the solar system.
Definition: planetviewer.h:48
PVPlotWidget
Definition: pvplotwidget.h:26
PVPlotWidget::keyPressEvent
virtual void keyPressEvent(QKeyEvent *e)
Definition: pvplotwidget.cpp:40
PVPlotWidget::wheelEvent
virtual void wheelEvent(QWheelEvent *e)
Definition: pvplotwidget.cpp:244
PVPlotWidget::mouseMoveEvent
virtual void mouseMoveEvent(QMouseEvent *e)
Definition: pvplotwidget.cpp:195
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