00001
00002
00003
00004
00005 #ifndef BALL_VIEW_DIALOGS_STEREOSETTINSGDIALOG_H
00006 #define BALL_VIEW_DIALOGS_STEREOSETTINSGDIALOG_H
00007
00008 #ifndef BALL_COMMON_GLOBAL_H
00009 # include <BALL/COMMON/global.h>
00010 #endif
00011
00012 #ifdef BALL_COMPILER_MSVC
00013 # include <BALL/VIEW/UIC/ui_stereoSettingsDialog.h>
00014 #else
00015 # include <BALL/VIEW/UIC/stereoSettingsDialogData.h>
00016 #endif
00017
00018 #ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
00019 # include <BALL/VIEW/KERNEL/modularWidget.h>
00020 #endif
00021
00022 #include <QtGui/QDialog>
00023
00024 namespace BALL
00025 {
00026 namespace VIEW
00027 {
00028 class Camera;
00029
00033 class BALL_VIEW_EXPORT StereoSettingsDialog
00034 : public QDialog,
00035 public Ui_StereoSettingsDialogData,
00036 public ModularWidget
00037 {
00038 Q_OBJECT
00039 BALL_EMBEDDABLE(StereoSettingsDialog, ModularWidget)
00040
00041 public:
00042 StereoSettingsDialog(QWidget* parent = 0, const char* name = "StereoSettingsDialog");
00043 ~StereoSettingsDialog();
00044
00048 virtual void initializeWidget(MainControl& main_control);
00049
00050 public slots:
00051 void okPressed();
00052 virtual void apply();
00053 virtual void show();
00054 void computeSettingsFromModelDistance();
00055 };
00056
00057 } }
00058 #endif