Manual Data Input (MDI)

MDI Interface

The MDI Interface uses a QLineEdit named mdi_command_le to enter commands.

MDI history uses a QListWidget named mdi_history_lw to display the MDI history. You can click on a line in the history display to copy the command to the MDI Interface

MDI Controls

The following QPushButtons can be used to execute MDI commands, copy or clear MDI history

MDI Push Buttons

Run MDI Command

run_mdi_pb

Copy the MDI History to the Clipboard

copy_mdi_history_pb

Clear the MDI History

clear_mdi_history_pb

The MDI history is kept in a file named ‘mdi_history.txt` in the configuration directory.

MDI Buttons

MDI buttons execute a MDI command when the button it pressed and are created by adding two dynamic properties called function and command to a QPushButton.

Note

If the command property is not found the button will not be enabled

Select the button then create a dynamic property by pressing on the green plus sign in the Property Editor.

_images/mdi-01.png

Then select string

_images/mdi-02.png

Name the property function and click on OK

_images/mdi-03.png

Set the value of the property to mdi

_images/mdi-04.png

Add a property called command

_images/mdi-05.png

Set the value of the property to your valid MDI command

_images/mdi-06.png