VR-Forces 4.7 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
vrfGuiCoreQt
designerEditor.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2017 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrvUtil/signalslib.h
>
14
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
15
#include <
vrfGuiCoreQt/scriptEditor.h
>
16
#include <
vrfutil/scriptedTaskVariable.h
>
17
18
namespace
makVrv
19
{
20
class
DtDe;
21
}
22
23
class
DtSimMessage
;
24
25
namespace
makVrf
26
{
29
class
DT_DLL_VRFGUICOREQT
DtDesignerEditor
:
public
DtScriptEditor
30
{
31
Q_OBJECT
32
33
public
:
35
DtDesignerEditor
(
makVrv::DtDe
&);
36
38
virtual
~
DtDesignerEditor
();
39
43
virtual
bool
editUi(
const
std::string& scriptId,
const
std::string& uiLayout,
const
std::string& defaultUi =
""
,
bool
adding =
false
);
44
46
static
DtDesignerEditor
& instance(
makVrv::DtDe
&);
47
49
static
void
registerInstance(
makVrv::DtDe
&,
DtDesignerEditor
*);
50
51
boost::signal<void (const std::string&, const std::string&, const std::vector<DtScriptedTaskVariable>&)> signal_layoutModified;
52
53
protected
:
54
virtual
void
receivedScript(
DtSimMessage
* msg);
55
virtual
void
scriptBeingRemoved();
56
57
virtual
void
editLayout(
const
std::string& scriptId,
const
std::string& uiLayout,
bool
readOnly =
false
,
bool
adding =
false
);
58
virtual
void
checkNeedsUpdate(
const
std::string& file);
59
};
60
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)