introduced a base folder

This commit is contained in:
2022-12-19 14:09:09 +01:00
parent ccab9748c0
commit 3a40c037aa
17 changed files with 16 additions and 16 deletions

View File

@ -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
View File

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -1,5 +1,5 @@
import numpy as np
from plotdesc import PlotDescription
from .plotdesc import PlotDescription
X = np.arange(100) / 10

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -1,4 +1,4 @@
from theme import pg_plot_style
from .theme import pg_plot_style
class PlotDescription:

View File

@ -1,6 +1,6 @@
import atexit
from threading import Thread
from rpcserver import RPCServer
from .rpcserver import RPCServer
class RPCServerThread(Thread):