Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
5f080b12
Commit
5f080b12
authored
Oct 19, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: fixed xtt_trace menu checkbox not calling callback when checked programatically.
parent
f41de614
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
xtt/lib/xtt/qt/xtt_hotkey_qt.cpp
xtt/lib/xtt/qt/xtt_hotkey_qt.cpp
+1
-1
xtt/lib/xtt/qt/xtt_trace_qt.cqt
xtt/lib/xtt/qt/xtt_trace_qt.cqt
+5
-2
xtt/lib/xtt/qt/xtt_xcolwind_qt.cqt
xtt/lib/xtt/qt/xtt_xcolwind_qt.cqt
+0
-1
No files found.
xtt/lib/xtt/qt/xtt_hotkey_qt.cpp
View file @
5f080b12
...
...
@@ -228,7 +228,7 @@ int XttHotkey::event_handler(QEvent* event, QObject* data)
}
}
}
return
1
;
return
0
;
}
#endif
\ No newline at end of file
xtt/lib/xtt/qt/xtt_trace_qt.cqt
View file @
5f080b12
...
...
@@ -340,7 +340,6 @@ RtTraceQt::RtTraceQt(void* tr_parent_ctx, QWidget* tr_parent_wid,
QAction* a = addMenuRadioItem(
toplevel, view_sc, "0.50 s", SLOT(activate_scantime()), view_sc_group);
a->setData(500);
a->setChecked(true);
a = addMenuRadioItem(
toplevel, view_sc, "0.20 s", SLOT(activate_scantime()), view_sc_group);
a->setData(200);
...
...
@@ -362,7 +361,6 @@ RtTraceQt::RtTraceQt(void* tr_parent_ctx, QWidget* tr_parent_wid,
addMenuRadioItem(toplevel, mode, "V&iew", SLOT(activate_view()), mode_group);
QAction* mode_trace = addMenuRadioItem(
toplevel, mode, "&Trace", SLOT(activate_trace()), mode_group);
mode_trace->setChecked(true);
addMenuRadioItem(
toplevel, mode, "&Simulate", SLOT(activate_simulate()), mode_group);
...
...
@@ -428,6 +426,11 @@ RtTraceQt::RtTraceQt(void* tr_parent_ctx, QWidget* tr_parent_wid,
viewsetup();
flow_Open(flow_ctx, filename);
mode_trace->setChecked(true);
mode_trace->trigger();
view_sc_group->actions()[0]->setChecked(true);
view_sc_group->actions()[0]->trigger();
#if defined OS_LINUX
{
struct stat info;
...
...
xtt/lib/xtt/qt/xtt_xcolwind_qt.cqt
View file @
5f080b12
...
...
@@ -489,7 +489,6 @@ XColWindQt::XColWindQt(QWidget* xa_parent_wid, void* xa_parent_ctx,
QAction* a = addMenuRadioItem(
toplevel, view_sc, "0.50 s", SLOT(activate_scantime()), view_sc_group);
a->setData(500);
a->setChecked(true);
a = addMenuRadioItem(
toplevel, view_sc, "0.20 s", SLOT(activate_scantime()), view_sc_group);
a->setData(200);
...
...
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