forked from monero-project/monero-gui
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for window drag bug on ubuntu, only tested on windows
unknown
authored and
unknown
committed
Feb 3, 2016
1 parent
fce88a8
commit 6289e18
Showing
7 changed files
with
61 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.user | ||
*.user.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "oscursor.h" | ||
#include <QCursor> | ||
OSCursor::OSCursor(QObject *parent) | ||
: QObject(parent) | ||
{ | ||
} | ||
QPoint OSCursor::getPosition() const | ||
{ | ||
return QCursor::pos(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef OSCURSOR_H | ||
#define OSCURSOR_H | ||
|
||
|
||
#include <QObject> | ||
#include <QString> | ||
#include <QPoint> | ||
class OSCursor : public QObject | ||
{ | ||
Q_OBJECT | ||
//QObject(); | ||
public: | ||
//QObject(QObject* aParent); | ||
//OSCursor(); | ||
explicit OSCursor(QObject *parent = 0); | ||
Q_INVOKABLE QPoint getPosition() const; | ||
}; | ||
|
||
//OSCursor::OSCursor() : QObject(NULL){ | ||
|
||
//} | ||
|
||
|
||
//Q_DECLARE_METATYPE(OSCursor) | ||
#endif // OSCURSOR_H |