VR-Exchange 2.2 API Documentation
dialogPage.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <QtGui/QWidget>
13 #include <QtGui/QIcon>
14 #include <namespace.h>
15 
16 namespace MAKVrExchange
17 {
18 
21  class DT_DLL_BROKER DtDialogPage : public QWidget
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 
61  class DT_DLL_BROKER DtDialogPageCreator
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 Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)