-
Notifications
You must be signed in to change notification settings - Fork 1
/
danacube_noqt.py
58 lines (44 loc) · 1.7 KB
/
danacube_noqt.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/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 pprint import pprint
import argparse
from PyQt5.QtWidgets import QApplication
from noqt.danacube import *
from noqt.core import Cubo,Vista, mergeString
#from support.gui.dialogs import *
#from support.util.jsonmgr import *
#from models import *
#import user as uf
#from support.util.decorators import *
#from base.filterDlg import filterDialog
#from base.datadict import DataDict
#from base.cubetree import traverseTree
#from support.datalayer.query_constructor import searchConstructor
#from support.gui.mplwidget import SimpleChart
#from support.util.uf_manager import *
#import base.exportWizard as eW
#from support.util.treestate import *
if __name__ == '__main__':
import sys
# con utf-8, no lo recomiendan pero me funciona
#print(sys,version_info)
if sys.version_info[0] < 3:
reload(sys)
sys.setdefaultencoding('utf-8')
parser = generaArgParser()
args = parser.parse_args()
app = QApplication(sys.argv)
window = DanaCubeWindow(args)
window.resize(app.primaryScreen().availableSize().width(),app.primaryScreen().availableSize().height())
window.show()
sys.exit(app.exec_())