BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
stereoSettingsDialog.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 
5 #ifndef BALL_VIEW_DIALOGS_STEREOSETTINSGDIALOG_H
6 #define BALL_VIEW_DIALOGS_STEREOSETTINSGDIALOG_H
7 
8 #ifndef BALL_COMMON_GLOBAL_H
9 # include <BALL/COMMON/global.h>
10 #endif
11 
12 #ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
14 #endif
15 
16 #include <BALL/VIEW/UIC/ui_stereoSettingsDialog.h>
17 
18 #include <QtGui/QDialog>
19 
20 namespace BALL
21 {
22  namespace VIEW
23  {
24  class Camera;
25 
30  : public QDialog,
31  public Ui_StereoSettingsDialogData,
32  public ModularWidget
33  {
34  Q_OBJECT
36 
37  public:
38  StereoSettingsDialog(QWidget* parent = 0, const char* name = "StereoSettingsDialog");
40 
44  virtual void initializeWidget(MainControl& main_control);
45 
46  public slots:
47  void okPressed();
48  virtual void apply();
49  virtual void show();
50  void computeSettingsFromModelDistance();
51  };
52 
53 } } // namespaces
54 #endif