VR-Exchange 2.1 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
broker
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
83
DtDialogPageCreator
();
84
85
};
86
87
}
Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (
www.mak.com
)