Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
skylivex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
astronomy
skylivex
Commits
2808b71c
Commit
2808b71c
authored
Feb 20, 2013
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some future proof tests for drag a borderless window
parent
d2d651e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
mainwin.cpp
src/mainwin.cpp
+10
-0
mainwin.h
src/mainwin.h
+5
-0
No files found.
src/mainwin.cpp
View file @
2808b71c
...
...
@@ -40,6 +40,7 @@
#include <QDir>
#include <QString>
#include <QPalette>
#include <QDragMoveEvent>
#include <iostream>
#include "ipcmsg.h"
...
...
@@ -72,6 +73,15 @@ MainWin::~MainWin()
}
// XXX This can be used in future to permit
// to drag a window borderless on the desktop.
/*
void MainWin::dragMoveEvent(QDragMoveEvent *ev)
{
std::cout << "Drag Move Event " << ev->pos().x() << std::endl;
}
*/
void
MainWin
::
setHtmlFile
(
QString
&
fname
)
{
...
...
src/mainwin.h
View file @
2808b71c
...
...
@@ -112,6 +112,11 @@ class MainWin : public QWebView
signals
:
void
putMessage
(
SKMessage
::
SKMessage
&
msg
);
// XXX Future usage
/*
protected:
void dragMoveEvent(QDragMoveEvent *ev);
*/
};
...
...
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