VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTreeRandomizationWidget.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2015 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 /*****************************************************************************
6  * $RCSfile: DtTreeRandomizationWidget.h,v $ $Revision: 1.00 $ $State: Exp $
7  *****************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCoreQt/vrvCoreQt.h>
16 
18 
19 #include <QtWidgets/QWidget>
20 
21 class QFrame;
22 class QCheckBox;
23 class QLineEdit;
24 class QLabel;
25 class QPushButton;
26 class QDoubleSpinBox;
27 class QVBoxLayout;
28 class QSpacerItem;
29 class QGroupBox;
30 class QHBoxLayout;
31 
32 namespace makVrv
33 {
34 
35  class DtDe;
36  class DtUnicode;
37 
42  : public QWidget
44  { Q_OBJECT;
45  public:
46 
48  DtTreeRandomizationWidget( QWidget* parent,
49  Qt::WindowFlags f = Qt::Widget );
50 
52  virtual ~DtTreeRandomizationWidget();
53 
57 
60  virtual void setTreeScaleRandomizationEnabled( bool enabled );
61 
64  virtual void setTreeOrientationRandomizationEnabled( bool enabled );
65 
68  virtual void setTreeMinScale( double minScale );
69 
72  virtual void setTreeMaxScale( double maxScale );
73 
75 
79 
81  virtual bool treeScaleRandomizationEnabled();
82 
84  virtual bool treeOrientationRandomizationEnabled();
85 
87  virtual double treeMinScale();
88 
90  virtual double treeMaxScale();
91 
93 
94  protected slots:
95 
99 
101  virtual void onTreeScaleRandomizationEnabledChanged( int enabled );
102 
104  virtual void onTreeOrientationRandomizationChanged( int enabled );
105 
107  virtual void onTreeMinScaleChanged( double value );
108 
110  virtual void onTreeMaxScaleChanged( double value );
111 
113 
114  protected:
115 
118  void setupGui();
119 
120  protected:
121 
122  QVBoxLayout* myGroupLayout;
123  QGroupBox* myGroupBox;
124  QVBoxLayout* myMainLayout;
128  QDoubleSpinBox* myTreeMinScaleSpinBox;
130  QDoubleSpinBox* myTreeMaxScaleSpinBox;
131  QSpacerItem* mySpacerItem;
133  QSpacerItem* mySpacerItem1;
134  QSpacerItem* mySpacerItem2;
135 
136  };
137 
138 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)