VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
propertyCreationDialog.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 "ui_propertyCreationDialogUI.h"
11 
12 class DtPropertyItem;
13 
14 namespace makVrv
15 {
16  class DtDe;
17 }
18 
20 {
21 
22  Q_OBJECT
23 
24 public:
25 
26  // default constructor
27  DtPropertyCreationDialog(makVrv::DtDe&, QWidget* parent = NULL, const Qt::WindowFlags& flags = 0);
28 
29  // destructor
30  virtual ~DtPropertyCreationDialog();
31 
32  virtual bool init(DtPropertyItem*, bool);
33 
34  void setCreatePropertyItem(bool);
35  bool createPropertyItem() const;
36 
37 protected:
38  virtual void initConnections();
39  virtual void addControls() = 0;
40  virtual void setupControls() = 0;
41  virtual void keyPressEvent(QKeyEvent *e);
42 
43 public slots:
44  virtual void accept();
45  virtual void cancel();
46 
47 signals:
49 
50 private:
51  // copy constructor; not implemented
53 
54  // assignment operator; not implemented
56 
57 public:
58  Ui::PropertyCreationDialogUI myUiImpl;
59 
60 protected:
64 };
65 
67 {
69 }
70 
72 {
73  return myCreatePropertyItem;
74 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)