• 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
  • fitsviewer
fitshistogramdraw.h
Go to the documentation of this file.
1 /***************************************************************************
2  fitshistogramdraw.h - FITS Historgram
3  ---------------
4  copyright : (C) 2006 by Jasem Mutlaq
5  email : mutlaqja@ikarustech.com
6  ***************************************************************************/
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 FITSHISTOGRAMDRAW_H
18 #define FITSHISTOGRAMDRAW_H
19 
20 #include <QFrame>
21 
22 class FITSHistogram;
23 
24 class histDrawArea : public QFrame
25 {
26  Q_OBJECT
27 
28 public:
29  histDrawArea(QWidget *parent);
30  ~histDrawArea();
31 
32  int getUpperLimit();
33  int getLowerLimit();
34  int getHistWidth() { return hist_width; }
35  int getHistHeight() { return hist_height;}
36  void init();
37 
38 protected:
39  void paintEvent(QPaintEvent *event);
40  void mouseMoveEvent ( QMouseEvent * event );
41 
42 private:
43  FITSHistogram *data;
44  const int height_adj;
45  const int line_height;
46 
47  int hist_width;
48  int hist_height;
49 
50  QRect enclosedRect;
51 
52 };
53 
54 #endif
55 
histDrawArea::init
void init()
Definition: fitshistogramdraw.cpp:37
histDrawArea::histDrawArea
histDrawArea(QWidget *parent)
Definition: fitshistogramdraw.cpp:28
histDrawArea::getLowerLimit
int getLowerLimit()
QWidget
histDrawArea::~histDrawArea
~histDrawArea()
Definition: fitshistogramdraw.cpp:52
histDrawArea::getHistWidth
int getHistWidth()
Definition: fitshistogramdraw.h:34
histDrawArea::getUpperLimit
int getUpperLimit()
histDrawArea::paintEvent
void paintEvent(QPaintEvent *event)
Definition: fitshistogramdraw.cpp:56
histDrawArea::getHistHeight
int getHistHeight()
Definition: fitshistogramdraw.h:35
FITSHistogram
Definition: fitshistogram.h:48
QFrame
histDrawArea::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event)
Definition: fitshistogramdraw.cpp:85
histDrawArea
Definition: fitshistogramdraw.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:19 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