-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdanaquery.py
37 lines (30 loc) · 1.24 KB
/
danaquery.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Part of Dana-Cube Proyect by Werner Llácer (c) 2012-2018
Distributed according to the terms of the GNU LGPL v2.0 license or higher numbered versions.
The text of that particular version is available at https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html
Please see https://github.com/wllacer/dana-cube#license for further particulars about licencing of the Dana-Cube Project
"""
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from research.danaquery import EditWindow
from PyQt5.QtWidgets import QApplication
if __name__ == '__main__':
# para evitar problemas con utf-8, no lo recomiendan pero me funciona
import sys
#print(sys,version_info)
if sys.version_info[0] < 3:
reload(sys)
sys.setdefaultencoding('utf-8')
app = QApplication(sys.argv)
#conn,confName,confInfo = selector()
#if conn is None:
#sys.exit()
window = EditWindow()#conn,confName)
#window = multiEdit(conn,confName)
window.resize(app.primaryScreen().availableSize().width(),app.primaryScreen().availableSize().height())
window.show()
sys.exit(app.exec_())