VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dialogPage.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2014 VT MAK
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <widgets/dllExport.h>
13 #include <QtGui/QWidget>
14 #include <QtGui/QIcon>
15 
16 namespace MAKVrExchange
17 {
18 
22  { Q_OBJECT;
23  public:
24 
26  DtDialogPage( QWidget* parent, Qt::WindowFlags f = Qt::Widget);
27 
29  virtual ~DtDialogPage();
30 
32  virtual void enableContents();
33 
35  virtual void disableContents();
36 
39  virtual void setPageName(const std::string& pageName);
40 
43  virtual const std::string& pageName() const;
44 
45  public slots:
46 
48  virtual void onCurrentInstanceChanged(QString definition);
49 
50  protected:
51 
53  virtual QString currentInstance();
54 
55  std::string myPageName;
56 
57  };
58 
59 
62  {
63  public:
64 
66  virtual ~DtDialogPageCreator();
67 
69  virtual DtDialogPage* create(QWidget* parent) = 0;
70 
72  virtual QIcon pageIcon() = 0;
73 
75  virtual QString pageLabel() = 0;
76 
78  virtual bool pageUsesTabs() = 0;
79 
80  protected:
81 
84 
85  };
86 
87 }

Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)