Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
1e080477
Commit
1e080477
authored
Nov 29, 2014
by
Hossain Mahmud
Browse files
execute pipeline, inspect datacontainer, load-save script button relocated
parent
a26d11cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
application/gui/mainwindow.cpp
View file @
1e080477
...
@@ -109,6 +109,26 @@ namespace campvis {
...
@@ -109,6 +109,26 @@ namespace campvis {
_containerWidget
->
setSizePolicy
(
QSizePolicy
::
Preferred
,
QSizePolicy
::
Maximum
);
_containerWidget
->
setSizePolicy
(
QSizePolicy
::
Preferred
,
QSizePolicy
::
Maximum
);
_cwLayout
->
addWidget
(
_pipelineWidget
,
1
,
0
,
1
,
2
);
_cwLayout
->
addWidget
(
_pipelineWidget
,
1
,
0
,
1
,
2
);
_btnExecute
=
new
QPushButton
(
"Execute Selected Pipeline/Processor"
,
_containerWidget
);
_cwLayout
->
addWidget
(
_btnExecute
,
2
,
0
,
1
,
2
);
_btnShowDataContainerInspector
=
new
QPushButton
(
"Inspect DataContainer of Selected Pipeline"
,
_containerWidget
);
_cwLayout
->
addWidget
(
_btnShowDataContainerInspector
,
3
,
0
,
1
,
2
);
#ifdef CAMPVIS_HAS_SCRIPTING
_btnLuaLoad
=
new
QPushButton
(
"Load Script"
,
_containerWidget
);
_cwLayout
->
addWidget
(
_btnLuaLoad
,
4
,
0
,
1
,
2
);
_btnLuaSave
=
new
QPushButton
(
"Save Script"
,
_containerWidget
);
_cwLayout
->
addWidget
(
_btnLuaSave
,
5
,
0
,
1
,
2
);
connect
(
_btnLuaLoad
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
onBtnLuaLoadClicked
()));
connect
(
_btnLuaSave
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
onBtnLuaSaveClicked
()));
#else
#endif
_containerWidget
->
setLayout
(
_cwLayout
);
_containerWidget
->
setLayout
(
_cwLayout
);
ui
.
pipelineTreeDock
->
setWidget
(
_containerWidget
);
ui
.
pipelineTreeDock
->
setWidget
(
_containerWidget
);
...
@@ -126,12 +146,6 @@ namespace campvis {
...
@@ -126,12 +146,6 @@ namespace campvis {
rightLayout
->
setSpacing
(
4
);
rightLayout
->
setSpacing
(
4
);
_pipelinePropertiesWidget
->
setLayout
(
rightLayout
);
_pipelinePropertiesWidget
->
setLayout
(
rightLayout
);
_btnExecute
=
new
QPushButton
(
"Execute Selected Pipeline/Processor"
,
_pipelinePropertiesWidget
);
rightLayout
->
addWidget
(
_btnExecute
);
_btnShowDataContainerInspector
=
new
QPushButton
(
"Inspect DataContainer of Selected Pipeline"
,
_pipelinePropertiesWidget
);
rightLayout
->
addWidget
(
_btnShowDataContainerInspector
);
_propCollectionWidget
=
new
PropertyCollectionWidget
(
this
);
_propCollectionWidget
=
new
PropertyCollectionWidget
(
this
);
rightLayout
->
addWidget
(
_propCollectionWidget
);
rightLayout
->
addWidget
(
_propCollectionWidget
);
rightLayout
->
addStretch
();
rightLayout
->
addStretch
();
...
@@ -147,20 +161,6 @@ namespace campvis {
...
@@ -147,20 +161,6 @@ namespace campvis {
ui
.
scriptingConsoleDock
->
setVisible
(
false
);
ui
.
scriptingConsoleDock
->
setVisible
(
false
);
#endif
#endif
#ifdef CAMPVIS_HAS_SCRIPTING
_btnLuaLoad
=
new
QPushButton
(
"Load Script"
,
_pipelinePropertiesWidget
);
rightLayout
->
addWidget
(
_btnLuaLoad
);
_btnLuaSave
=
new
QPushButton
(
"Save Script"
,
_pipelinePropertiesWidget
);
rightLayout
->
addWidget
(
_btnLuaSave
);
connect
(
_btnLuaLoad
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
onBtnLuaLoadClicked
()));
connect
(
_btnLuaSave
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
onBtnLuaSaveClicked
()));
#else
#endif
_dcInspectorWidget
=
new
DataContainerInspectorWidget
();
_dcInspectorWidget
=
new
DataContainerInspectorWidget
();
this
->
populateMainMenu
();
this
->
populateMainMenu
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment