VR-Forces 4.1 Class Documentation
enumerationWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvUtil/signalslib.h>
12 #include <QtGui/QWidget>
15 
16 class DtRangedObjectType;
17 class QLabel;
18 class QPushButton;
19 
21 
23 {
24 
25  Q_OBJECT
26 
27 public:
28 
30  DtEnumerationWidget(QWidget* parent = NULL, const Qt::WindowFlags& flags = 0);
31 
33  virtual ~DtEnumerationWidget();
34 
36  virtual void init();
37  virtual void setObjectType(const DtRangedObjectType&);
38  virtual void clearContents();
39  const DtRangedObjectType& objectType() const;
40 
41  static DtEnumerationWidget* create(QWidget* parent = NULL);
42 
43 protected slots:
44  virtual void changeEnumeration();
45  virtual void canSetEnumeration(const DtObjectType&);
46 
47 signals:
48  void typeChanged(const DtRangedObjectType&);
49 
50 protected:
54 };
55 
57 {
58  return myObjectType;
59 }
60 
61 

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)