VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEntityIconScaleWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvVrlQt/vrvVrlQt.h>
18 #include <QtWidgets/QWidget>
19 #include <QtGui/QIcon>
20 
21 class QToolButton;
22 class QSlider;
23 
24 namespace makVrv
25 {
26  class DtPopupToolbar;
27  class DtPopupToolbarButton;
28 
32  {
33  Q_OBJECT
34  public:
35  DtEntityIconScaleWidget(DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
36  virtual ~DtEntityIconScaleWidget();
37 
38  public slots:
39 
40  void sliderChanged( int value);
41 
42  protected:
43 
44  void setupGui();
45 
46  QIcon makeWideIconWithArrow( QIcon &baseIcon, bool downArrow, QToolButton* button );
47 
49  void updateSlider( float value );
50 
51  protected:
55  QSlider* mySlider;
57  };
58 
62  {
63  public:
64 
67  virtual QWidget* create( DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
68  };
69 }
70 
Contains makVrv::DtWidgetBuilder class.
The DtPopupToolbarButton class is a toolbar which controls the display of a toolbar.
Definition: DtPopupToolbarButton.h:27
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
QSlider * mySlider
Definition: DtEntityIconScaleWidget.h:55
DtSignalConnectionManager myConnections
Definition: DtEntityIconScaleWidget.h:53
Contains DLL export macros.
The DtPopupToolbar class provides a toolbar can be easily shown and hidden.
Definition: DtPopupToolbar.h:25
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
This builder class creates and instance of the DtEntityIconScaleWidget class.
Definition: DtEntityIconScaleWidget.h:61
DtPopupToolbarButton * myButton
Definition: DtEntityIconScaleWidget.h:56
Base class to provide boost signal/slot management.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtPopupToolbar * myToolbar
Definition: DtEntityIconScaleWidget.h:54
DtDe & myDe
Definition: DtEntityIconScaleWidget.h:52
This class is the icon scale widget visible on the toolbar.
Definition: DtEntityIconScaleWidget.h:31
This class is the generic builder base class for building a widget.
Definition: DtWidgetBuilder.h:25

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)