VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
randomConditional.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtRandomConditional.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <
vrvUtil/signalslib.h
>
17
18
#include <
vrfGuiCoreQt/baseConditionalExpressionDialog.h
>
19
20
class
QLabel
;
21
class
QLineEdit
;
22
class
QDoubleValidator;
23
24
namespace
makVrf
25
{
27
class
DT_DLL_VRFGUICOREQT
DtRandomConditionalCreator
:
public
DtVrfConditionalExpressionCreator
28
{
29
public
:
30
virtual
DtConditionalExpressionInterface
* create(
makVrv::DtDe
&,
QWidget
* parent);
31
virtual
QString title()
const
;
32
virtual
bool
canEditType(
int
)
const
;
33
};
34
35
class
DT_DLL_VRFGUICOREQT
DtRandomConditionalLogic
:
public
DtConditionExpressionLogic
36
{
37
public
:
38
DtRandomConditionalLogic
(
makVrv::DtDe
&,
DtConditionalExpressionInterface
*);
39
40
protected
:
41
virtual
void
createConditional(
DtConditionalExpressionViewInterface
* parentView,
42
const
std::vector<makVrv::DtSimEntry*>& data);
43
virtual
bool
isComplete()
const
;
44
virtual
DtSimCondExpr
* conditionalExpression()
const
;
45
virtual
void
setupConditional(
const
DtSimCondExpr
*,
const
std::vector<makVrv::DtSimEntry*>& data);
46
};
47
48
class
DT_DLL_VRFGUICOREQT
DtRandomConditional
:
public
DtBaseConditionalExpressionDialog
49
{
50
Q_OBJECT
51
public
:
52
//CTOR
53
DtRandomConditional
(
makVrv::DtDe
& de,
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
54
55
//DtRandom
56
virtual
~
DtRandomConditional
();
57
58
protected
:
59
virtual
QWidget
* contents();
60
virtual
QString value()
const
;
61
62
virtual
void
setValue(
const
QString&);
63
64
virtual
void
setupConditional(
const
DtSimCondExpr
*,
const
std::vector<makVrv::DtSimEntry*>& data);
65
66
public
:
67
QWidget
*
myCanvas
;
68
QLabel
*
myLabel
;
69
QVBoxLayout*
myLayout
;
70
QLineEdit
*
myPercent
;
71
QDoubleValidator*
myDoubleValidator
;
72
};
73
}
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)