Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Changed tests folder to examples
  • Loading branch information
mooshu1x2 committed Aug 4, 2016
1 parent d8b1195 commit 5a95b86842931c71b0fc1a2220d78f928943b254
Showing 6 changed files with 7 additions and 7 deletions.
@@ -76,10 +76,10 @@ def get_version ():
],
entry_points = {
'console_scripts': [
'mouse = userale.tests.testapp:test_app',
'drag = userale.tests.testdragndrop:test_drag',
'drag2 = userale.tests.testdragndrop2:test_drag2',
'window = userale.tests.testclose:test_close'
'mouse = userale.examples.testapp:test_app',
'drag = userale.examples.testdragndrop:test_drag',
'drag2 = userale.examples.testdragndrop2:test_drag2',
'window = userale.examples.testclose:test_close'
]
}
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -37,7 +37,7 @@ def dropEvent(self, e):
self.setText(e.mimeData().text())


class Example(QWidget):
class ExampleWidget(QWidget):

def __init__(self):
super().__init__()
@@ -63,9 +63,9 @@ def initUI(self):
def test_drag ():
app = QApplication(sys.argv)
# Turn off mouse click's and keylogging
ale = Ale (shutoff=['mousedown', 'mouseup'], keylog=True)
ale = Ale (shutoff=['mousemove', 'dragmove'], keylog=True)
# install globally
app.installEventFilter (ale)
ex = Example()
ex = ExampleWidget()
ex.show()
app.exec_()
File renamed without changes.

0 comments on commit 5a95b86

Please sign in to comment.