Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ohj2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mvholmsy
ohj2
Commits
11a3c53f
Commit
11a3c53f
authored
5 years ago
by
mvholmsy
Browse files
Options
Downloads
Patches
Plain Diff
Päävalikkoa muokattu
parent
16d3f2d4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fxHiihtorekisteri/PaaikkunaGUIView.fxml
+58
-38
58 additions, 38 deletions
src/fxHiihtorekisteri/PaaikkunaGUIView.fxml
with
58 additions
and
38 deletions
src/fxHiihtorekisteri/PaaikkunaGUIView.fxml
+
58
−
38
View file @
11a3c53f
...
...
@@ -2,14 +2,15 @@
<?import fi.jyu.mit.fxgui.ComboBoxChooser?>
<?import fi.jyu.mit.fxgui.ListChooser?>
<?import fi.jyu.mit.fxgui.StringGrid?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.Tooltip?>
<?import javafx.scene.input.KeyCodeCombination?>
...
...
@@ -20,7 +21,7 @@
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.VBox?>
<BorderPane
xmlns=
"http://javafx.com/javafx/11.0.1"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"fxHiihtorekisteri.HiihtorekisteriGUIController"
>
<BorderPane
prefHeight=
"587.0"
prefWidth=
"673.0"
xmlns=
"http://javafx.com/javafx/11.0.1"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"fxHiihtorekisteri.HiihtorekisteriGUIController"
>
<bottom>
<HBox
spacing=
"10.0"
BorderPane.alignment=
"CENTER"
>
<BorderPane.margin>
...
...
@@ -31,7 +32,7 @@
<tooltip>
<Tooltip
text=
"Uuden jäsenen lisääminen"
/>
</tooltip></Button>
<Button
mnemonicParsing=
"false"
text=
"
Hiihtäjän tie
dot"
>
<Button
alignment=
"CENTER"
mnemonicParsing=
"false"
text=
"
Katso hiih
dot"
>
<tooltip>
<Tooltip
text=
"Tallenna"
/>
</tooltip></Button>
...
...
@@ -72,9 +73,51 @@
<VBox
alignment=
"TOP_CENTER"
prefHeight=
"200.0"
prefWidth=
"100.0"
>
<children>
<Label
contentDisplay=
"CENTER"
text=
"Hiihtäjät"
textAlignment=
"CENTER"
wrapText=
"true"
/>
<ListChooser
rivit=
"
"
/>
<ListChooser
rivit=
"
nimi
"
/>
</children>
</VBox>
<VBox
alignment=
"TOP_CENTER"
>
<children>
<Label
contentDisplay=
"CENTER"
text=
"Hiihtäjän tiedot"
textAlignment=
"CENTER"
/>
</children>
</VBox>
<GridPane
hgap=
"10.0"
prefHeight=
"117.0"
prefWidth=
"209.0"
>
<columnConstraints>
<ColumnConstraints
fillWidth=
"false"
halignment=
"RIGHT"
hgrow=
"SOMETIMES"
/>
<ColumnConstraints
hgrow=
"ALWAYS"
maxWidth=
"140.00004069010416"
minWidth=
"69.33333841959634"
prefWidth=
"83.33335367838542"
/>
</columnConstraints>
<rowConstraints>
<RowConstraints
vgrow=
"SOMETIMES"
/>
<RowConstraints
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
</rowConstraints>
<padding>
<Insets
left=
"10.0"
right=
"10.0"
top=
"10.0"
/>
</padding>
<children>
<Label
text=
"Sukunimi"
/>
<TextField
text=
"Nokka"
GridPane.columnIndex=
"1"
/>
<Label
text=
"Etunimi"
GridPane.rowIndex=
"1"
/>
<TextField
text=
"Räkä"
GridPane.columnIndex=
"1"
GridPane.hgrow=
"ALWAYS"
GridPane.rowIndex=
"1"
/>
<Label
text=
"Syntymäaika"
GridPane.rowIndex=
"2"
/>
<TextField
text=
"01.08.1955"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"2"
/>
<Label
text=
"Paikkakunta"
GridPane.rowIndex=
"3"
/>
<TextField
text=
"Lahti"
GridPane.columnIndex=
"1"
GridPane.hgrow=
"ALWAYS"
GridPane.rowIndex=
"3"
/>
<Label
text=
"Puhelinnumero"
GridPane.rowIndex=
"4"
/>
<TextField
text=
"0552012233"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"4"
/>
<Label
text=
"Sähköposti"
GridPane.rowIndex=
"5"
/>
<TextField
text=
"nr@niilot.fi"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"5"
/>
<Label
text=
"Liittymisvuosi"
GridPane.rowIndex=
"6"
/>
<TextField
text=
"1960"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"6"
/>
<Label
text=
"Km yhteensä"
GridPane.rowIndex=
"7"
/>
<TextField
text=
"1200"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"7"
/>
</children>
</GridPane>
</children>
</VBox>
</top>
...
...
@@ -83,40 +126,17 @@
<center>
<ScrollPane
fitToWidth=
"true"
prefHeight=
"200.0"
prefWidth=
"200.0"
BorderPane.alignment=
"CENTER"
>
<content>
<GridPane
hgap=
"10.0"
>
<columnConstraints>
<ColumnConstraints
fillWidth=
"false"
halignment=
"RIGHT"
hgrow=
"SOMETIMES"
/>
<ColumnConstraints
hgrow=
"ALWAYS"
maxWidth=
"140.00004069010416"
minWidth=
"69.33333841959634"
prefWidth=
"83.33335367838542"
/>
</columnConstraints>
<rowConstraints>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
</rowConstraints>
<padding>
<Insets
left=
"10.0"
right=
"10.0"
top=
"10.0"
/>
</padding>
<children>
<Label
text=
"Suorituspvm."
/>
<DatePicker
GridPane.columnIndex=
"1"
/>
<Label
text=
"Matka"
GridPane.rowIndex=
"1"
/>
<TextField
text=
"50"
GridPane.columnIndex=
"1"
GridPane.hgrow=
"ALWAYS"
GridPane.rowIndex=
"1"
/>
<Label
text=
"Hiihtoaika"
GridPane.rowIndex=
"2"
/>
<TextField
text=
"01:30"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"2"
/>
<Label
text=
"Lämpötila"
GridPane.rowIndex=
"3"
/>
<TextField
text=
"-5"
GridPane.columnIndex=
"1"
GridPane.hgrow=
"ALWAYS"
GridPane.rowIndex=
"3"
/>
<Label
text=
"Keskisyke"
GridPane.rowIndex=
"4"
/>
<TextField
text=
"135"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"4"
/>
<Label
text=
"Maksimisyke"
GridPane.rowIndex=
"5"
/>
<TextField
text=
"180"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"5"
/>
<Label
text=
"Kalorit"
GridPane.rowIndex=
"6"
/>
<TextField
text=
"550"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"6"
/>
</children>
</GridPane>
<StringGrid
prefHeight=
"400.0"
prefWidth=
"443.0"
>
<columns>
<TableColumn
minWidth=
"-1.0"
prefWidth=
"75.0"
text=
"Suorituspvm"
/>
<TableColumn
prefWidth=
"75.0"
text=
"Matka"
/>
<TableColumn
prefWidth=
"75.0"
text=
"Hiihtoaika"
/>
<TableColumn
prefWidth=
"75.0"
text=
"Lämpötila"
/>
<TableColumn
prefWidth=
"75.0"
text=
"Keskisyke"
/>
<TableColumn
prefWidth=
"75.0"
text=
"Maksimisyke"
/>
<TableColumn
prefWidth=
"75.0"
text=
"Kalorit"
/>
</columns>
</StringGrid>
</content>
</ScrollPane>
</center>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment