Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
preinjectorhv-gui
Manage
Activity
Members
Labels
Plan
Issues
0
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
preinjectorhv-gui
Commits
3818e4c3
Commit
3818e4c3
authored
4 years ago
by
Lucio Zambon
Browse files
Options
Downloads
Patches
Plain Diff
remove leds
parent
e85459df
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/hv.cpp
+2
-1
2 additions, 1 deletion
src/hv.cpp
src/main.cpp
+1
-1
1 addition, 1 deletion
src/main.cpp
with
3 additions
and
2 deletions
src/hv.cpp
+
2
−
1
View file @
3818e4c3
...
...
@@ -256,7 +256,8 @@ hv::hv(QWidget *parent) : QDialog(parent)
vector
<
string
>
ramp
;
ramps
>>
ramp
;
for
(
unsigned
i
=
0
;
i
<
ramp
.
size
();
i
++
)
{
ui
.
comboBox
->
insertItem
(
i
,
ramp
[
i
].
c_str
(),
QVariant
(
Qt
::
red
));
// ui.comboBox->insertItem(i, ramp[i].c_str(), QVariant(Qt::red));
ui
.
comboBox
->
insertItem
(
i
,
ramp
[
i
].
c_str
());
}
// ui.comboBox->setCurrentItem(i);
connect
(
ui
.
View_PushButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
view_ramp
()));
...
...
This diff is collapsed.
Click to expand it.
src/main.cpp
+
1
−
1
View file @
3818e4c3
...
...
@@ -75,6 +75,6 @@ int main( int argc, char ** argv ) {
/* register to window manager */
Display
*
disp
=
QX11Info
::
display
();
Window
root_win
=
(
Window
)
mw
.
winId
();
XSetCommand
(
disp
,
root_win
,
QApplication
::
argv
(),
QApplication
::
argc
()
);
XSetCommand
(
disp
,
root_win
,
argv
,
argc
);
return
a
.
exec
();
}
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