VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
designer
vrfTaskSetDesignerVariableWidgetPlugin.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2017 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
6
#pragma once
7
8
#include <
vrvUtil/signalslib.h
>
9
#include <
vrvCore/DtDe.h
>
10
11
#include <QtUiPlugin/QDesignerCustomWidgetInterface>
12
13
#ifdef WIN32
14
#if !defined(_DEBUG)
15
#define QT_NO_DEBUG
16
#endif
17
#else
18
#define QT_NO_DEBUG
19
#endif
20
21
namespace
makVrf
22
{
23
class
DtTaskSetVariableWidgetCreatorInterface
;
24
}
25
26
class
DtVrfTaskSetDesignerVariableWidgetPlugin
:
public
QObject
,
public
QDesignerCustomWidgetInterface
27
{
28
Q_OBJECT
29
Q_INTERFACES(
QDesignerCustomWidgetInterface
)
30
31
public
:
32
explicit
DtVrfTaskSetDesignerVariableWidgetPlugin
(
makVrv::DtDe
& de,
QObject
* parent,
const
std::string& variableType,
33
makVrf::DtTaskSetVariableWidgetCreatorInterface
* iface);
34
35
bool
isContainer
()
const
Q_DECL_OVERRIDE;
36
bool
isInitialized
()
const
Q_DECL_OVERRIDE;
37
QIcon
icon
()
const
Q_DECL_OVERRIDE;
38
QString
domXml
()
const
Q_DECL_OVERRIDE;
39
QString
group
()
const
Q_DECL_OVERRIDE;
40
QString
includeFile
()
const
Q_DECL_OVERRIDE;
41
QString
name
()
const
Q_DECL_OVERRIDE;
42
QString
toolTip
()
const
Q_DECL_OVERRIDE;
43
QString
whatsThis
()
const
Q_DECL_OVERRIDE;
44
QWidget *
createWidget
(QWidget *parent) Q_DECL_OVERRIDE;
45
void
initialize
(QDesignerFormEditorInterface *core) Q_DECL_OVERRIDE;
46
47
protected
:
48
bool
initialized
;
49
makVrv::DtDe
&
myDe
;
50
makVrf::DtTaskSetVariableWidgetCreatorInterface
*
myCreatorInterface
;
51
52
std::string
myVariableType
;
53
QString
myQtClassName
;
54
QString
myDesignerDisplayName
;
55
QString
myDesignerIcon
;
56
QString
myDesignerGroup
;
57
QString
myDomXml
;
58
QString
myHeaderFile
;
59
};
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
)