Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

55 lisää esimerkkitemplaatteja #56

Merged
merged 5 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions arho_feature_template/gui/template_dock.ui
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@
<widget class="QgsFilterLineEdit" name="search_box"/>
</item>
<item>
<widget class="QTreeView" name="template_list"/>
<widget class="QTreeView" name="template_list">
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
<item>
<widget class="QLabel" name="txt_tip">
Expand All @@ -56,7 +60,7 @@
<customwidget>
<class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends>
<header>qgis.gui</header>
<header>qgsfilterlineedit.h</header>
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm wondering if this should be still be qgis.gui. Apparently works also with the "wrong" header.
Was this edited automatically somehow?
Do you have QGIS custom widgets available in the Designer?
Or probably promoted widgets are configured on the Designer itself and now that is missing from you.

</customwidget>
</customwidgets>
<resources/>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ meta:
templates:
- name: Simppeli kaavakohde
group: Osa-alue
sub_group: Alue
# sub_group: Alue
description: Kaavakohde ilman kikkareita
feature:
layer: land_use_area
Expand All @@ -14,12 +14,56 @@ templates:
- attribute: type_of_underground_id
default: 1

- name: Asuinrakennusten alue
group: Aluevaraus
# sub_group: Alue
description: Aluella kuvataan ...
feature:
layer: land_use_area
# layer: Aluevaraus
attributes:
- attribute: name
- attribute: type_of_underground_id
default: 1
child_features:
- layer: plan_requlation_group
attributes:
- attribute: name
default: Asuinrakennusten alue
allow_user_input: false
child_features:
- layer: plan_requlation
attributes:
- attribute: type_of_plan_regulation_id
default: asumisenAlue
description: Asumisen alue
hidden: true
child_features:
- layer: additional_information_of_plan_regulation
attributes:
- attribute: type_of_additional_information_id
default: paakayttotarkoitus
description: Pääkäyttötarkoitus
hidden: true
- layer: plan_requlation_group
attributes:
- attribute: name
default: Korttelin numero
allow_user_input: false
child_features:
- layer: plan_requlation
attributes:
- attribute: type_of_plan_regulation_id
default: korttelinNumero
- attribute: numeric_default

- name: Asuin-, liike- ja toimistorakennusten alue
group: Aluevaraus
sub_group: Alue
description: Alueella kuvataan ...
# sub_group: Alue
description: Aluella kuvataan ...
feature:
layer: land_use_area
# layer: Aluevaraus
attributes:
- attribute: name
- attribute: type_of_underground_id
Expand All @@ -35,12 +79,167 @@ templates:
attributes:
- attribute: type_of_plan_regulation_id
default: asumisenAlue
description: Asumisen alue
hidden: true
child_features:
- layer: additional_information_of_plan_regulation
attributes:
- attribute: type_of_additional_information_id
default: paakayttotarkoitus
description: Pääkäyttötarkoitus
hidden: true
- layer: plan_requlation
attributes:
- attribute: type_of_plan_regulation_id
default: liikerakennustenAlue
description: Liikerakennusten alue
hidden: true
child_features:
- layer: additional_information_of_plan_regulation
attributes:
- attribute: type_of_additional_information_id
default: paakayttotarkoitus
description: Pääkäyttötarkoitus
hidden: true
- layer: plan_requlation
attributes:
- attribute: type_of_plan_regulation_id
default: toimitilojenAlue
description: Toimitilojen alue
hidden: true
child_features:
- layer: additional_information_of_plan_regulation
attributes:
- attribute: type_of_additional_information_id
default: paakayttotarkoitus
description: Pääkäyttötarkoitus
hidden: true
- layer: plan_requlation_group
attributes:
- attribute: name
default: Korttelin numero
allow_user_input: false
child_features:
- layer: plan_requlation
attributes:
- attribute: type_of_plan_regulation_id
default: korttelinNumero
description: Korttelin numero
- attribute: numeric_default

- name: Yleisten rakennusten alue
group: Aluevaraus
# sub_group: Alue
description: Aluella kuvataan ...
feature:
layer: land_use_area
# layer: Aluevaraus
attributes:
- attribute: name
- attribute: type_of_underground_id
default: 1
child_features:
- layer: plan_requlation_group
attributes:
- attribute: name
default: Yleisten rakennusten alue
allow_user_input: false
child_features:
- layer: plan_requlation
attributes:
- attribute: type_of_plan_regulation_id
default: asumisenAlue
description: Yleisten rakennusten alue
hidden: true
child_features:
- layer: additional_information_of_plan_regulation
attributes:
- attribute: type_of_additional_information_id
default: paakayttotarkoitus
description: Pääkäyttötarkoitus
hidden: true
- layer: additional_information_of_plan_regulation
attributes:
- attribute: type_of_additional_information_id
default:
description: Varattu yleiseen käyttöön
hidden: true

- name: Teollisuus- ja varastorakennusten alue
group: Aluevaraus
# sub_group: Alue
description: Aluella kuvataan ...
feature:
layer: land_use_area
# layer: Aluevaraus
attributes:
- attribute: name
- attribute: type_of_underground_id
default: 1
child_features:
- layer: plan_requlation_group
attributes:
- attribute: name
default: Teollisuusalue
allow_user_input: false
child_features:
- layer: plan_requlation
attributes:
- attribute: type_of_plan_regulation_id
default: teollisuusAlue
description: Teollisuusalue
hidden: true
child_features:
- layer: additional_information_of_plan_regulation
attributes:
- attribute: type_of_additional_information_id
default: paakayttotarkoitus
description: Pääkäyttötarkoitus
hidden: true
- layer: plan_requlation
attributes:
- attribute: type_of_plan_regulation_id
default: varastoAlue
description: Varastoalue
hidden: true
child_features:
- layer: additional_information_of_plan_regulation
attributes:
- attribute: type_of_additional_information_id
default: paakayttotarkoitus
description: Pääkäyttötarkoitus
hidden: true

- name: Virkistysalue
group: Aluevaraus
# sub_group: Alue
description: Aluella kuvataan ...
feature:
layer: land_use_area
# layer: Aluevaraus
attributes:
- attribute: name
- attribute: type_of_underground_id
default: 1
child_features:
- layer: plan_requlation_group
attributes:
- attribute: name
default: Virkistysalue
allow_user_input: false
child_features:
- layer: plan_requlation
attributes:
- attribute: type_of_plan_regulation_id
default: virkistysAlue
description: Virkistysalue
hidden: true
child_features:
- layer: additional_information_of_plan_regulation
attributes:
- attribute: type_of_additional_information_id
default: paakayttotarkoitus
description: Pääkäyttötarkoitus
hidden: true

- name: Ryhmätön simppeli kaavakohde
Expand Down
Loading