Skip to content

Rework stateMachine and how it assigns title to window for trawl backdeck #216

Description

@jimfellows-NOAA

Low priority issue, but the way that the statemachine leads the app around from screen to screen should be reworked. For example, Settings, Select Haul, Serial Port Manager, etc are not used with this functionality. SHould also be able to write a single function to update the window title. For example, in TrawlBackdeckStateMachine.qml, have a property with the base string, and append the name of the current screen, and call whenever screen changes:

    property string titleStr: "Field Collector - Trawl Survey - Backdeck " + stateMachine.version
    
    function updateWindowTitle () {
        main.title = qsTr(titleStr + " - " + stateMachine.screen )
    }

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions