Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
d42f9660
Commit
d42f9660
authored
2 months ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Feat: Add decompress and load button to GUI
parent
0bc7e307
master
dev
dev_gui_features_zip_loading
3.17.0
archive/dev_gui_features_zip_loading
2 merge requests
!28
Version 3.17.0 Release
,
!26
Add ZIP-archive support
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/ZipEntryPicker.fxml
+27
-6
...rces/de/hft/stuttgart/citydoctor2/gui/ZipEntryPicker.fxml
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/icons/decompress_zipEntry.png
+0
-0
...t/stuttgart/citydoctor2/gui/icons/decompress_zipEntry.png
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/icons/load_zipEntry.png
+0
-0
.../de/hft/stuttgart/citydoctor2/gui/icons/load_zipEntry.png
with
27 additions
and
6 deletions
+27
-6
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/ZipEntryPicker.fxml
+
27
-
6
View file @
d42f9660
...
@@ -7,12 +7,39 @@
...
@@ -7,12 +7,39 @@
<?import javafx.scene.control.ProgressBar?>
<?import javafx.scene.control.ProgressBar?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Font?>
<VBox
xmlns=
"http://javafx.com/javafx/22"
xmlns:fx=
"http://javafx.com/fxml/1"
>
<VBox
xmlns=
"http://javafx.com/javafx/22"
xmlns:fx=
"http://javafx.com/fxml/1"
>
<children>
<children>
<HBox
prefHeight=
"50.0"
prefWidth=
"200.0"
spacing=
"5.0"
>
<padding>
<Insets
bottom=
"5.0"
left=
"5.0"
right=
"5.0"
top=
"5.0"
/>
</padding>
<children>
<Button
fx:id=
"decompressBtn"
alignment=
"CENTER"
layoutX=
"15.0"
layoutY=
"15.0"
maxWidth=
"1.7976931348623157E308"
mnemonicParsing=
"false"
>
<font>
<Font
size=
"14.0"
/>
</font>
<graphic>
<ImageView
fx:id=
"decompressImageView"
fitHeight=
"32.0"
fitWidth=
"32.0"
pickOnBounds=
"true"
preserveRatio=
"true"
/>
</graphic>
</Button>
<Button
fx:id=
"loadBtn"
alignment=
"CENTER"
maxWidth=
"1.7976931348623157E308"
mnemonicParsing=
"false"
>
<font>
<Font
size=
"14.0"
/>
</font>
<graphic>
<ImageView
fx:id=
"loadImageView"
fitHeight=
"32.0"
fitWidth=
"32.0"
pickOnBounds=
"true"
preserveRatio=
"true"
/>
</graphic>
</Button>
</children>
</HBox>
<HBox
fillHeight=
"false"
prefHeight=
"200.0"
prefWidth=
"600.0"
VBox.vgrow=
"ALWAYS"
>
<HBox
fillHeight=
"false"
prefHeight=
"200.0"
prefWidth=
"600.0"
VBox.vgrow=
"ALWAYS"
>
<children>
<children>
<TitledPane
fx:id=
"entriesPane"
collapsible=
"false"
text=
"Zip-entries"
HBox.hgrow=
"ALWAYS"
>
<TitledPane
fx:id=
"entriesPane"
collapsible=
"false"
text=
"Zip-entries"
HBox.hgrow=
"ALWAYS"
>
...
@@ -99,12 +126,6 @@
...
@@ -99,12 +126,6 @@
</TitledPane>
</TitledPane>
</children>
</children>
</HBox>
</HBox>
<Button
fx:id=
"loadBtn"
alignment=
"CENTER"
maxWidth=
"1.7976931348623157E308"
mnemonicParsing=
"false"
text=
" Load entry"
>
<font>
<Font
size=
"14.0"
/>
</font>
</Button>
<HBox
spacing=
"5.0"
>
<HBox
spacing=
"5.0"
>
<children>
<children>
<ProgressBar
fx:id=
"progress"
maxWidth=
"1.7976931348623157E308"
minHeight=
"40.0"
prefHeight=
"40.0"
<ProgressBar
fx:id=
"progress"
maxWidth=
"1.7976931348623157E308"
minHeight=
"40.0"
prefHeight=
"40.0"
...
...
This diff is collapsed.
Click to expand it.
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/icons/decompress_zipEntry.png
0 → 100644
+
0
-
0
View file @
d42f9660
19.1 KB
This diff is collapsed.
Click to expand it.
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/icons/load_zipEntry.png
0 → 100644
+
0
-
0
View file @
d42f9660
7.64 KB
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets