introduced a base folder
This commit is contained in:
6
grum.py
6
grum.py
@ -3,9 +3,9 @@
|
||||
import sys
|
||||
from PyQt5.QtWidgets import QApplication
|
||||
|
||||
import ctrl_c
|
||||
import theme
|
||||
from mainwin import MainWindow
|
||||
from grum import ctrl_c
|
||||
from grum import theme
|
||||
from grum.mainwin import MainWindow
|
||||
|
||||
|
||||
app = QApplication(sys.argv)
|
||||
|
0
grum/__init__.py
Normal file
0
grum/__init__.py
Normal file
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
@ -1,5 +1,5 @@
|
||||
import numpy as np
|
||||
from plotdesc import PlotDescription
|
||||
from .plotdesc import PlotDescription
|
||||
|
||||
|
||||
X = np.arange(100) / 10
|
@ -1,13 +1,13 @@
|
||||
from PyQt5.QtCore import Qt, pyqtSignal
|
||||
from PyQt5.QtWidgets import QMainWindow, QSplitter
|
||||
|
||||
import assets
|
||||
from dictlist import DictList
|
||||
from mdiarea import MDIArea
|
||||
from mdisubplot import MDISubPlot
|
||||
from rpcserverthread import RPCServerThread
|
||||
from plotdesc import PlotDescription
|
||||
from exampledata import exampledata
|
||||
from . import assets
|
||||
from .dictlist import DictList
|
||||
from .mdiarea import MDIArea
|
||||
from .mdisubplot import MDISubPlot
|
||||
from .rpcserverthread import RPCServerThread
|
||||
from .plotdesc import PlotDescription
|
||||
from .exampledata import exampledata
|
||||
|
||||
|
||||
class MainWindow(QMainWindow):
|
@ -1,8 +1,8 @@
|
||||
from PyQt5.QtWidgets import QMdiArea, QAction
|
||||
from PyQt5.QtGui import QPainter
|
||||
|
||||
import assets
|
||||
from theme import MDI_BKG
|
||||
from . import assets
|
||||
from .theme import MDI_BKG
|
||||
|
||||
|
||||
class MDIArea(QMdiArea):
|
@ -1,7 +1,7 @@
|
||||
from PyQt5.QtCore import Qt
|
||||
from PyQt5.QtWidgets import QMdiSubWindow
|
||||
import pyqtgraph as pg
|
||||
import assets
|
||||
from . import assets
|
||||
|
||||
|
||||
class MDISubPlot(QMdiSubWindow):
|
@ -1,4 +1,4 @@
|
||||
from theme import pg_plot_style
|
||||
from .theme import pg_plot_style
|
||||
|
||||
|
||||
class PlotDescription:
|
@ -1,6 +1,6 @@
|
||||
import atexit
|
||||
from threading import Thread
|
||||
from rpcserver import RPCServer
|
||||
from .rpcserver import RPCServer
|
||||
|
||||
|
||||
class RPCServerThread(Thread):
|
Reference in New Issue
Block a user