VR-Forces 5.0.2 Developer's Guide
 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 
9 
10 #pragma once
11 
12 #include <vrvVrlQt/vrvVrlQt.h>
15 #include <QtWidgets/QWidget>
16 #include <QtGui/QIcon>
17 
18 class QToolButton;
19 class QSlider;
20 
21 namespace makVrv
22 {
23  class DtPopupToolbar;
24  class DtPopupToolbarButton;
25 
29  {
30  Q_OBJECT
31  public:
32  DtEntityIconScaleWidget(DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
33  virtual ~DtEntityIconScaleWidget();
34 
35  public slots:
36 
37  void sliderChanged( int value);
38 
39  protected:
40 
41  void setupGui();
42 
43  QIcon makeWideIconWithArrow( QIcon &baseIcon, bool downArrow, QToolButton* button );
44 
46  void updateSlider( float value );
47 
48  protected:
52  QSlider* mySlider;
54  };
55 
59  {
60  public:
61 
64  virtual QWidget* create( DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
65  };
66 }
67 
Contains makVrv::DtWidgetBuilder class.
The DtPopupToolbarButton class is a toolbar which controls the display of a toolbar.
Definition: DtPopupToolbarButton.h:24
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
QSlider * mySlider
Definition: DtEntityIconScaleWidget.h:52
DtSignalConnectionManager myConnections
Definition: DtEntityIconScaleWidget.h:50
Contains DLL export macros.
The DtPopupToolbar class provides a toolbar can be easily shown and hidden.
Definition: DtPopupToolbar.h:22
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
This builder class creates and instance of the DtEntityIconScaleWidget class.
Definition: DtEntityIconScaleWidget.h:58
DtPopupToolbarButton * myButton
Definition: DtEntityIconScaleWidget.h:53
Base class to provide boost signal/slot management.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtPopupToolbar * myToolbar
Definition: DtEntityIconScaleWidget.h:51
DtDe & myDe
Definition: DtEntityIconScaleWidget.h:49
This class is the icon scale widget visible on the toolbar.
Definition: DtEntityIconScaleWidget.h:28
This class is the generic builder base class for building a widget.
Definition: DtWidgetBuilder.h:22

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)