Skip to content

Commit

Permalink
move run scenario button to step 4 tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Samweli committed May 14, 2024
1 parent a2ffc88 commit dbb2643
Showing 1 changed file with 103 additions and 95 deletions.
198 changes: 103 additions & 95 deletions src/cplus_plugin/ui/qgis_cplus_main_dockwidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -184,49 +184,6 @@
<string>Step 3</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_78">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string> Weighting priorities</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="3">
<widget class="QLabel" name="label_77">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Assign priority weights using the sliders. Add the priority weighting layers unique to each activity by clicking and dragging the layer under a group title.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3">
<widget class="Line" name="line_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_121">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Priority groups</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_122">
<property name="font">
Expand All @@ -240,19 +197,6 @@
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QFrame" name="priority_groups_frame">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
</widget>
</item>
<item row="4" column="1">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
Expand Down Expand Up @@ -311,19 +255,23 @@
</item>
</layout>
</item>
<item row="4" column="2">
<widget class="QListWidget" name="priority_layers_list">
<property name="dragEnabled">
<bool>true</bool>
<item row="2" column="0" colspan="3">
<widget class="Line" name="line_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::DragOnly</enum>
</widget>
</item>
<item row="4" column="0">
<widget class="QFrame" name="priority_groups_frame">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
<property name="lineWidth">
<number>0</number>
</property>
</widget>
</item>
Expand Down Expand Up @@ -374,6 +322,19 @@
</item>
</layout>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_78">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string> Weighting priorities</string>
</property>
</widget>
</item>
<item row="5" column="2">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
Expand Down Expand Up @@ -421,35 +382,44 @@
</item>
</layout>
</item>
<item row="6" column="2">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="run_scenario_btn">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>10</horstretch>
<verstretch>3</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Run Scenario</string>
</property>
</widget>
</item>
</layout>
<item row="1" column="0" colspan="3">
<widget class="QLabel" name="label_77">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Assign priority weights using the sliders. Add the priority weighting layers unique to each activity by clicking and dragging the layer under a group title.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_121">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Priority groups</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QListWidget" name="priority_layers_list">
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::DragOnly</enum>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
Expand Down Expand Up @@ -565,6 +535,44 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>410</x>
<y>390</y>
<width>361</width>
<height>27</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="run_scenario_btn">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>10</horstretch>
<verstretch>3</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Run Scenario</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QWidget" name="log">
<attribute name="title">
Expand Down

0 comments on commit dbb2643

Please sign in to comment.