Archived
0

- implement add item dialog

- implement add group dialog
- implement remove system and station
- small fixes
This commit is contained in:
iMoHax
2015-01-08 18:56:56 +03:00
parent 9b1c975125
commit 11c714087c
18 changed files with 341 additions and 40 deletions

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
styleClass="dialog"
fx:controller="ru.trader.controllers.GroupAddController" spacing="4">
<Label text="%dialog.group.id"/>
<TextField fx:id="name" minWidth="200"/>
<Label text="%dialog.group.type"/>
<ComboBox fx:id="type" minWidth="200"/>
</HBox>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import org.controlsfx.glyphfont.Glyph?>
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
styleClass="dialog"
fx:controller="ru.trader.controllers.ItemAddController" spacing="4">
<Label text="%dialog.item.id"/>
<TextField fx:id="name" minWidth="200"/>
<Label text="%dialog.item.group"/>
<ComboBox fx:id="group" minWidth="200"/>
<Button prefWidth="30" onAction="#add"><graphic><Glyph text="FontAwesome|PLUS"/></graphic></Button>
</HBox>

View File

@@ -56,11 +56,11 @@
</HBox>
<HBox alignment="CENTER" spacing="5">
<Button prefWidth="80" text="%market.offers" onAction="#showOrders" />
<Button text="%route.button.top" onAction="#showTopOrders" />
<Button text="%router.button.top" onAction="#showTopOrders" />
</HBox>
<HBox alignment="CENTER" spacing="5">
<Button prefWidth="80" text="%routes" onAction="#showRoutes" />
<Button text="%route.button.top" onAction="#showTopRoutes" />
<Button text="%router.button.top" onAction="#showTopRoutes" />
</HBox>
</VBox>
</GridPane>