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
febc1951
Commit
febc1951
authored
Jun 13, 2019
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added workaround for XttGe closing the window on right click.
parent
59137ac7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
xtt/lib/glow/qt/glow_scroll_widget_qt.cqt
xtt/lib/glow/qt/glow_scroll_widget_qt.cqt
+3
-0
xtt/lib/xtt/qt/xtt_ge_qt.cqt
xtt/lib/xtt/qt/xtt_ge_qt.cqt
+4
-1
No files found.
xtt/lib/glow/qt/glow_scroll_widget_qt.cqt
View file @
febc1951
...
...
@@ -262,6 +262,9 @@ bool QtScrollWidgetGlow::event(QEvent* event)
is_realized = true;
}
handleEvent(event);
if (event->type() >= QEvent::MouseButtonPress && event->type() <= QEvent::MouseMove) {
return true;
}
return QWidget::event(event);
}
...
...
xtt/lib/xtt/qt/xtt_ge_qt.cqt
View file @
febc1951
...
...
@@ -209,6 +209,9 @@ XttGeQt::~XttGeQt()
nav_widget->close();
}
delete graph;
if (!(options & ge_mOptions_Embedded)) {
delete toplevel;
}
}
void XttGeQt::pop()
...
...
@@ -228,7 +231,7 @@ void XttGeQtWidget::closeEvent(QCloseEvent* event)
} else if (!(ge->options & ge_mOptions_Embedded)) {
delete ge;
}
QWidget::closeEvent(event
);
event->ignore(
);
}
void XttGeQtWidget::resizeEvent(QResizeEvent* event)
...
...
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