00001 /**************************************************************************** 00002 ** Form interface generated from reading ui file 'Qt/ImageQtMainForm.ui' 00003 ** 00004 ** 00005 ** WARNING! All changes made in this file will be lost! 00006 ****************************************************************************/ 00007 00008 #ifndef IMAGEQTMAINFORM_H 00009 #define IMAGEQTMAINFORM_H 00010 00011 #include <qvariant.h> 00012 #include <qdialog.h> 00013 #include "Image/Image.H" 00014 #include "Image/Pixels.H" 00015 00016 class QVBoxLayout; 00017 class QHBoxLayout; 00018 class QGridLayout; 00019 class QSpacerItem; 00020 class QPushButton; 00021 class QLineEdit; 00022 class QLabel; 00023 class QCheckBox; 00024 00025 class ImageQtMainForm : public QDialog 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 ImageQtMainForm( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 00031 ~ImageQtMainForm(); 00032 00033 QPushButton* ChooseButton; 00034 QPushButton* ImageLoadButton; 00035 QLineEdit* ImageFileLineEdit; 00036 QLabel* ImageFileTextLabel; 00037 QCheckBox* FullSizeBox; 00038 QPushButton* DisplayButton; 00039 QLabel* ImagePixmapLabel; 00040 00041 public slots: 00042 virtual void setImageFile(); 00043 virtual void displayImage(); 00044 virtual void loadImage(); 00045 00046 protected: 00047 Image< PixRGB<byte> > img; 00048 00049 00050 protected slots: 00051 virtual void languageChange(); 00052 00053 }; 00054 00055 #endif // IMAGEQTMAINFORM_H