diff --git a/get_nib_dialog_base.ui b/get_nib_dialog_base.ui index 7c8525b99846c4a44e685457c269c168f4ad8e69..9a8073518c249802b8b229e3e838a197a1a2c6ad 100644 --- a/get_nib_dialog_base.ui +++ b/get_nib_dialog_base.ui @@ -6,105 +6,98 @@ <rect> <x>0</x> <y>0</y> - <width>331</width> - <height>177</height> + <width>349</width> + <height>359</height> </rect> </property> <property name="windowTitle"> <string>NIB of-prosjekt</string> </property> - <widget class="QDialogButtonBox" name="button_box"> + <widget class="QCheckBox" name="checkBox_resetNib"> + <property name="enabled"> + <bool>true</bool> + </property> <property name="geometry"> <rect> - <x>-20</x> - <y>140</y> - <width>341</width> - <height>32</height> + <x>10</x> + <y>10</y> + <width>225</width> + <height>20</height> </rect> </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - </widget> - <widget class="QPushButton" name="pushButton"> - <property name="geometry"> - <rect> - <x>280</x> - <y>110</y> - <width>40</width> - <height>23</height> - </rect> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> </property> <property name="text"> - <string>...</string> + <string>Reset (empty) "Nib-prosjekt"-group</string> </property> </widget> - <widget class="QComboBox" name="comboBox"> + <widget class="QDialogButtonBox" name="button_box"> <property name="geometry"> <rect> - <x>88</x> - <y>70</y> - <width>231</width> + <x>200</x> + <y>330</y> + <width>141</width> <height>22</height> </rect> </property> - </widget> - <widget class="QCheckBox" name="checkBox"> - <property name="geometry"> - <rect> - <x>10</x> - <y>40</y> - <width>311</width> - <height>17</height> - </rect> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> - <property name="text"> - <string>Use current map canvas</string> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - </widget> - <widget class="QLineEdit" name="lineEdit"> - <property name="geometry"> - <rect> - <x>90</x> - <y>110</y> - <width>181</width> - <height>22</height> - </rect> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> - <widget class="QLabel" name="label_lyr"> + <widget class="QToolButton" name="toolButton_help"> <property name="geometry"> <rect> <x>10</x> - <y>70</y> - <width>81</width> - <height>16</height> + <y>330</y> + <width>50</width> + <height>22</height> </rect> </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> <property name="text"> - <string>Select layer</string> + <string>Help</string> </property> </widget> - <widget class="QLabel" name="label_file"> + <widget class="QGroupBox" name="groupBox"> <property name="geometry"> <rect> <x>10</x> - <y>110</y> - <width>71</width> - <height>16</height> + <y>200</y> + <width>331</width> + <height>122</height> </rect> </property> <property name="font"> @@ -112,17 +105,140 @@ <pointsize>10</pointsize> </font> </property> - <property name="text"> - <string>Select file</string> + <property name="title"> + <string>Projects from</string> </property> + <widget class="QRadioButton" name="radioButton_btwyears"> + <property name="geometry"> + <rect> + <x>10</x> + <y>60</y> + <width>129</width> + <height>20</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Between the years</string> + </property> + </widget> + <widget class="QLineEdit" name="lineEdit_endyear"> + <property name="geometry"> + <rect> + <x>272</x> + <y>60</y> + <width>50</width> + <height>22</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + <widget class="QRadioButton" name="radioButton_allyears"> + <property name="geometry"> + <rect> + <x>10</x> + <y>30</y> + <width>72</width> + <height>20</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>All years</string> + </property> + </widget> + <widget class="QLabel" name="label_dash"> + <property name="geometry"> + <rect> + <x>257</x> + <y>60</y> + <width>12</width> + <height>22</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> + </property> + <property name="text"> + <string>-</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QLineEdit" name="lineEdit_startyear"> + <property name="geometry"> + <rect> + <x>204</x> + <y>60</y> + <width>50</width> + <height>22</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + <widget class="QCheckBox" name="checkBox_savelist"> + <property name="geometry"> + <rect> + <x>10</x> + <y>90</y> + <width>211</width> + <height>17</height> + </rect> + </property> + <property name="text"> + <string>Save project list(s) to text-file</string> + </property> + </widget> + <widget class="QCheckBox" name="checkBox_sort"> + <property name="geometry"> + <rect> + <x>242</x> + <y>90</y> + <width>80</width> + <height>17</height> + </rect> + </property> + <property name="text"> + <string>Sort list(s)</string> + </property> + </widget> </widget> - <widget class="QCheckBox" name="checkBoxNib"> + <widget class="QGroupBox" name="groupBox_2"> <property name="geometry"> <rect> <x>10</x> - <y>10</y> - <width>271</width> - <height>17</height> + <y>40</y> + <width>331</width> + <height>152</height> </rect> </property> <property name="font"> @@ -130,31 +246,209 @@ <pointsize>10</pointsize> </font> </property> - <property name="text"> - <string>Reset (empty) "Nib-prosjekt"-group</string> - </property> - </widget> - <widget class="QToolButton" name="toolButton_help"> - <property name="geometry"> - <rect> - <x>10</x> - <y>145</y> - <width>40</width> - <height>23</height> - </rect> - </property> - <property name="text"> - <string>Help</string> + <property name="title"> + <string>Bounding box (max. 500 km x 500 km)</string> </property> + <widget class="QComboBox" name="comboBox_lyr"> + <property name="geometry"> + <rect> + <x>120</x> + <y>90</y> + <width>201</width> + <height>22</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + <widget class="QLineEdit" name="lineEdit_lengthbb"> + <property name="geometry"> + <rect> + <x>204</x> + <y>60</y> + <width>50</width> + <height>22</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + <widget class="QRadioButton" name="radioButton_file"> + <property name="geometry"> + <rect> + <x>10</x> + <y>120</y> + <width>79</width> + <height>20</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Select file</string> + </property> + </widget> + <widget class="QLineEdit" name="lineEdit_heightbb"> + <property name="geometry"> + <rect> + <x>272</x> + <y>60</y> + <width>50</width> + <height>22</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + <widget class="QRadioButton" name="radioButton_udbb"> + <property name="geometry"> + <rect> + <x>10</x> + <y>60</y> + <width>158</width> + <height>20</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> + </property> + <property name="text"> + <string>User-defined (km x km)</string> + </property> + </widget> + <widget class="QLineEdit" name="lineEdit_file"> + <property name="geometry"> + <rect> + <x>120</x> + <y>120</y> + <width>145</width> + <height>22</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Ignored" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + <widget class="QPushButton" name="pushButton_file"> + <property name="geometry"> + <rect> + <x>272</x> + <y>120</y> + <width>50</width> + <height>22</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + <widget class="QLabel" name="label"> + <property name="geometry"> + <rect> + <x>257</x> + <y>60</y> + <width>12</width> + <height>22</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>x</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QRadioButton" name="radioButton_lyr"> + <property name="geometry"> + <rect> + <x>10</x> + <y>90</y> + <width>90</width> + <height>20</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Select layer</string> + </property> + </widget> + <widget class="QRadioButton" name="radioButton_ucmcbb"> + <property name="geometry"> + <rect> + <x>10</x> + <y>30</y> + <width>161</width> + <height>20</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> + </property> + <property name="text"> + <string>Use current map canvas</string> + </property> + </widget> </widget> </widget> <resources/> <connections> <connection> <sender>button_box</sender> - <signal>accepted()</signal> + <signal>rejected()</signal> <receiver>getnibDialogBase</receiver> - <slot>accept()</slot> + <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>20</x> @@ -168,9 +462,9 @@ </connection> <connection> <sender>button_box</sender> - <signal>rejected()</signal> + <signal>accepted()</signal> <receiver>getnibDialogBase</receiver> - <slot>reject()</slot> + <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>20</x>