BiasSettingsDialog.h
00001
00002
00003
00004
00005
00006
00007
00008 #ifndef BIASSETTINGSDIALOG_H
00009 #define BIASSETTINGSDIALOG_H
00010
00011 #include <qvariant.h>
00012 #include <qpixmap.h>
00013 #include <qdialog.h>
00014 #include "Component/ModelManager.H"
00015 #include "Neuro/StdBrain.H"
00016 #include "Neuro/VisualCortex.H"
00017 #include "Neuro/SaliencyMap.H"
00018 #include "Image/ColorOps.H"
00019 #include "Channels/ComplexChannel.H"
00020 #include "Channels/SingleChannel.H"
00021 #include "Image/ImageSet.H"
00022 #include "Image/MathOps.H"
00023 #include "Qt/BiasValImage.h"
00024
00025 class QVBoxLayout;
00026 class QHBoxLayout;
00027 class QGridLayout;
00028 class QSpacerItem;
00029 class ImageCanvas;
00030 class QTabWidget;
00031 class QWidget;
00032 class QSpinBox;
00033 class QLabel;
00034 class QCheckBox;
00035 class QPushButton;
00036
00037 class BiasSettingsDialog : public QDialog
00038 {
00039 Q_OBJECT
00040
00041 public:
00042 BiasSettingsDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00043 ~BiasSettingsDialog();
00044
00045 QTabWidget* tabDisp;
00046 QWidget* tab;
00047 QSpinBox* spinBox43;
00048 QLabel* textLabel10;
00049 ImageCanvas* imageCanvas50;
00050 QCheckBox* chkBoxShowRaw;
00051 QCheckBox* chkBoxResizeToSLevel;
00052 QPushButton* updateValButton;
00053 QPushButton* buttonOk;
00054 QPushButton* buttonCancel;
00055
00056 virtual void init( ModelManager & manager );
00057 virtual void showFeatures();
00058 virtual void setupTab( ComplexChannel & cc, SingleChannel & sc);
00059
00060 public slots:
00061 virtual void biasFeature( int value );
00062 virtual void update();
00063
00064 protected:
00065 std::vector<BiasValImage*> itsBiasValImage;
00066
00067 QVBoxLayout* BiasSettingsDialogLayout;
00068 QHBoxLayout* layout4;
00069 QSpacerItem* spacer2;
00070
00071 protected slots:
00072 virtual void languageChange();
00073
00074 private:
00075 ModelManager *itsMgr;
00076
00077 QPixmap image0;
00078
00079 };
00080
00081 #endif // BIASSETTINGSDIALOG_H