-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
195 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
24 changes: 24 additions & 0 deletions
24
out/production/RealTimeSerialPlotter/mainwindow/channel.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import java.lang.*?> | ||
<?import java.util.*?> | ||
<?import javafx.scene.*?> | ||
<?import javafx.scene.control.*?> | ||
<?import javafx.scene.layout.*?> | ||
|
||
<AnchorPane xmlns="http://javafx.com/javafx" | ||
xmlns:fx="http://javafx.com/fxml" | ||
fx:controller="mainwindow.Channel" | ||
prefHeight="400.0" prefWidth="600.0"> | ||
<children> | ||
<TextField layoutX="46.0" layoutY="118.0" /> | ||
<TextField layoutX="217.0" layoutY="118.0" /> | ||
<ColorPicker layoutX="396.0" layoutY="118.0" /> | ||
<Button layoutX="45.0" layoutY="149.0" mnemonicParsing="false" text="Set" /> | ||
<ChoiceBox layoutX="45.0" layoutY="53.0" prefWidth="150.0" /> | ||
<Label layoutX="48.0" layoutY="26.0" prefHeight="17.0" prefWidth="149.0" text="Choose channel" /> | ||
<Label layoutX="45.0" layoutY="91.0" prefHeight="17.0" prefWidth="152.0" text="Set curve name" /> | ||
<Label layoutX="217.0" layoutY="91.0" prefHeight="17.0" prefWidth="151.0" text="Set units" /> | ||
<Label layoutX="396.0" layoutY="91.0" prefHeight="17.0" prefWidth="127.0" text="Set color" /> | ||
</children> | ||
</AnchorPane> |
54 changes: 54 additions & 0 deletions
54
out/production/RealTimeSerialPlotter/mainwindow/chart.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.geometry.Insets?> | ||
<?import javafx.scene.chart.CategoryAxis?> | ||
<?import javafx.scene.chart.LineChart?> | ||
<?import javafx.scene.chart.NumberAxis?> | ||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.CheckBox?> | ||
<?import javafx.scene.layout.BorderPane?> | ||
<?import javafx.scene.layout.HBox?> | ||
<?import javafx.scene.layout.VBox?> | ||
|
||
<BorderPane minHeight="325.0" minWidth="600.0" xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1" fx:controller="mainwindow.Chart"> | ||
<center> | ||
<LineChart layoutY="37.0" prefHeight="226.0" prefWidth="455.0"> | ||
<xAxis> | ||
<CategoryAxis side="BOTTOM" /> | ||
</xAxis> | ||
<yAxis> | ||
<NumberAxis side="LEFT" /> | ||
</yAxis> | ||
</LineChart> | ||
</center> | ||
<right> | ||
<VBox spacing="10.0" BorderPane.alignment="CENTER"> | ||
<CheckBox layoutX="474.0" layoutY="87.0" mnemonicParsing="false" text="Channel 1" /> | ||
<CheckBox layoutX="474.0" layoutY="104.0" mnemonicParsing="false" text="Channel 2" /> | ||
<CheckBox layoutX="474.0" layoutY="121.0" mnemonicParsing="false" text="Channel 3" /> | ||
<CheckBox layoutX="474.0" layoutY="142.0" mnemonicParsing="false" text="Channel 4" /> | ||
<CheckBox layoutX="474.0" layoutY="161.0" mnemonicParsing="false" text="Channel 5" /> | ||
<CheckBox layoutX="474.0" layoutY="178.0" mnemonicParsing="false" text="Channel 6" /> | ||
<CheckBox layoutX="474.0" layoutY="53.0" mnemonicParsing="false" text="Channel 7" /> | ||
<CheckBox layoutX="474.0" layoutY="70.0" mnemonicParsing="false" text="Channel 8" /> | ||
<BorderPane.margin> | ||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> | ||
</BorderPane.margin> | ||
<padding> | ||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> | ||
</padding> | ||
</VBox> | ||
|
||
|
||
</right> | ||
<bottom> | ||
<HBox spacing="10.0"> | ||
<Button layoutX="114.0" layoutY="263.0" mnemonicParsing="false" text="START" /> | ||
<Button layoutX="176.0" layoutY="263.0" mnemonicParsing="false" text="STOP" /> | ||
<BorderPane.margin> | ||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> | ||
</BorderPane.margin> | ||
</HBox> | ||
|
||
</bottom> | ||
</BorderPane> |
19 changes: 19 additions & 0 deletions
19
out/production/RealTimeSerialPlotter/mainwindow/comPortLayout.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import java.lang.*?> | ||
<?import java.util.*?> | ||
<?import javafx.scene.*?> | ||
<?import javafx.scene.control.*?> | ||
<?import javafx.scene.layout.*?> | ||
|
||
<HBox layoutY="27.0" prefHeight="25.0" prefWidth="600.0" xmlns="http://javafx.com/javafx" | ||
xmlns:fx="http://javafx.com/fxml" | ||
fx:controller="mainwindow.COMPort"> | ||
<children> | ||
<Label prefHeight="25.0" prefWidth="65.0" text="COM Port" /> | ||
<ChoiceBox prefWidth="150.0" /> | ||
<Label prefHeight="29.0" prefWidth="55.0" text="Baudrate" /> | ||
<ChoiceBox prefWidth="150.0" /> | ||
<Button mnemonicParsing="false" text="Connect" /> | ||
</children> | ||
</HBox> |
10 changes: 10 additions & 0 deletions
10
out/production/RealTimeSerialPlotter/mainwindow/export.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import java.lang.*?> | ||
<?import java.util.*?> | ||
<?import javafx.scene.*?> | ||
<?import javafx.scene.control.*?> | ||
<?import javafx.scene.layout.*?> | ||
|
||
|
||
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import java.lang.*?> | ||
<?import java.util.*?> | ||
<?import javafx.scene.*?> | ||
<?import javafx.scene.control.*?> | ||
<?import javafx.scene.layout.*?> | ||
|
||
<AnchorPane xmlns="http://javafx.com/javafx" | ||
xmlns:fx="http://javafx.com/fxml" | ||
fx:controller="mainwindow.Log" | ||
prefHeight="400.0" prefWidth="600.0"> | ||
|
||
</AnchorPane> |
73 changes: 73 additions & 0 deletions
73
out/production/RealTimeSerialPlotter/mainwindow/mainWindowLayout.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Menu?> | ||
<?import javafx.scene.control.MenuBar?> | ||
<?import javafx.scene.control.MenuItem?> | ||
<?import javafx.scene.control.Tab?> | ||
<?import javafx.scene.control.TabPane?> | ||
<?import javafx.scene.layout.BorderPane?> | ||
<?import javafx.scene.layout.HBox?> | ||
|
||
<?import javafx.scene.layout.VBox?> | ||
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="400.0" minWidth="600.0" prefHeight="403.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1"> | ||
|
||
<center> | ||
<TabPane layoutY="52.0" prefHeight="314.0" prefWidth="600.0" tabClosingPolicy="UNAVAILABLE"> | ||
<tabs> | ||
<Tab text="Chart"> | ||
<content> | ||
<fx:include source="chart.fxml" /> | ||
</content> | ||
</Tab> | ||
<Tab text="Channel settings"> | ||
<content> | ||
<fx:include source="channel.fxml" /> | ||
</content> | ||
</Tab> | ||
<Tab text="Export"> | ||
<content> | ||
<fx:include source="export.fxml" /> | ||
</content> | ||
</Tab> | ||
<Tab text="Log"> | ||
<content> | ||
<fx:include source="log.fxml" /> | ||
</content> | ||
</Tab> | ||
</tabs> | ||
</TabPane> | ||
</center> | ||
|
||
<top> | ||
<VBox prefHeight="50.0" prefWidth="600.0"> | ||
<MenuBar layoutY="2.0" prefHeight="25.0" prefWidth="600.0"> | ||
<menus> | ||
<Menu mnemonicParsing="false" text="File"> | ||
<items> | ||
<MenuItem mnemonicParsing="false" text="Exit" /> | ||
<MenuItem mnemonicParsing="false" text="" /> | ||
</items> | ||
</Menu> | ||
<Menu mnemonicParsing="false" text="Edit"> | ||
<items> | ||
<MenuItem mnemonicParsing="false" text="Delete" /> | ||
</items> | ||
</Menu> | ||
<Menu mnemonicParsing="false" text="Help"> | ||
<items> | ||
<MenuItem mnemonicParsing="false" text="About" /> | ||
</items> | ||
</Menu> | ||
<Menu mnemonicParsing="false" text="Unspecified Menu"> | ||
<items> | ||
<MenuItem mnemonicParsing="false" text="Action 1" /> | ||
</items> | ||
</Menu> | ||
</menus> | ||
</MenuBar> | ||
<HBox layoutY="27.0" prefHeight="25.0" prefWidth="600.0"> | ||
<fx:include source="comPortLayout.fxml" /> | ||
</HBox> | ||
</VBox> | ||
</top> | ||
</BorderPane> |
Binary file not shown.