opentps.gui package

Subpackages

Submodules

opentps.gui.main module

class MainTestCase(methodName='runTest')

Bases: TestCase

testRun()
testViewController()
run()
runWithMainWindow(mainWindow)
viewController()

opentps.gui.mainWindow module

class MainWindow(viewControler)

Bases: QMainWindow

closeEvent(self, QCloseEvent)
setLateralToolbar(toolbar)
setMainPanel(mainPanel)
property viewController

opentps.gui.programSettingEditor module

class ActiveExtensions(toolbar: MainToolbar)

Bases: QWidget

class EditableSetting(property, value, action, parent=None)

Bases: QWidget

setValue(value)
class MCsquareConfigEditor(parent=None)

Bases: QWidget

class ProgramSettingEditor

Bases: QMainWindow

property mainToolbar
property programSettings: ProgramSettings
static setMainToolbar(mainToolbar)
static setProgramSettings(config)
setWorkspace(text)

opentps.gui.statusBar module

class StatusBar

Bases: QStatusBar

setInstructionText(txt)

opentps.gui.viewController module

class ViewController(patientList)

Bases: object

property activePatient
property activePatients
property crossHairEnabled
property currentPatient
property displayLayoutType
property dose1: DoseImage | None
property dose2: DoseImage | None
property dropMode
property droppedImage
property independentViewsEnabled
property mainImage
property patientList
property plan
property profileWidgetEnabled
property secondaryImage
property selectedImage
showContour(contour)
property windowLevelEnabled

Module contents

run()
runWithMainWindow(mainWindow)
viewController()