Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mscr
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
gui
mscr
Commits
112c9e68
Commit
112c9e68
authored
4 years ago
by
Claudio Scafuri
Browse files
Options
Downloads
Patches
Plain Diff
remove len tab for non IFC-B controller
parent
8e632abe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Lens tab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/mscr.cpp
+7
-0
7 additions, 0 deletions
src/mscr.cpp
with
7 additions
and
0 deletions
src/mscr.cpp
+
7
−
0
View file @
112c9e68
...
...
@@ -55,6 +55,13 @@ mscr::mscr(QWidget *parent) : QWidget(parent) {
dd
=
server
->
command_inout
(
"GetInstrumentList"
);
dd
>>
instruments
;
setPolarAttenuation
();
std
::
string
contr_type
;
server
->
read_attribute
(
"ControllerType"
)
>>
contr_type
;
if
(
contr_type
.
substr
(
0
,
5
)
!=
"IFC-B"
){
//ui.tabWidget->setTabEnabled(3,false);
ui
.
tabWidget
->
removeTab
(
3
);
}
}
catch
(
Tango
::
DevFailed
&
ex
)
{
simpleLog
::
error
(
"mscr::mscr"
,
ex
.
errors
);
exit
(
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment