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
d88dc0e5
Commit
d88dc0e5
authored
Oct 19, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: fixed right click in xnav.
parent
ed7e5c16
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
88 deletions
+90
-88
xtt/lib/flow/qt/flow_draw_qt.cqt
xtt/lib/flow/qt/flow_draw_qt.cqt
+87
-85
xtt/lib/flow/qt/flow_draw_qt.h
xtt/lib/flow/qt/flow_draw_qt.h
+2
-2
xtt/lib/flow/qt/flow_scroll_widget_qt.cqt
xtt/lib/flow/qt/flow_scroll_widget_qt.cqt
+1
-1
No files found.
xtt/lib/flow/qt/flow_draw_qt.cqt
View file @
d88dc0e5
This diff is collapsed.
Click to expand it.
xtt/lib/flow/qt/flow_draw_qt.h
View file @
d88dc0e5
...
@@ -72,7 +72,7 @@ public:
...
@@ -72,7 +72,7 @@ public:
int
init_nav
(
QWidget
*
nav_widget
,
void
*
flow_ctx
);
int
init_nav
(
QWidget
*
nav_widget
,
void
*
flow_ctx
);
int
event_handler
(
QEvent
*
event
,
QWidget
*
target
);
int
event_handler
(
FlowCtx
*
ctx
,
QEvent
*
event
,
QWidget
*
target
);
void
enable_event
(
FlowCtx
*
ctx
,
flow_eEvent
event
,
flow_eEventType
event_type
,
void
enable_event
(
FlowCtx
*
ctx
,
flow_eEvent
event
,
flow_eEventType
event_type
,
int
(
*
event_cb
)(
FlowCtx
*
ctx
,
flow_tEvent
event
));
int
(
*
event_cb
)(
FlowCtx
*
ctx
,
flow_tEvent
event
));
...
@@ -252,7 +252,7 @@ private:
...
@@ -252,7 +252,7 @@ private:
int
x
,
int
y
,
char
*
text
,
int
len
);
int
x
,
int
y
,
char
*
text
,
int
len
);
void
cursor_helper
(
FlowCtx
*
ctx
,
draw_eCursor
cursor
,
bool
nav
=
false
);
void
cursor_helper
(
FlowCtx
*
ctx
,
draw_eCursor
cursor
,
bool
nav
=
false
);
void
event_timer
(
QMouseEvent
*
event
,
QWidget
*
target
);
void
event_timer
(
FlowCtx
*
ctx
,
QMouseEvent
*
event
,
QWidget
*
target
);
void
cancel_event_timer
();
void
cancel_event_timer
();
flow_draw_sTimerCb
*
timer_cb
;
flow_draw_sTimerCb
*
timer_cb
;
...
...
xtt/lib/flow/qt/flow_scroll_widget_qt.cqt
View file @
d88dc0e5
...
@@ -251,7 +251,7 @@ void QtScrollWidgetFlow::handleEvent(QEvent* event)
...
@@ -251,7 +251,7 @@ void QtScrollWidgetFlow::handleEvent(QEvent* event)
if (event->type() == QEvent::MouseMove) {
if (event->type() == QEvent::MouseMove) {
drawer->window->update();
drawer->window->update();
}
}
drawer->event_handler(event, this);
drawer->event_handler(
(FlowCtx*)parent_ctx,
event, this);
}
}
}
}
}
}
...
...
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