Skip to content

Conversation

@PotatoPeeler3000
Copy link
Collaborator

Added a feature where you can set the camera type from the deploy GUI. This makes it easier to use the Magewell stuff as that's the default option when adding a camera from the GUI.

image

public class CameraBean
{

public final ObjectProperty<CameraType> camera_type = new SimpleObjectProperty<>(CameraType.CAPTURE_CARD_MAGEWELL);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the camera type so that it can be saved to the file via the gui


camera_table.setEditable(true);

ObservableList<CameraType> cameraOptionsList = FXCollections.observableArrayList(CameraType.values());
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creates the dropdown in the GUI in order to select the camera type

<TableColumn fx:id="camera_id_col" prefWidth="244.5" text="ID"/>
<TableColumn fx:id="camera_name_col" prefWidth="318.0" text="Name"/>
<TableColumn fx:id="camera_input_col" prefWidth="193.0" text="Input Number"/>
<TableColumn fx:id="camera_type_column" prefWidth="250.0" text="Type"/>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a new column to javaFX

@PotatoPeeler3000 PotatoPeeler3000 merged commit 4a53f19 into develop Nov 13, 2024
2 checks passed
@PotatoPeeler3000 PotatoPeeler3000 deleted the cleanup/deploy-gui branch November 13, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants