VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
propertyCreationFactory.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #include <vrvUtil/signalslib.h>
9 
10 #include <QtCore/QHash>
11 #include <QtCore/QObject>
12 
14 class QWidget;
15 
16 namespace makVrv
17 {
18  class DtDe;
19 }
20 
21 typedef DtPropertyCreationDialog* (*DtPropertyCreationDlgCreator)(makVrv::DtDe&, QWidget* parent, const Qt::WindowFlags& flags);
22 
24 {
25 public:
28  myCreator(orig.myCreator) {};
29 
31 };
32 
34 {
35 public:
37 
39 
40  virtual bool init();
41  virtual void addPropertyCreationDialog(const QString& name,
43  virtual DtPropertyCreationDialog* createDialog(const QString& name, QWidget* parent, const Qt::WindowFlags& flags = 0);
44 
45 protected:
46  virtual void addCreationDialogs();
47 
48 protected:
49  QHash<QString, DtPropertyCreationInformation> myDialogs;
51 };

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)