VR-Forces 4.1 Class Documentation
DtTransformImageTaskElementConfigurationWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
17 
18 #include <string>
19 
20 class QSpinBox;
21 class QCheckBox;
22 class QComboBox;
23 
24 namespace makVrv
25 {
26  class DtDe;
27  class DtVideoStream;
28  class DtTransformImageTaskElementConfigurationLogic;
29 
36  {
37  Q_OBJECT
38 
39  public:
41  DtTransformImageTaskElementConfigurationWidget( DtDe& de, int imageTaskElementIndex,
42  DtVideoStream& videoStream, QWidget* parent );
43 
46 
48  void setupGui();
49 
51  virtual void activate();
52 
54  virtual void setResampleImageEnabled( bool enabled );
55 
57  virtual void setBitDepthValues( const std::list<TransformBitDepth>& bitDepths );
58 
60  virtual void setBitDepth( TransformBitDepth rate );
61 
63  virtual void setFlipImageEnabled( bool enabled );
64 
67  virtual void setScaleImageEnabled( bool enabled );
68 
70  virtual void setScaleX( int x );
71 
73  virtual void setScaleY( int y );
74 
75  protected slots:
77  virtual void onBitDepthChanged( int index );
78 
80  virtual void onScaleXChanged( int scaleX );
81 
83  virtual void onScaleYChanged( int scaleY );
84 
86  virtual void onFlipImageChanged( int state );
87 
89  virtual void onResampleImageChanged( int state );
90 
92  virtual void onScaleImageChanged( int state );
93 
94  protected:
97  void setScaleValueWidgetState( bool enabled );
98 
101  void setBitDepthWidgetState( bool enabled );
102 
103  protected:
109  QSpinBox* myScaleXSpinBox;
110  QSpinBox* myScaleYSpinBox;
111  };
112 
117  {
118  public:
121 
124 
125  protected:
127  virtual DtImageTaskElementConfigurationWidget* create(
128  int imageTaskElementIndex, DtVideoStream& videoStream, QWidget* parent );
129 
130  protected:
132  };
133 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)