restructured source

This commit is contained in:
Markus Rosenstihl 2014-09-24 18:01:14 +02:00
parent 2237694770
commit 95b4493781
19 changed files with 12 additions and 18 deletions

View File

@ -1,15 +1,9 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from gui import ConductivityGroupBox, PeakGroupBox, StaticGroupBox, PowerLawGroupBox, YAFFparameters, YAFFConfig
__author__ = 'markusro' __author__ = 'markusro'
from PyQt4.QtGui import QGroupBox, QPalette, QColor
import ConductivityGroupBox
import PeakGroupBox
import PowerLawGroupBox
import StaticGroupBox
import YAFFparameters, YAFFConfig
from PyQt4.QtGui import * from PyQt4.QtGui import *
from PyQt4.QtCore import QRegExp, pyqtSignal,pyqtSlot from PyQt4.QtCore import QRegExp, pyqtSignal,pyqtSlot

View File

@ -1,12 +1,12 @@
all: all:
pyrcc4 icons/images.qrc -o images_rc.py pyrcc4 icons/images.qrc -o images_rc.py
pyuic4 QDSMain.ui -o QDSMain.py pyuic4 gui/QDSMain.ui -o gui/QDSMain.py
pyuic4 PeakGroupBox.ui -o PeakGroupBox.py pyuic4 gui/PeakGroupBox.ui -o gui/PeakGroupBox.py
pyuic4 ConductivityGroupBox.ui -o ConductivityGroupBox.py pyuic4 gui/ConductivityGroupBox.ui -o gui/ConductivityGroupBox.py
pyuic4 PowerLawGroupBox.ui -o PowerLawGroupBox.py pyuic4 gui/PowerLawGroupBox.ui -o gui/PowerLawGroupBox.py
pyuic4 StaticGroupBox.ui -o StaticGroupBox.py pyuic4 gui/StaticGroupBox.ui -o gui/StaticGroupBox.py
pyuic4 YAFFparameters.ui -o YAFFparameters.py pyuic4 gui/YAFFparameters.ui -o gui/YAFFparameters.py
pyuic4 YAFFConfig.ui -o YAFFConfig.py pyuic4 gui/YAFFConfig.ui -o gui/YAFFConfig.py
pyuic4 ExtraDifferential.ui -o ExtraDifferential.py pyuic4 gui/ExtraDifferential.ui -o gui/ExtraDifferential.py
stats: stats:
wc -l QDS.py ContainerWidgets.py Container.py libyaff.py Mathlib.py Data.py wc -l QDS.py ContainerWidgets.py Container.py libyaff.py Mathlib.py Data.py

4
QDS.py
View File

@ -1,5 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
from gui import QDSMain, ExtraDifferentialWidget
_author_ = "Markus Rosenstihl" _author_ = "Markus Rosenstihl"
import hashlib,uuid import hashlib,uuid
@ -25,8 +27,6 @@ from ContainerWidgets import ParameterWidget
from BDSMathlib import FunctionRegister, FitRoutine from BDSMathlib import FunctionRegister, FitRoutine
from Data import Data from Data import Data
import QDSMain
import ExtraDifferentialWidget
class AppWindow(QMainWindow): class AppWindow(QMainWindow):
def __init__(self, files=[], parent=None): def __init__(self, files=[], parent=None):