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

kstars

conbridlg.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           conbridlg.h  -  Contrast/Brightness Dialog
00003                              -------------------
00004     begin                : Fri Feb 6th 2004
00005     copyright            : (C) 2004 by Jasem Mutlaq
00006     email                : mutlaqja@ikarustech.com
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  
00019  #ifndef CONTRASTBRIGHTNESSDLG_H
00020  #define CONTRASTBRIGHTNESSDLG_H
00021  
00022  #include <kdialogbase.h>
00023  #include <klocale.h>
00024  
00025  class ConBriForm;
00026  class FITSViewer;
00027  class QImage;
00028 
00029   
00030 class ContrastBrightnessDlg : public KDialogBase {
00031     Q_OBJECT
00032  public:
00033    ContrastBrightnessDlg(QWidget *parent=0);
00034    ~ContrastBrightnessDlg();
00035    
00036   QSize sizeHint() const;
00037   void range(int min, int max, int & num);
00038   void range(float min, float max, float & num);
00039   
00040   float *localImgBuffer;
00041   float offs;
00042   float scale;
00043   
00044   private:
00045   int contrast;
00046   int brightness;
00047   int height;
00048   int width;
00049   FITSViewer *viewer;
00050   ConBriForm *ConBriDlg;
00051   //unsigned char *localImgBuffer;
00052   
00053   QImage *displayImage;
00054   QImage *tempImage;
00055   
00056   public slots:
00057   void setContrast(int contrastValue);
00058   void setBrightness(int brightnessValue);
00059    
00060 };
00061 
00062 
00063 #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