VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 <QtGui/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 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)