Changeset 335

Show
Ignore:
Timestamp:
03/01/10 09:00:08 (6 months ago)
Author:
grant
Message:

Updated based on changes requested by users (minor gui changes, made some fields required, etc)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/openoceanmap/oom_bc_comm/Interview/interviewstart.py

    r300 r335  
    77# Copyright (C) 2007  Aaron Racicot 
    88# Copyright (C) 2008  Tim Welch 
    9 # Copyright (C) 2009  Grant Gilron, Ecotrust Canada 
     9# Copyright (C) 2010  Grant Gilron, Ecotrust Canada 
    1010#  
    1111#--------------------------------------------------------------------- 
     
    5353 
    5454    def on_pbnSelectFishery_released(self): 
     55 
     56        ######################################## 
     57        ### START REQUIRED FIELDS VALIDATION ### 
     58        ######################################## 
     59        first_name = self.interviewee_first_name_line.text() 
     60        if not first_name: 
     61            QMessageBox.warning(self, "Missing Required Field", "Please enter First Name.") 
     62            return 
     63 
     64        last_name = self.interviewee_last_name_line.text() 
     65        if not last_name: 
     66            QMessageBox.warning(self, "Missing Required Field", "Please enter Last name.") 
     67            return 
     68 
     69        comm_of_res = self.city_line.text() 
     70        if not comm_of_res: 
     71            QMessageBox.warning(self, "Missing Required Field", "Please enter Community of Residence.") 
     72            return 
     73 
     74        data_sharing = self.data_sharing_comboBox.currentText() 
     75        if not data_sharing: 
     76            QMessageBox.warning(self, "Missing Required Field", "Please select a Data Sharing agreement.") 
     77            return 
     78 
     79        home_port = self.home_port_line.text() 
     80        if not home_port: 
     81            QMessageBox.warning(self, "Missing Required Field", "Please enter the Home Port.") 
     82            return 
     83 
     84        yrs_exp = self.years_line.text() 
     85        if not yrs_exp: 
     86            QMessageBox.warning(self, "Missing Required Field", "Please enter Years of Experience.") 
     87            return 
     88 
     89        interviewer_first_name = self.interviewee_first_name_line.text() 
     90        if not interviewer_first_name: 
     91            QMessageBox.warning(self, "Missing Required Field", "Please enter Interviewer First Name.") 
     92            return 
     93         
     94        interviewer_last_name = self.interviewee_last_name_line.text() 
     95        if not interviewer_last_name: 
     96            QMessageBox.warning(self, "Missing Required Field", "Please enter Interviewer Last Name.") 
     97            return 
     98 
     99        interview_date = self.InterviewDate.text() 
     100        if not interview_date: 
     101            QMessageBox.warning(self, "Missing Required Field", "Please enter Interview Date.") 
     102            return 
     103        ###################################### 
     104        ### END REQUIRED FIELDS VALIDATION ### 
     105        ###################################### 
     106                     
    55107        interviewInfo2 = self.parent.interviewInfo2 
    56108         
  • branches/openoceanmap/oom_bc_comm/Interview/interviewstart.ui

    r300 r335  
    5555                 <property name="minimumSize" > 
    5656                  <size> 
    57                    <width>100</width> 
     57                   <width>130</width> 
    5858                   <height>0</height> 
    5959                  </size> 
     
    6161                 <property name="maximumSize" > 
    6262                  <size> 
    63                    <width>100</width> 
     63                   <width>130</width> 
    6464                   <height>16777215</height> 
    6565                  </size> 
     
    7070                  </font> 
    7171                 </property> 
     72                 <property name="toolTip" > 
     73                  <string/> 
     74                 </property> 
    7275                 <property name="text" > 
    73                   <string>First Name:</string> 
     76                  <string>First Name *:</string> 
    7477                 </property> 
    7578                </widget> 
     
    8285                 <property name="minimumSize" > 
    8386                  <size> 
    84                    <width>200</width> 
     87                   <width>180</width> 
    8588                   <height>0</height> 
    8689                  </size> 
     
    8891                 <property name="maximumSize" > 
    8992                  <size> 
    90                    <width>200</width> 
     93                   <width>180</width> 
    9194                   <height>16777215</height> 
    9295                  </size> 
     96                 </property> 
     97                 <property name="palette" > 
     98                  <palette> 
     99                   <active> 
     100                    <colorrole role="Base" > 
     101                     <brush brushstyle="SolidPattern" > 
     102                      <color alpha="255" > 
     103                       <red>249</red> 
     104                       <green>255</green> 
     105                       <blue>178</blue> 
     106                      </color> 
     107                     </brush> 
     108                    </colorrole> 
     109                   </active> 
     110                   <inactive> 
     111                    <colorrole role="Base" > 
     112                     <brush brushstyle="SolidPattern" > 
     113                      <color alpha="255" > 
     114                       <red>249</red> 
     115                       <green>255</green> 
     116                       <blue>178</blue> 
     117                      </color> 
     118                     </brush> 
     119                    </colorrole> 
     120                   </inactive> 
     121                   <disabled> 
     122                    <colorrole role="Base" > 
     123                     <brush brushstyle="SolidPattern" > 
     124                      <color alpha="255" > 
     125                       <red>212</red> 
     126                       <green>208</green> 
     127                       <blue>200</blue> 
     128                      </color> 
     129                     </brush> 
     130                    </colorrole> 
     131                   </disabled> 
     132                  </palette> 
    93133                 </property> 
    94134                 <property name="font" > 
     
    96136                   <pointsize>8</pointsize> 
    97137                  </font> 
     138                 </property> 
     139                 <property name="toolTip" > 
     140                  <string>Required Field</string> 
    98141                 </property> 
    99142                 <property name="text" > 
     
    123166                 <property name="minimumSize" > 
    124167                  <size> 
    125                    <width>100</width> 
     168                   <width>130</width> 
    126169                   <height>0</height> 
    127170                  </size> 
     
    129172                 <property name="maximumSize" > 
    130173                  <size> 
    131                    <width>100</width> 
     174                   <width>130</width> 
    132175                   <height>16777215</height> 
    133176                  </size> 
     
    138181                  </font> 
    139182                 </property> 
     183                 <property name="toolTip" > 
     184                  <string/> 
     185                 </property> 
    140186                 <property name="text" > 
    141                   <string>Last Name:</string> 
     187                  <string>Last Name *:</string> 
    142188                 </property> 
    143189                </widget> 
     
    150196                 <property name="minimumSize" > 
    151197                  <size> 
    152                    <width>200</width> 
     198                   <width>180</width> 
    153199                   <height>0</height> 
    154200                  </size> 
     
    156202                 <property name="maximumSize" > 
    157203                  <size> 
    158                    <width>200</width> 
     204                   <width>180</width> 
    159205                   <height>16777215</height> 
    160206                  </size> 
     207                 </property> 
     208                 <property name="palette" > 
     209                  <palette> 
     210                   <active> 
     211                    <colorrole role="Base" > 
     212                     <brush brushstyle="SolidPattern" > 
     213                      <color alpha="255" > 
     214                       <red>249</red> 
     215                       <green>255</green> 
     216                       <blue>178</blue> 
     217                      </color> 
     218                     </brush> 
     219                    </colorrole> 
     220                   </active> 
     221                   <inactive> 
     222                    <colorrole role="Base" > 
     223                     <brush brushstyle="SolidPattern" > 
     224                      <color alpha="255" > 
     225                       <red>249</red> 
     226                       <green>255</green> 
     227                       <blue>178</blue> 
     228                      </color> 
     229                     </brush> 
     230                    </colorrole> 
     231                   </inactive> 
     232                   <disabled> 
     233                    <colorrole role="Base" > 
     234                     <brush brushstyle="SolidPattern" > 
     235                      <color alpha="255" > 
     236                       <red>212</red> 
     237                       <green>208</green> 
     238                       <blue>200</blue> 
     239                      </color> 
     240                     </brush> 
     241                    </colorrole> 
     242                   </disabled> 
     243                  </palette> 
    161244                 </property> 
    162245                 <property name="font" > 
     
    164247                   <pointsize>8</pointsize> 
    165248                  </font> 
     249                 </property> 
     250                 <property name="toolTip" > 
     251                  <string>Required Field</string> 
    166252                 </property> 
    167253                 <property name="text" > 
     
    191277                 <property name="minimumSize" > 
    192278                  <size> 
    193                    <width>100</width> 
     279                   <width>130</width> 
    194280                   <height>0</height> 
    195281                  </size> 
     
    197283                 <property name="maximumSize" > 
    198284                  <size> 
    199                    <width>100</width> 
     285                   <width>130</width> 
    200286                   <height>16777215</height> 
    201287                  </size> 
     
    218304                 <property name="minimumSize" > 
    219305                  <size> 
    220                    <width>200</width> 
     306                   <width>180</width> 
    221307                   <height>0</height> 
    222308                  </size> 
     
    224310                 <property name="maximumSize" > 
    225311                  <size> 
    226                    <width>200</width> 
     312                   <width>180</width> 
    227313                   <height>16777215</height> 
    228314                  </size> 
     
    259345                 <property name="minimumSize" > 
    260346                  <size> 
    261                    <width>100</width> 
     347                   <width>130</width> 
    262348                   <height>0</height> 
    263349                  </size> 
     
    265351                 <property name="maximumSize" > 
    266352                  <size> 
    267                    <width>100</width> 
     353                   <width>130</width> 
    268354                   <height>16777215</height> 
    269355                  </size> 
     
    281367               <item> 
    282368                <widget class="QComboBox" name="gender_comboBox" > 
     369                 <property name="minimumSize" > 
     370                  <size> 
     371                   <width>180</width> 
     372                   <height>0</height> 
     373                  </size> 
     374                 </property> 
    283375                 <property name="maximumSize" > 
    284376                  <size> 
    285                    <width>200</width> 
     377                   <width>180</width> 
    286378                   <height>16777215</height> 
    287379                  </size> 
     
    333425                 <property name="minimumSize" > 
    334426                  <size> 
    335                    <width>100</width> 
     427                   <width>130</width> 
    336428                   <height>0</height> 
    337429                  </size> 
     
    339431                 <property name="maximumSize" > 
    340432                  <size> 
    341                    <width>100</width> 
     433                   <width>130</width> 
    342434                   <height>16777215</height> 
    343435                  </size> 
     
    348440                  </font> 
    349441                 </property> 
     442                 <property name="toolTip" > 
     443                  <string>Required Field</string> 
     444                 </property> 
    350445                 <property name="text" > 
    351                   <string>City of residence:</string> 
     446                  <string>Community of Residence *:</string> 
    352447                 </property> 
    353448                </widget> 
     
    360455                 <property name="minimumSize" > 
    361456                  <size> 
    362                    <width>200</width> 
     457                   <width>180</width> 
    363458                   <height>0</height> 
    364459                  </size> 
     
    366461                 <property name="maximumSize" > 
    367462                  <size> 
    368                    <width>200</width> 
     463                   <width>180</width> 
    369464                   <height>16777215</height> 
    370465                  </size> 
     466                 </property> 
     467                 <property name="palette" > 
     468                  <palette> 
     469                   <active> 
     470                    <colorrole role="Base" > 
     471                     <brush brushstyle="SolidPattern" > 
     472                      <color alpha="255" > 
     473                       <red>249</red> 
     474                       <green>255</green> 
     475                       <blue>178</blue> 
     476                      </color> 
     477                     </brush> 
     478                    </colorrole> 
     479                   </active> 
     480                   <inactive> 
     481                    <colorrole role="Base" > 
     482                     <brush brushstyle="SolidPattern" > 
     483                      <color alpha="255" > 
     484                       <red>249</red> 
     485                       <green>255</green> 
     486                       <blue>178</blue> 
     487                      </color> 
     488                     </brush> 
     489                    </colorrole> 
     490                   </inactive> 
     491                   <disabled> 
     492                    <colorrole role="Base" > 
     493                     <brush brushstyle="SolidPattern" > 
     494                      <color alpha="255" > 
     495                       <red>212</red> 
     496                       <green>208</green> 
     497                       <blue>200</blue> 
     498                      </color> 
     499                     </brush> 
     500                    </colorrole> 
     501                   </disabled> 
     502                  </palette> 
    371503                 </property> 
    372504                 <property name="font" > 
     
    374506                   <pointsize>8</pointsize> 
    375507                  </font> 
     508                 </property> 
     509                 <property name="toolTip" > 
     510                  <string>Required Field</string> 
    376511                 </property> 
    377512                 <property name="text" > 
     
    410545                  </font> 
    411546                 </property> 
     547                 <property name="toolTip" > 
     548                  <string/> 
     549                 </property> 
    412550                 <property name="text" > 
    413                   <string>Data Sharing:</string> 
     551                  <string>Data Sharing *:</string> 
    414552                 </property> 
    415553                </widget> 
     
    423561                  </size> 
    424562                 </property> 
     563                 <property name="palette" > 
     564                  <palette> 
     565                   <active> 
     566                    <colorrole role="Base" > 
     567                     <brush brushstyle="SolidPattern" > 
     568                      <color alpha="255" > 
     569                       <red>249</red> 
     570                       <green>255</green> 
     571                       <blue>178</blue> 
     572                      </color> 
     573                     </brush> 
     574                    </colorrole> 
     575                   </active> 
     576                   <inactive> 
     577                    <colorrole role="Base" > 
     578                     <brush brushstyle="SolidPattern" > 
     579                      <color alpha="255" > 
     580                       <red>249</red> 
     581                       <green>255</green> 
     582                       <blue>178</blue> 
     583                      </color> 
     584                     </brush> 
     585                    </colorrole> 
     586                   </inactive> 
     587                   <disabled> 
     588                    <colorrole role="Base" > 
     589                     <brush brushstyle="SolidPattern" > 
     590                      <color alpha="255" > 
     591                       <red>212</red> 
     592                       <green>208</green> 
     593                       <blue>200</blue> 
     594                      </color> 
     595                     </brush> 
     596                    </colorrole> 
     597                   </disabled> 
     598                  </palette> 
     599                 </property> 
    425600                 <property name="font" > 
    426601                  <font> 
    427602                   <pointsize>8</pointsize> 
    428603                  </font> 
     604                 </property> 
     605                 <property name="toolTip" > 
     606                  <string>Required Field</string> 
    429607                 </property> 
    430608                 <item> 
     
    508686                  </font> 
    509687                 </property> 
     688                 <property name="toolTip" > 
     689                  <string/> 
     690                 </property> 
    510691                 <property name="text" > 
    511                   <string>Interview Date:</string> 
     692                  <string>Interview Date *:</string> 
    512693                 </property> 
    513694                </widget> 
     
    515696               <item> 
    516697                <widget class="QDateEdit" name="InterviewDate" > 
     698                 <property name="palette" > 
     699                  <palette> 
     700                   <active> 
     701                    <colorrole role="Base" > 
     702                     <brush brushstyle="SolidPattern" > 
     703                      <color alpha="255" > 
     704                       <red>249</red> 
     705                       <green>255</green> 
     706                       <blue>178</blue> 
     707                      </color> 
     708                     </brush> 
     709                    </colorrole> 
     710                   </active> 
     711                   <inactive> 
     712                    <colorrole role="Base" > 
     713                     <brush brushstyle="SolidPattern" > 
     714                      <color alpha="255" > 
     715                       <red>249</red> 
     716                       <green>255</green> 
     717                       <blue>178</blue> 
     718                      </color> 
     719                     </brush> 
     720                    </colorrole> 
     721                   </inactive> 
     722                   <disabled> 
     723                    <colorrole role="Base" > 
     724                     <brush brushstyle="SolidPattern" > 
     725                      <color alpha="255" > 
     726                       <red>212</red> 
     727                       <green>208</green> 
     728                       <blue>200</blue> 
     729                      </color> 
     730                     </brush> 
     731                    </colorrole> 
     732                   </disabled> 
     733                  </palette> 
     734                 </property> 
     735                 <property name="toolTip" > 
     736                  <string>Required Field</string> 
     737                 </property> 
    517738                 <property name="locale" > 
    518739                  <locale country="Canada" language="English" /> 
     
    579800                  </font> 
    580801                 </property> 
     802                 <property name="toolTip" > 
     803                  <string/> 
     804                 </property> 
    581805                 <property name="text" > 
    582                   <string>First Name:</string> 
     806                  <string>First Name *:</string> 
    583807                 </property> 
    584808                </widget> 
     
    601825                  </size> 
    602826                 </property> 
     827                 <property name="palette" > 
     828                  <palette> 
     829                   <active> 
     830                    <colorrole role="Base" > 
     831                     <brush brushstyle="SolidPattern" > 
     832                      <color alpha="255" > 
     833                       <red>249</red> 
     834                       <green>255</green> 
     835                       <blue>178</blue> 
     836                      </color> 
     837                     </brush> 
     838                    </colorrole> 
     839                   </active> 
     840                   <inactive> 
     841                    <colorrole role="Base" > 
     842                     <brush brushstyle="SolidPattern" > 
     843                      <color alpha="255" > 
     844                       <red>249</red> 
     845                       <green>255</green> 
     846                       <blue>178</blue> 
     847                      </color> 
     848                     </brush> 
     849                    </colorrole> 
     850                   </inactive> 
     851                   <disabled> 
     852                    <colorrole role="Base" > 
     853                     <brush brushstyle="SolidPattern" > 
     854                      <color alpha="255" > 
     855                       <red>212</red> 
     856                       <green>208</green> 
     857                       <blue>200</blue> 
     858                      </color> 
     859                     </brush> 
     860                    </colorrole> 
     861                   </disabled> 
     862                  </palette> 
     863                 </property> 
    603864                 <property name="font" > 
    604865                  <font> 
    605866                   <pointsize>8</pointsize> 
    606867                  </font> 
     868                 </property> 
     869                 <property name="toolTip" > 
     870                  <string>Required Field</string> 
    607871                 </property> 
    608872                 <property name="text" > 
     
    647911                  </font> 
    648912                 </property> 
     913                 <property name="toolTip" > 
     914                  <string/> 
     915                 </property> 
    649916                 <property name="text" > 
    650                   <string>Last Name:</string> 
     917                  <string>Last Name *:</string> 
    651918                 </property> 
    652919                </widget> 
     
    669936                  </size> 
    670937                 </property> 
     938                 <property name="palette" > 
     939                  <palette> 
     940                   <active> 
     941                    <colorrole role="Base" > 
     942                     <brush brushstyle="SolidPattern" > 
     943                      <color alpha="255" > 
     944                       <red>249</red> 
     945                       <green>255</green> 
     946                       <blue>178</blue> 
     947                      </color> 
     948                     </brush> 
     949                    </colorrole> 
     950                   </active> 
     951                   <inactive> 
     952                    <colorrole role="Base" > 
     953                     <brush brushstyle="SolidPattern" > 
     954                      <color alpha="255" > 
     955                       <red>249</red> 
     956                       <green>255</green> 
     957                       <blue>178</blue> 
     958                      </color> 
     959                     </brush> 
     960                    </colorrole> 
     961                   </inactive> 
     962                   <disabled> 
     963                    <colorrole role="Base" > 
     964                     <brush brushstyle="SolidPattern" > 
     965                      <color alpha="255" > 
     966                       <red>212</red> 
     967                       <green>208</green> 
     968                       <blue>200</blue> 
     969                      </color> 
     970                     </brush> 
     971                    </colorrole> 
     972                   </disabled> 
     973                  </palette> 
     974                 </property> 
    671975                 <property name="font" > 
    672976                  <font> 
    673977                   <pointsize>8</pointsize> 
    674978                  </font> 
     979                 </property> 
     980                 <property name="toolTip" > 
     981                  <string>Required Field</string> 
    675982                 </property> 
    676983                 <property name="text" > 
     
    7161023                 </property> 
    7171024                 <property name="text" > 
    718                   <string>Interviewer Mood:</string> 
     1025                  <string>Interviewee's Outlook:</string> 
    7191026                 </property> 
    7201027                </widget> 
     
    8191126              </font> 
    8201127             </property> 
    821              <property name="text" > 
    822               <string>Home Port:</string> 
     1128             <property name="toolTip" > 
     1129              <string/> 
     1130             </property> 
     1131             <property name="text" > 
     1132              <string>Home Port *:</string> 
    8231133             </property> 
    8241134            </widget> 
     
    8411151              </size> 
    8421152             </property> 
    843              <property name="font" > 
    844               <font> 
    845                <pointsize>8</pointsize> 
    846               </font> 
     1153             <property name="palette" > 
     1154              <palette> 
     1155               <active> 
     1156                <colorrole role="Base" > 
     1157                 <brush brushstyle="SolidPattern" > 
     1158                  <color alpha="255" > 
     1159                   <red>249</red> 
     1160                   <green>255</green> 
     1161                   <blue>178</blue> 
     1162                  </color> 
     1163                 </brush> 
     1164                </colorrole> 
     1165               </active> 
     1166               <inactive> 
     1167                <colorrole role="Base" > 
     1168                 <brush brushstyle="SolidPattern" > 
     1169                  <color alpha="255" > 
     1170                   <red>249</red> 
     1171                   <green>255</green> 
     1172                   <blue>178</blue> 
     1173                  </color> 
     1174                 </brush> 
     1175                </colorrole> 
     1176               </inactive> 
     1177               <disabled> 
     1178                <colorrole role="Base" > 
     1179                 <brush brushstyle="SolidPattern" > 
     1180                  <color alpha="255" > 
     1181                   <red>212</red> 
     1182                   <green>208</green> 
     1183                   <blue>200</blue> 
     1184                  </color> 
     1185                 </brush> 
     1186                </colorrole> 
     1187               </disabled> 
     1188              </palette> 
     1189             </property> 
     1190             <property name="font" > 
     1191              <font> 
     1192               <pointsize>8</pointsize> 
     1193              </font> 
     1194             </property> 
     1195             <property name="toolTip" > 
     1196              <string>Required Field</string> 
    8471197             </property> 
    8481198             <property name="text" > 
     
    8871237              </font> 
    8881238             </property> 
    889              <property name="text" > 
    890               <string>Years experience:</string> 
     1239             <property name="toolTip" > 
     1240              <string/> 
     1241             </property> 
     1242             <property name="text" > 
     1243              <string>Years of experience *:</string> 
    8911244             </property> 
    8921245            </widget> 
     
    9091262              </size> 
    9101263             </property> 
    911              <property name="font" > 
    912               <font> 
    913                <pointsize>8</pointsize> 
    914               </font> 
     1264             <property name="palette" > 
     1265              <palette> 
     1266               <active> 
     1267                <colorrole role="Base" > 
     1268                 <brush brushstyle="SolidPattern" > 
     1269                  <color alpha="255" > 
     1270                   <red>249</red> 
     1271                   <green>255</green> 
     1272                   <blue>178</blue> 
     1273                  </color> 
     1274                 </brush> 
     1275                </colorrole> 
     1276               </active> 
     1277               <inactive> 
     1278                <colorrole role="Base" > 
     1279                 <brush brushstyle="SolidPattern" > 
     1280                  <color alpha="255" > 
     1281                   <red>249</red> 
     1282                   <green>255</green> 
     1283                   <blue>178</blue> 
     1284                  </color> 
     1285                 </brush> 
     1286                </colorrole> 
     1287               </inactive> 
     1288               <disabled> 
     1289                <colorrole role="Base" > 
     1290                 <brush brushstyle="SolidPattern" > 
     1291                  <color alpha="255" > 
     1292                   <red>212</red> 
     1293                   <green>208</green> 
     1294                   <blue>200</blue> 
     1295                  </color> 
     1296                 </brush> 
     1297                </colorrole> 
     1298               </disabled> 
     1299              </palette> 
     1300             </property> 
     1301             <property name="font" > 
     1302              <font> 
     1303               <pointsize>8</pointsize> 
     1304              </font> 
     1305             </property> 
     1306             <property name="toolTip" > 
     1307              <string>Required Field</string> 
    9151308             </property> 
    9161309             <property name="text" > 
     
    9561349             </property> 
    9571350             <property name="text" > 
    958               <string>% income from fishing:</string> 
     1351              <string>% of income from fishing:</string> 
    9591352             </property> 
    9601353            </widget> 
     
    10241417             </property> 
    10251418             <property name="text" > 
    1026               <string>Fish Vessel name:</string> 
     1419              <string>Fish Vessel Name:</string> 
    10271420             </property> 
    10281421            </widget> 
     
    11601553             </property> 
    11611554             <property name="text" > 
    1162               <string>Vessel motor (HP):</string> 
     1555              <string>Vessel Motor (HP):</string> 
    11631556             </property> 
    11641557            </widget> 
  • branches/openoceanmap/oom_bc_comm/Interview/interviewstart_ui.py

    r300 r335  
    33# Form implementation generated from reading ui file 'interviewstart.ui' 
    44# 
    5 # Created: Wed Nov 04 15:08:12 2009 
     5# Created: Fri Feb 26 14:49:44 2010 
    66#      by: PyQt4 UI code generator 4.4.3 
    77# 
     
    4242        self.hboxlayout.setObjectName("hboxlayout") 
    4343        self.interviewee_first_name_text = QtGui.QLabel(self.interviewee_first_name) 
    44         self.interviewee_first_name_text.setMinimumSize(QtCore.QSize(100, 0)) 
    45         self.interviewee_first_name_text.setMaximumSize(QtCore.QSize(100, 16777215)) 
     44        self.interviewee_first_name_text.setMinimumSize(QtCore.QSize(130, 0)) 
     45        self.interviewee_first_name_text.setMaximumSize(QtCore.QSize(130, 16777215)) 
    4646        font = QtGui.QFont() 
    4747        font.setPointSize(8) 
     
    5151        self.interviewee_first_name_line = QtGui.QLineEdit(self.interviewee_first_name) 
    5252        self.interviewee_first_name_line.setEnabled(True) 
    53         self.interviewee_first_name_line.setMinimumSize(QtCore.QSize(200, 0)) 
    54         self.interviewee_first_name_line.setMaximumSize(QtCore.QSize(200, 16777215)) 
     53        self.interviewee_first_name_line.setMinimumSize(QtCore.QSize(180, 0)) 
     54        self.interviewee_first_name_line.setMaximumSize(QtCore.QSize(180, 16777215)) 
     55        palette = QtGui.QPalette() 
     56        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     57        brush.setStyle(QtCore.Qt.SolidPattern) 
     58        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     59        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     60        brush.setStyle(QtCore.Qt.SolidPattern) 
     61        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     62        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     63        brush.setStyle(QtCore.Qt.SolidPattern) 
     64        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     65        self.interviewee_first_name_line.setPalette(palette) 
    5566        font = QtGui.QFont() 
    5667        font.setPointSize(8) 
     
    6980        self.hboxlayout1.setObjectName("hboxlayout1") 
    7081        self.interviewee_last_name_text = QtGui.QLabel(self.interviewee_last_name) 
    71         self.interviewee_last_name_text.setMinimumSize(QtCore.QSize(100, 0)) 
    72         self.interviewee_last_name_text.setMaximumSize(QtCore.QSize(100, 16777215)) 
     82        self.interviewee_last_name_text.setMinimumSize(QtCore.QSize(130, 0)) 
     83        self.interviewee_last_name_text.setMaximumSize(QtCore.QSize(130, 16777215)) 
    7384        font = QtGui.QFont() 
    7485        font.setPointSize(8) 
     
    7889        self.interviewee_last_name_line = QtGui.QLineEdit(self.interviewee_last_name) 
    7990        self.interviewee_last_name_line.setEnabled(True) 
    80         self.interviewee_last_name_line.setMinimumSize(QtCore.QSize(200, 0)) 
    81         self.interviewee_last_name_line.setMaximumSize(QtCore.QSize(200, 16777215)) 
     91        self.interviewee_last_name_line.setMinimumSize(QtCore.QSize(180, 0)) 
     92        self.interviewee_last_name_line.setMaximumSize(QtCore.QSize(180, 16777215)) 
     93        palette = QtGui.QPalette() 
     94        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     95        brush.setStyle(QtCore.Qt.SolidPattern) 
     96        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     97        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     98        brush.setStyle(QtCore.Qt.SolidPattern) 
     99        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     100        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     101        brush.setStyle(QtCore.Qt.SolidPattern) 
     102        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     103        self.interviewee_last_name_line.setPalette(palette) 
    82104        font = QtGui.QFont() 
    83105        font.setPointSize(8) 
     
    96118        self.hboxlayout2.setObjectName("hboxlayout2") 
    97119        self.age_text = QtGui.QLabel(self.age) 
    98         self.age_text.setMinimumSize(QtCore.QSize(100, 0)) 
    99         self.age_text.setMaximumSize(QtCore.QSize(100, 16777215)) 
     120        self.age_text.setMinimumSize(QtCore.QSize(130, 0)) 
     121        self.age_text.setMaximumSize(QtCore.QSize(130, 16777215)) 
    100122        font = QtGui.QFont() 
    101123        font.setPointSize(8) 
     
    105127        self.age_line = QtGui.QLineEdit(self.age) 
    106128        self.age_line.setEnabled(True) 
    107         self.age_line.setMinimumSize(QtCore.QSize(200, 0)) 
    108         self.age_line.setMaximumSize(QtCore.QSize(200, 16777215)) 
     129        self.age_line.setMinimumSize(QtCore.QSize(180, 0)) 
     130        self.age_line.setMaximumSize(QtCore.QSize(180, 16777215)) 
    109131        font = QtGui.QFont() 
    110132        font.setPointSize(8) 
     
    123145        self.hboxlayout3.setObjectName("hboxlayout3") 
    124146        self.gender_text = QtGui.QLabel(self.gender) 
    125         self.gender_text.setMinimumSize(QtCore.QSize(100, 0)) 
    126         self.gender_text.setMaximumSize(QtCore.QSize(100, 16777215)) 
     147        self.gender_text.setMinimumSize(QtCore.QSize(130, 0)) 
     148        self.gender_text.setMaximumSize(QtCore.QSize(130, 16777215)) 
    127149        font = QtGui.QFont() 
    128150        font.setPointSize(8) 
     
    131153        self.hboxlayout3.addWidget(self.gender_text) 
    132154        self.gender_comboBox = QtGui.QComboBox(self.gender) 
    133         self.gender_comboBox.setMaximumSize(QtCore.QSize(200, 16777215)) 
     155        self.gender_comboBox.setMinimumSize(QtCore.QSize(180, 0)) 
     156        self.gender_comboBox.setMaximumSize(QtCore.QSize(180, 16777215)) 
    134157        font = QtGui.QFont() 
    135158        font.setPointSize(8) 
     
    152175        self._2.setObjectName("_2") 
    153176        self.city_text = QtGui.QLabel(self.age_2) 
    154         self.city_text.setMinimumSize(QtCore.QSize(100, 0)) 
    155         self.city_text.setMaximumSize(QtCore.QSize(100, 16777215)) 
     177        self.city_text.setMinimumSize(QtCore.QSize(130, 0)) 
     178        self.city_text.setMaximumSize(QtCore.QSize(130, 16777215)) 
    156179        font = QtGui.QFont() 
    157180        font.setPointSize(8) 
     
    161184        self.city_line = QtGui.QLineEdit(self.age_2) 
    162185        self.city_line.setEnabled(True) 
    163         self.city_line.setMinimumSize(QtCore.QSize(200, 0)) 
    164         self.city_line.setMaximumSize(QtCore.QSize(200, 16777215)) 
     186        self.city_line.setMinimumSize(QtCore.QSize(180, 0)) 
     187        self.city_line.setMaximumSize(QtCore.QSize(180, 16777215)) 
     188        palette = QtGui.QPalette() 
     189        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     190        brush.setStyle(QtCore.Qt.SolidPattern) 
     191        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     192        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     193        brush.setStyle(QtCore.Qt.SolidPattern) 
     194        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     195        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     196        brush.setStyle(QtCore.Qt.SolidPattern) 
     197        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     198        self.city_line.setPalette(palette) 
    165199        font = QtGui.QFont() 
    166200        font.setPointSize(8) 
     
    186220        self.data_sharing_comboBox = QtGui.QComboBox(self.data_sharing) 
    187221        self.data_sharing_comboBox.setMaximumSize(QtCore.QSize(320, 16777215)) 
     222        palette = QtGui.QPalette() 
     223        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     224        brush.setStyle(QtCore.Qt.SolidPattern) 
     225        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     226        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     227        brush.setStyle(QtCore.Qt.SolidPattern) 
     228        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     229        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     230        brush.setStyle(QtCore.Qt.SolidPattern) 
     231        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     232        self.data_sharing_comboBox.setPalette(palette) 
    188233        font = QtGui.QFont() 
    189234        font.setPointSize(8) 
     
    225270        self._3.addWidget(self.date_text) 
    226271        self.InterviewDate = QtGui.QDateEdit(self.interviewee_first_name_2) 
     272        palette = QtGui.QPalette() 
     273        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     274        brush.setStyle(QtCore.Qt.SolidPattern) 
     275        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     276        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     277        brush.setStyle(QtCore.Qt.SolidPattern) 
     278        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     279        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     280        brush.setStyle(QtCore.Qt.SolidPattern) 
     281        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     282        self.InterviewDate.setPalette(palette) 
    227283        self.InterviewDate.setDateTime(QtCore.QDateTime(QtCore.QDate(2000, 1, 1), QtCore.QTime(0, 0, 0))) 
    228284        self.InterviewDate.setTime(QtCore.QTime(0, 0, 0)) 
     
    253309        self.interviewer1_first_name_line.setMinimumSize(QtCore.QSize(150, 0)) 
    254310        self.interviewer1_first_name_line.setMaximumSize(QtCore.QSize(150, 16777215)) 
     311        palette = QtGui.QPalette() 
     312        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     313        brush.setStyle(QtCore.Qt.SolidPattern) 
     314        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     315        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     316        brush.setStyle(QtCore.Qt.SolidPattern) 
     317        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     318        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     319        brush.setStyle(QtCore.Qt.SolidPattern) 
     320        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     321        self.interviewer1_first_name_line.setPalette(palette) 
    255322        font = QtGui.QFont() 
    256323        font.setPointSize(8) 
     
    280347        self.interviewer1_last_name_line.setMinimumSize(QtCore.QSize(150, 0)) 
    281348        self.interviewer1_last_name_line.setMaximumSize(QtCore.QSize(150, 16777215)) 
     349        palette = QtGui.QPalette() 
     350        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     351        brush.setStyle(QtCore.Qt.SolidPattern) 
     352        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     353        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     354        brush.setStyle(QtCore.Qt.SolidPattern) 
     355        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     356        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     357        brush.setStyle(QtCore.Qt.SolidPattern) 
     358        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     359        self.interviewer1_last_name_line.setPalette(palette) 
    282360        font = QtGui.QFont() 
    283361        font.setPointSize(8) 
     
    346424        self.home_port_line.setMinimumSize(QtCore.QSize(200, 0)) 
    347425        self.home_port_line.setMaximumSize(QtCore.QSize(200, 16777215)) 
     426        palette = QtGui.QPalette() 
     427        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     428        brush.setStyle(QtCore.Qt.SolidPattern) 
     429        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     430        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     431        brush.setStyle(QtCore.Qt.SolidPattern) 
     432        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     433        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     434        brush.setStyle(QtCore.Qt.SolidPattern) 
     435        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     436        self.home_port_line.setPalette(palette) 
    348437        font = QtGui.QFont() 
    349438        font.setPointSize(8) 
     
    373462        self.years_line.setMinimumSize(QtCore.QSize(100, 0)) 
    374463        self.years_line.setMaximumSize(QtCore.QSize(200, 16777215)) 
     464        palette = QtGui.QPalette() 
     465        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     466        brush.setStyle(QtCore.Qt.SolidPattern) 
     467        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     468        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     469        brush.setStyle(QtCore.Qt.SolidPattern) 
     470        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     471        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     472        brush.setStyle(QtCore.Qt.SolidPattern) 
     473        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     474        self.years_line.setPalette(palette) 
    375475        font = QtGui.QFont() 
    376476        font.setPointSize(8) 
     
    706806        InterviewStart.setWindowTitle(QtGui.QApplication.translate("InterviewStart", "OpenOceanMap - Interview", None, QtGui.QApplication.UnicodeUTF8)) 
    707807        self.interviewee.setTitle(QtGui.QApplication.translate("InterviewStart", "Interviewee", None, QtGui.QApplication.UnicodeUTF8)) 
    708         self.interviewee_first_name_text.setText(QtGui.QApplication.translate("InterviewStart", "First Name:", None, QtGui.QApplication.UnicodeUTF8)) 
    709         self.interviewee_last_name_text.setText(QtGui.QApplication.translate("InterviewStart", "Last Name:", None, QtGui.QApplication.UnicodeUTF8)) 
     808        self.interviewee_first_name_text.setText(QtGui.QApplication.translate("InterviewStart", "First Name *:", None, QtGui.QApplication.UnicodeUTF8)) 
     809        self.interviewee_first_name_line.setToolTip(QtGui.QApplication.translate("InterviewStart", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
     810        self.interviewee_last_name_text.setText(QtGui.QApplication.translate("InterviewStart", "Last Name *:", None, QtGui.QApplication.UnicodeUTF8)) 
     811        self.interviewee_last_name_line.setToolTip(QtGui.QApplication.translate("InterviewStart", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
    710812        self.age_text.setText(QtGui.QApplication.translate("InterviewStart", "Age:", None, QtGui.QApplication.UnicodeUTF8)) 
    711813        self.gender_text.setText(QtGui.QApplication.translate("InterviewStart", "Gender:", None, QtGui.QApplication.UnicodeUTF8)) 
    712814        self.gender_comboBox.setItemText(1, QtGui.QApplication.translate("InterviewStart", "Male", None, QtGui.QApplication.UnicodeUTF8)) 
    713815        self.gender_comboBox.setItemText(2, QtGui.QApplication.translate("InterviewStart", "Female", None, QtGui.QApplication.UnicodeUTF8)) 
    714         self.city_text.setText(QtGui.QApplication.translate("InterviewStart", "City of residence:", None, QtGui.QApplication.UnicodeUTF8)) 
    715         self.data_sharing_text.setText(QtGui.QApplication.translate("InterviewStart", "Data Sharing:", None, QtGui.QApplication.UnicodeUTF8)) 
     816        self.city_text.setToolTip(QtGui.QApplication.translate("InterviewStart", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
     817        self.city_text.setText(QtGui.QApplication.translate("InterviewStart", "Community of Residence *:", None, QtGui.QApplication.UnicodeUTF8)) 
     818        self.city_line.setToolTip(QtGui.QApplication.translate("InterviewStart", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
     819        self.data_sharing_text.setText(QtGui.QApplication.translate("InterviewStart", "Data Sharing *:", None, QtGui.QApplication.UnicodeUTF8)) 
     820        self.data_sharing_comboBox.setToolTip(QtGui.QApplication.translate("InterviewStart", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
    716821        self.data_sharing_comboBox.setItemText(1, QtGui.QApplication.translate("InterviewStart", "Private (not available in public form, private usage only)", None, QtGui.QApplication.UnicodeUTF8)) 
    717822        self.data_sharing_comboBox.setItemText(2, QtGui.QApplication.translate("InterviewStart", "Amalgamated (only shown publically when combined with other fishers data)", None, QtGui.QApplication.UnicodeUTF8)) 
     
    719824        self.data_sharing_comboBox.setItemText(4, QtGui.QApplication.translate("InterviewStart", "Limited (none of the above, individual data sharing agreement)", None, QtGui.QApplication.UnicodeUTF8)) 
    720825        self.interviewee_2.setTitle(QtGui.QApplication.translate("InterviewStart", "Interviewer", None, QtGui.QApplication.UnicodeUTF8)) 
    721         self.date_text.setText(QtGui.QApplication.translate("InterviewStart", "Interview Date:", None, QtGui.QApplication.UnicodeUTF8)) 
    722         self.interviewer1_first_name_text.setText(QtGui.QApplication.translate("InterviewStart", "First Name:", None, QtGui.QApplication.UnicodeUTF8)) 
    723         self.interviewer1_last_name_text.setText(QtGui.QApplication.translate("InterviewStart", "Last Name:", None, QtGui.QApplication.UnicodeUTF8)) 
    724         self.mood_text.setText(QtGui.QApplication.translate("InterviewStart", "Interviewer Mood:", None, QtGui.QApplication.UnicodeUTF8)) 
     826        self.date_text.setText(QtGui.QApplication.translate("InterviewStart", "Interview Date *:", None, QtGui.QApplication.UnicodeUTF8)) 
     827        self.InterviewDate.setToolTip(QtGui.QApplication.translate("InterviewStart", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
     828        self.interviewer1_first_name_text.setText(QtGui.QApplication.translate("InterviewStart", "First Name *:", None, QtGui.QApplication.UnicodeUTF8)) 
     829        self.interviewer1_first_name_line.setToolTip(QtGui.QApplication.translate("InterviewStart", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
     830        self.interviewer1_last_name_text.setText(QtGui.QApplication.translate("InterviewStart", "Last Name *:", None, QtGui.QApplication.UnicodeUTF8)) 
     831        self.interviewer1_last_name_line.setToolTip(QtGui.QApplication.translate("InterviewStart", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
     832        self.mood_text.setText(QtGui.QApplication.translate("InterviewStart", "Interviewee\'s Outlook:", None, QtGui.QApplication.UnicodeUTF8)) 
    725833        self.vessel_info.setTitle(QtGui.QApplication.translate("InterviewStart", "Commercial Fishing Information", None, QtGui.QApplication.UnicodeUTF8)) 
    726         self.home_port_text.setText(QtGui.QApplication.translate("InterviewStart", "Home Port:", None, QtGui.QApplication.UnicodeUTF8)) 
    727         self.years_text.setText(QtGui.QApplication.translate("InterviewStart", "Years experience:", None, QtGui.QApplication.UnicodeUTF8)) 
    728         self.perc_income_text.setText(QtGui.QApplication.translate("InterviewStart", "% income from fishing:", None, QtGui.QApplication.UnicodeUTF8)) 
    729         self.vessel_name_text.setText(QtGui.QApplication.translate("InterviewStart", "Fish Vessel name:", None, QtGui.QApplication.UnicodeUTF8)) 
     834        self.home_port_text.setText(QtGui.QApplication.translate("InterviewStart", "Home Port *:", None, QtGui.QApplication.UnicodeUTF8)) 
     835        self.home_port_line.setToolTip(QtGui.QApplication.translate("InterviewStart", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
     836        self.years_text.setText(QtGui.QApplication.translate("InterviewStart", "Years of experience *:", None, QtGui.QApplication.UnicodeUTF8)) 
     837        self.years_line.setToolTip(QtGui.QApplication.translate("InterviewStart", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
     838        self.perc_income_text.setText(QtGui.QApplication.translate("InterviewStart", "% of income from fishing:", None, QtGui.QApplication.UnicodeUTF8)) 
     839        self.vessel_name_text.setText(QtGui.QApplication.translate("InterviewStart", "Fish Vessel Name:", None, QtGui.QApplication.UnicodeUTF8)) 
    730840        self.vessel_length_text.setText(QtGui.QApplication.translate("InterviewStart", "Length of Vessel (ft):", None, QtGui.QApplication.UnicodeUTF8)) 
    731         self.vessel_motor_text.setText(QtGui.QApplication.translate("InterviewStart", "Vessel motor (HP):", None, QtGui.QApplication.UnicodeUTF8)) 
     841        self.vessel_motor_text.setText(QtGui.QApplication.translate("InterviewStart", "Vessel Motor (HP):", None, QtGui.QApplication.UnicodeUTF8)) 
    732842        self.hole_capacity_text.setText(QtGui.QApplication.translate("InterviewStart", "Hole Capacity (lb):", None, QtGui.QApplication.UnicodeUTF8)) 
    733843        self.landing_port_text.setText(QtGui.QApplication.translate("InterviewStart", "Landing Port 1:", None, QtGui.QApplication.UnicodeUTF8)) 
  • branches/openoceanmap/oom_bc_comm/Interview/selectfishery.py

    r300 r335  
    66# Copyright (C) 2007  Ecotrust 
    77# Copyright (C) 2007  Aaron Racicot 
    8 # Copyright (C) 2009  Grant Gilron, Ecotrust Canada 
     8# Copyright (C) 2010  Grant Gilron, Ecotrust Canada 
    99#  
    1010#--------------------------------------------------------------------- 
     
    7070        else: 
    7171            self.parent.currentFishery = cur_fishery     
     72 
     73        ######################################## 
     74        ### START REQUIRED FIELDS VALIDATION ### 
     75        ######################################## 
     76        vessel_name = self.fishery_vessel_name.text() 
     77        if not vessel_name: 
     78            QMessageBox.warning(self, "Missing Required Field", "Please enter Vessel Name.") 
     79            return 
     80 
     81        start_year = self.fishery_start_year.text() 
     82        if not start_year: 
     83            QMessageBox.warning(self, "Missing Required Field", "Please enter the Start Year.") 
     84            return 
     85 
     86        end_year = self.fishery_end_year.text() 
     87        if not end_year: 
     88            QMessageBox.warning(self, "Missing Required Field", "Please enter the End Year.") 
     89            return 
     90        ###################################### 
     91        ### END REQUIRED FIELDS VALIDATION ### 
     92        ###################################### 
    7293             
    7394        self.parent.currentFisheryVesselName = self.fishery_vessel_name.text() 
  • branches/openoceanmap/oom_bc_comm/Interview/selectfishery.ui

    r300 r335  
    77    <x>0</x> 
    88    <y>0</y> 
    9     <width>622</width> 
     9    <width>672</width> 
    1010    <height>379</height> 
    1111   </rect> 
     
    1515  </property> 
    1616  <layout class="QGridLayout" name="gridLayout" > 
    17    <item row="0" column="0" > 
    18     <layout class="QVBoxLayout" name="verticalLayout" > 
    19      <item> 
    20       <layout class="QHBoxLayout" name="horizontalLayout_3" > 
    21        <item> 
    22         <widget class="QWidget" native="1" name="widget" > 
    23          <property name="font" > 
    24           <font> 
    25            <family>Tahoma</family> 
    26            <pointsize>8</pointsize> 
    27           </font> 
    28          </property> 
    29          <layout class="QHBoxLayout" > 
    30           <property name="spacing" > 
    31            <number>6</number> 
    32           </property> 
    33           <property name="leftMargin" > 
    34            <number>9</number> 
    35           </property> 
    36           <property name="topMargin" > 
    37            <number>9</number> 
    38           </property> 
    39           <property name="rightMargin" > 
    40            <number>9</number> 
    41           </property> 
    42           <property name="bottomMargin" > 
    43            <number>0</number> 
    44           </property> 
    45           <item> 
    46            <widget class="QLabel" name="fishery_text" > 
    47             <property name="minimumSize" > 
    48              <size> 
    49               <width>90</width> 
    50               <height>0</height> 
    51              </size> 
    52             </property> 
    53             <property name="maximumSize" > 
    54              <size> 
    55               <width>90</width> 
    56               <height>16777215</height> 
    57              </size> 
    58             </property> 
    59             <property name="font" > 
    60              <font> 
    61               <family>Tahoma</family> 
    62               <pointsize>8</pointsize> 
    63              </font> 
    64             </property> 
    65             <property name="text" > 
    66              <string>Select Fishery:</string> 
    67             </property> 
    68            </widget> 
    69           </item> 
    70           <item> 
    71            <spacer name="horizontalSpacer_2" > 
    72             <property name="font" > 
    73              <font> 
    74               <family>Tahoma</family> 
    75               <pointsize>8</pointsize> 
    76              </font> 
    77             </property> 
    78             <property name="orientation" > 
    79              <enum>Qt::Horizontal</enum> 
    80             </property> 
    81             <property name="sizeHint" stdset="0" > 
    82              <size> 
    83               <width>40</width> 
    84               <height>20</height> 
    85              </size> 
    86             </property> 
    87            </spacer> 
    88           </item> 
    89           <item> 
    90            <widget class="QComboBox" name="fishery_comboBox" > 
    91             <property name="minimumSize" > 
    92              <size> 
    93               <width>200</width> 
    94               <height>0</height> 
    95              </size> 
    96             </property> 
    97             <property name="maximumSize" > 
    98              <size> 
    99               <width>200</width> 
    100               <height>16777215</height> 
    101              </size> 
    102             </property> 
    103             <property name="font" > 
    104              <font> 
    105               <family>Tahoma</family> 
    106               <pointsize>8</pointsize> 
    107              </font> 
    108             </property> 
    109             <item> 
    110              <property name="text" > 
    111               <string/> 
    112              </property> 
    113             </item> 
    114             <item> 
    115              <property name="text" > 
    116               <string>Clam</string> 
    117              </property> 
    118             </item> 
    119             <item> 
    120              <property name="text" > 
    121               <string>Cod</string> 
    122              </property> 
    123             </item> 
    124             <item> 
    125              <property name="text" > 
    126               <string>Crab</string> 
    127              </property> 
    128             </item> 
    129             <item> 
    130              <property name="text" > 
    131               <string>Eulachon</string> 
    132              </property> 
    133             </item> 
    134             <item> 
    135              <property name="text" > 
    136               <string>Dogfish</string> 
    137              </property> 
    138             </item> 
    139             <item> 
    140              <property name="text" > 
    141               <string>Green Urchin</string> 
    142              </property> 
    143             </item> 
    144             <item> 
    145              <property name="text" > 
    146               <string>Groundfish H&amp;L</string> 
    147              </property> 
    148             </item> 
    149             <item> 
    150              <property name="text" > 
    151               <string>Groundfish Trawl</string> 
    152              </property> 
    153             </item> 
    154             <item> 
    155              <property name="text" > 
    156               <string>Halibut</string> 
    157              </property> 
    158             </item> 
    159             <item> 
    160              <property name="text" > 
    161               <string>Herring Gillnet</string> 
    162              </property> 
    163             </item> 
    164             <item> 
    165              <property name="text" > 
    166               <string>Herring Seine</string> 
    167              </property> 
    168             </item> 
    169             <item> 
    170              <property name="text" > 
    171               <string>Octopus</string> 
    172              </property> 
    173             </item> 
    174             <item> 
    175              <property name="text" > 
    176               <string>Prawn</string> 
    177              </property> 
    178             </item> 
    179             <item> 
    180              <property name="text" > 
    181               <string>Red Urchin</string> 
    182              </property> 
    183             </item> 
    184             <item> 
    185              <property name="text" > 
    186               <string>Rockfish</string> 
    187              </property> 
    188             </item> 
    189             <item> 
    190              <property name="text" > 
    191               <string>Sablefish</string> 
    192              </property> 
    193             </item> 
    194             <item> 
    195              <property name="text" > 
    196               <string>Salmon Gillnet</string> 
    197              </property> 
    198             </item> 
    199             <item> 
    200              <property name="text" > 
    201               <string>Salmon Seine</string> 
    202              </property> 
    203             </item> 
    204             <item> 
    205              <property name="text" > 
    206               <string>Salmon Troll</string> 
    207              </property> 
    208             </item> 
    209             <item> 
    210              <property name="text" > 
    211               <string>Sardine</string> 
    212              </property> 
    213             </item> 
    214             <item> 
    215              <property name="text" > 
    216               <string>Scallop</string> 
    217              </property> 
    218             </item> 
    219             <item> 
    220              <property name="text" > 
    221               <string>Seaweed</string> 
    222              </property> 
    223             </item> 
    224             <item> 
    225              <property name="text" > 
    226               <string>Shrimp Trap</string> 
    227              </property> 
    228             </item> 
    229             <item> 
    230              <property name="text" > 
    231               <string>Shrimp Trawl</string> 
    232              </property> 
    233             </item> 
    234             <item> 
    235              <property name="text" > 
    236               <string>Tuna</string> 
    237              </property> 
    238             </item> 
    239             <item> 
    240              <property name="text" > 
    241               <string>Other</string> 
    242              </property> 
    243             </item> 
    244            </widget> 
    245           </item> 
    246          </layout> 
    247         </widget> 
    248        </item> 
    249       </layout> 
    250      </item> 
    251      <item> 
    252       <layout class="QHBoxLayout" name="horizontalLayout_25" > 
    253        <item> 
    254         <widget class="QWidget" native="1" name="widget_13" > 
    255          <property name="font" > 
    256           <font> 
    257            <family>Tahoma</family> 
    258            <pointsize>8</pointsize> 
    259           </font> 
    260          </property> 
    261          <layout class="QHBoxLayout" name="horizontalLayout_26" > 
    262           <item> 
    263            <widget class="QLabel" name="label_14" > 
    264             <property name="minimumSize" > 
    265              <size> 
    266               <width>90</width> 
    267               <height>0</height> 
    268              </size> 
    269             </property> 
    270             <property name="maximumSize" > 
    271              <size> 
    272               <width>90</width> 
    273               <height>16777215</height> 
    274              </size> 
    275             </property> 
    276             <property name="font" > 
    277              <font> 
    278               <family>Tahoma</family> 
    279               <pointsize>8</pointsize> 
    280              </font> 
    281             </property> 
    282             <property name="text" > 
    283              <string>Fish Vessel name:</string> 
    284             </property> 
    285            </widget> 
    286           </item> 
    287           <item> 
    288            <spacer name="horizontalSpacer_3" > 
    289             <property name="font" > 
    290              <font> 
    291               <family>Tahoma</family> 
    292               <pointsize>8</pointsize> 
    293              </font> 
    294             </property> 
    295             <property name="orientation" > 
    296              <enum>Qt::Horizontal</enum> 
    297             </property> 
    298             <property name="sizeHint" stdset="0" > 
    299              <size> 
    300               <width>40</width> 
    301               <height>20</height> 
    302              </size> 
    303             </property> 
    304            </spacer> 
    305           </item> 
    306           <item> 
    307            <widget class="QLineEdit" name="fishery_vessel_name" > 
    308             <property name="minimumSize" > 
    309              <size> 
    310               <width>200</width> 
    311               <height>0</height> 
    312              </size> 
    313             </property> 
    314             <property name="maximumSize" > 
    315              <size> 
    316               <width>200</width> 
    317               <height>16777215</height> 
    318              </size> 
    319             </property> 
    320             <property name="font" > 
    321              <font> 
    322               <family>Tahoma</family> 
    323               <pointsize>8</pointsize> 
    324              </font> 
    325             </property> 
    326            </widget> 
    327           </item> 
    328          </layout> 
    329          <zorder>label_14</zorder> 
    330          <zorder>fishery_vessel_name</zorder> 
    331          <zorder>horizontalSpacer_3</zorder> 
    332         </widget> 
    333        </item> 
    334       </layout> 
    335      </item> 
    336      <item> 
    337       <layout class="QHBoxLayout" name="horizontalLayout_27" > 
    338        <item> 
    339         <widget class="QWidget" native="1" name="widget_14" > 
    340          <property name="font" > 
    341           <font> 
    342            <family>Tahoma</family> 
    343            <pointsize>8</pointsize> 
    344           </font> 
    345          </property> 
    346          <layout class="QHBoxLayout" name="horizontalLayout_28" > 
    347           <item> 
    348            <widget class="QLabel" name="label_15" > 
    349             <property name="minimumSize" > 
    350              <size> 
    351               <width>200</width> 
    352               <height>0</height> 
    353              </size> 
    354             </property> 
    355             <property name="maximumSize" > 
    356              <size> 
    357               <width>200</width> 
    358               <height>16777215</height> 
    359              </size> 
    360             </property> 
    361             <property name="font" > 
    362              <font> 
    363               <family>Tahoma</family> 
    364               <pointsize>8</pointsize> 
    365              </font> 
    366             </property> 
    367             <property name="text" > 
    368              <string>Length of Vessel (ft):</string> 
    369             </property> 
    370            </widget> 
    371           </item> 
    372           <item> 
    373            <spacer name="horizontalSpacer_3" > 
    374             <property name="font" > 
    375              <font> 
    376               <family>Tahoma</family> 
    377               <pointsize>8</pointsize> 
    378              </font> 
    379             </property> 
    380             <property name="orientation" > 
    381              <enum>Qt::Horizontal</enum> 
    382             </property> 
    383             <property name="sizeHint" stdset="0" > 
    384              <size> 
    385               <width>40</width> 
    386               <height>20</height> 
    387              </size> 
    388             </property> 
    389            </spacer> 
    390           </item> 
    391           <item> 
    392            <widget class="QLineEdit" name="fishery_vessel_length" > 
    393             <property name="minimumSize" > 
    394              <size> 
    395               <width>40</width> 
    396               <height>0</height> 
    397              </size> 
    398             </property> 
    399             <property name="maximumSize" > 
    400              <size> 
    401               <width>40</width> 
    402               <height>16777215</height> 
    403              </size> 
    404             </property> 
    405             <property name="font" > 
    406              <font> 
    407               <family>Tahoma</family> 
    408               <pointsize>8</pointsize> 
    409              </font> 
    410             </property> 
    411            </widget> 
    412           </item> 
    413          </layout> 
    414          <zorder>label_15</zorder> 
    415          <zorder>fishery_vessel_length</zorder> 
    416          <zorder>horizontalSpacer_3</zorder> 
    417         </widget> 
    418        </item> 
    419       </layout> 
    420      </item> 
    421      <item> 
    422       <layout class="QHBoxLayout" name="horizontalLayout_15" > 
    423        <item> 
    424         <widget class="QWidget" native="1" name="widget_6" > 
    425          <property name="font" > 
    426           <font> 
    427            <family>Tahoma</family> 
    428            <pointsize>8</pointsize> 
    429           </font> 
    430          </property> 
    431          <layout class="QHBoxLayout" name="horizontalLayout_16" > 
    432           <item> 
    433            <widget class="QLabel" name="label_9" > 
    434             <property name="minimumSize" > 
    435              <size> 
    436               <width>200</width> 
    437               <height>0</height> 
    438              </size> 
    439             </property> 
    440             <property name="maximumSize" > 
    441              <size> 
    442               <width>200</width> 
    443               <height>16777215</height> 
    444              </size> 
    445             </property> 
    446             <property name="font" > 
    447              <font> 
    448               <family>Tahoma</family> 
    449               <pointsize>8</pointsize> 
    450              </font> 
    451             </property> 
    452             <property name="text" > 
    453              <string>Percent income:</string> 
    454             </property> 
    455            </widget> 
    456           </item> 
    457           <item> 
    458            <spacer name="horizontalSpacer_3" > 
    459             <property name="font" > 
    460              <font> 
    461               <family>Tahoma</family> 
    462               <pointsize>8</pointsize> 
    463              </font> 
    464             </property> 
    465             <property name="orientation" > 
    466              <enum>Qt::Horizontal</enum> 
    467             </property> 
    468             <property name="sizeHint" stdset="0" > 
    469              <size> 
    470               <width>40</width> 
    471               <height>20</height> 
    472              </size> 
    473             </property> 
    474            </spacer> 
    475           </item> 
    476           <item> 
    477            <widget class="QLineEdit" name="fishery_perc_income" > 
    478             <property name="minimumSize" > 
    479              <size> 
    480               <width>40</width> 
    481               <height>0</height> 
    482              </size> 
    483             </property> 
    484             <property name="maximumSize" > 
    485              <size> 
    486               <width>40</width> 
    487               <height>16777215</height> 
    488              </size> 
    489             </property> 
    490             <property name="font" > 
    491              <font> 
    492               <family>Tahoma</family> 
    493               <pointsize>8</pointsize> 
    494              </font> 
    495             </property> 
    496            </widget> 
    497           </item> 
    498          </layout> 
    499          <zorder>label_9</zorder> 
    500          <zorder>horizontalSpacer_3</zorder> 
    501          <zorder>fishery_perc_income</zorder> 
    502         </widget> 
    503        </item> 
    504       </layout> 
    505      </item> 
    506      <item> 
    507       <layout class="QHBoxLayout" name="horizontalLayout_9" > 
    508        <item> 
    509         <widget class="QWidget" native="1" name="widget_12" > 
    510          <property name="font" > 
    511           <font> 
    512            <family>Tahoma</family> 
    513            <pointsize>8</pointsize> 
    514           </font> 
    515          </property> 
    516          <layout class="QHBoxLayout" name="horizontalLayout_10" > 
    517           <item> 
    518            <widget class="QLabel" name="label_5" > 
    519             <property name="minimumSize" > 
    520              <size> 
    521               <width>200</width> 
    522               <height>0</height> 
    523              </size> 
    524             </property> 
    525             <property name="maximumSize" > 
    526              <size> 
    527               <width>200</width> 
    528               <height>16777215</height> 
    529              </size> 
    530             </property> 
    531             <property name="font" > 
    532              <font> 
    533               <family>Tahoma</family> 
    534               <pointsize>8</pointsize> 
    535              </font> 
    536             </property> 
    537             <property name="text" > 
    538              <string>Fishery Start Year:</string> 
    539             </property> 
    540            </widget> 
    541           </item> 
    542           <item> 
    543            <spacer name="horizontalSpacer_3" > 
    544             <property name="font" > 
    545              <font> 
    546               <family>Tahoma</family> 
    547               <pointsize>8</pointsize> 
    548              </font> 
    549             </property> 
    550             <property name="orientation" > 
    551              <enum>Qt::Horizontal</enum> 
    552             </property> 
    553             <property name="sizeHint" stdset="0" > 
    554              <size> 
    555               <width>40</width> 
    556               <height>20</height> 
    557              </size> 
    558             </property> 
    559            </spacer> 
    560           </item> 
    561           <item> 
    562            <widget class="QLineEdit" name="fishery_start_year" > 
    563             <property name="minimumSize" > 
    564              <size> 
    565               <width>40</width> 
    566               <height>0</height> 
    567              </size> 
    568             </property> 
    569             <property name="maximumSize" > 
    570              <size> 
    571               <width>40</width> 
    572               <height>16777215</height> 
    573              </size> 
    574             </property> 
    575             <property name="font" > 
    576              <font> 
    577               <family>Tahoma</family> 
    578               <pointsize>8</pointsize> 
    579              </font> 
    580             </property> 
    581             <property name="text" > 
    582              <string/> 
    583             </property> 
    584            </widget> 
    585           </item> 
    586          </layout> 
    587          <zorder>label_5</zorder> 
    588          <zorder>fishery_start_year</zorder> 
    589          <zorder>horizontalSpacer_3</zorder> 
    590         </widget> 
    591        </item> 
    592       </layout> 
    593      </item> 
    594      <item> 
    595       <layout class="QHBoxLayout" name="horizontalLayout_7" > 
    596        <item> 
    597         <widget class="QWidget" native="1" name="widget_11" > 
    598          <property name="font" > 
    599           <font> 
    600            <family>Tahoma</family> 
    601            <pointsize>8</pointsize> 
    602           </font> 
    603          </property> 
    604          <layout class="QHBoxLayout" name="horizontalLayout_8" > 
    605           <item> 
    606            <widget class="QLabel" name="label_4" > 
    607             <property name="minimumSize" > 
    608              <size> 
    609               <width>200</width> 
    610               <height>0</height> 
    611              </size> 
    612             </property> 
    613             <property name="maximumSize" > 
    614              <size> 
    615               <width>200</width> 
    616               <height>16777215</height> 
    617              </size> 
    618             </property> 
    619             <property name="font" > 
    620              <font> 
    621               <family>Tahoma</family> 
    622               <pointsize>8</pointsize> 
    623              </font> 
    624             </property> 
    625             <property name="text" > 
    626              <string>Fishery End Year:</string> 
    627             </property> 
    628            </widget> 
    629           </item> 
    630           <item> 
    631            <spacer name="horizontalSpacer_3" > 
    632             <property name="font" > 
    633              <font> 
    634               <family>Tahoma</family> 
    635               <pointsize>8</pointsize> 
    636              </font> 
    637             </property> 
    638             <property name="orientation" > 
    639              <enum>Qt::Horizontal</enum> 
    640             </property> 
    641             <property name="sizeHint" stdset="0" > 
    642              <size> 
    643               <width>40</width> 
    644               <height>20</height> 
    645              </size> 
    646             </property> 
    647            </spacer> 
    648           </item> 
    649           <item> 
    650            <widget class="QLineEdit" name="fishery_end_year" > 
    651             <property name="minimumSize" > 
    652              <size> 
    653               <width>40</width> 
    654               <height>0</height> 
    655              </size> 
    656             </property> 
    657             <property name="maximumSize" > 
    658              <size> 
    659               <width>40</width> 
    660               <height>16777215</height> 
    661              </size> 
    662             </property> 
    663             <property name="font" > 
    664              <font> 
    665               <family>Tahoma</family> 
    666               <pointsize>8</pointsize> 
    667              </font> 
    668             </property> 
    669            </widget> 
    670           </item> 
    671          </layout> 
    672          <zorder>label_4</zorder> 
    673          <zorder>fishery_end_year</zorder> 
    674          <zorder>horizontalSpacer_3</zorder> 
    675         </widget> 
    676        </item> 
    677       </layout> 
    678      </item> 
    679      <item> 
    680       <layout class="QHBoxLayout" name="horizontalLayout_11" > 
    681        <item> 
    682         <widget class="QWidget" native="1" name="widget_4" > 
    683          <property name="font" > 
    684           <font> 
    685            <family>Tahoma</family> 
    686            <pointsize>8</pointsize> 
    687           </font> 
    688          </property> 
    689          <layout class="QHBoxLayout" name="horizontalLayout_12" > 
    690           <item> 
    691            <widget class="QLabel" name="label_7" > 
    692             <property name="minimumSize" > 
    693              <size> 
    694               <width>200</width> 
    695               <height>0</height> 
    696              </size> 
    697             </property> 
    698             <property name="maximumSize" > 
    699              <size> 
    700               <width>200</width> 
    701               <height>16777215</height> 
    702              </size> 
    703             </property> 
    704             <property name="font" > 
    705              <font> 
    706               <family>Tahoma</family> 
    707               <pointsize>8</pointsize> 
    708              </font> 
    709             </property> 
    710             <property name="text" > 
    711              <string>Years experience in fishery:</string> 
    712             </property> 
    713            </widget> 
    714           </item> 
    715           <item> 
    716            <spacer name="horizontalSpacer_3" > 
    717             <property name="font" > 
    718              <font> 
    719               <family>Tahoma</family> 
    720               <pointsize>8</pointsize> 
    721              </font> 
    722             </property> 
    723             <property name="orientation" > 
    724              <enum>Qt::Horizontal</enum> 
    725             </property> 
    726             <property name="sizeHint" stdset="0" > 
    727              <size> 
    728               <width>40</width> 
    729               <height>20</height> 
    730              </size> 
    731             </property> 
    732            </spacer> 
    733           </item> 
    734           <item> 
    735            <widget class="QLineEdit" name="fishery_yrs_exp" > 
    736             <property name="minimumSize" > 
    737              <size> 
    738               <width>40</width> 
    739               <height>0</height> 
    740              </size> 
    741             </property> 
    742             <property name="maximumSize" > 
    743              <size> 
    744               <width>40</width> 
    745               <height>16777215</height> 
    746              </size> 
    747             </property> 
    748             <property name="font" > 
    749              <font> 
    750               <family>Tahoma</family> 
    751               <pointsize>8</pointsize> 
    752              </font> 
    753             </property> 
    754            </widget> 
    755           </item> 
    756          </layout> 
    757          <zorder>label_7</zorder> 
    758          <zorder>horizontalSpacer_3</zorder> 
    759          <zorder>fishery_yrs_exp</zorder> 
    760         </widget> 
    761        </item> 
    762       </layout> 
    763      </item> 
    764     </layout> 
    765    </item> 
    76617   <item row="0" column="1" > 
    76718    <layout class="QVBoxLayout" name="verticalLayout_2" > 
     
    967218             </font> 
    968219            </property> 
     220            <property name="toolTip" > 
     221             <string>Specify # &amp; type</string> 
     222            </property> 
    969223            <property name="text" > 
    970224             <string>Num traps/hooks/tows/sets used per trip:</string> 
     
    1010264              <pointsize>8</pointsize> 
    1011265             </font> 
     266            </property> 
     267            <property name="toolTip" > 
     268             <string>Specify # &amp; type</string> 
    1012269            </property> 
    1013270           </widget> 
     
    1017274         <zorder>horizontalSpacer_3</zorder> 
    1018275         <zorder>fishery_traps_hooks</zorder> 
     276         <zorder></zorder> 
    1019277        </widget> 
    1020278       </item> 
     
    1223481            </property> 
    1224482            <property name="text" > 
    1225              <string>Historic average price:</string> 
     483             <string>Historic price:</string> 
    1226484            </property> 
    1227485           </widget> 
     
    1348606    </layout> 
    1349607   </item> 
     608   <item row="0" column="0" > 
     609    <layout class="QVBoxLayout" name="verticalLayout" > 
     610     <item> 
     611      <layout class="QHBoxLayout" name="horizontalLayout_3" > 
     612       <item> 
     613        <widget class="QWidget" native="1" name="widget" > 
     614         <property name="font" > 
     615          <font> 
     616           <family>Tahoma</family> 
     617           <pointsize>8</pointsize> 
     618          </font> 
     619         </property> 
     620         <layout class="QHBoxLayout" > 
     621          <property name="spacing" > 
     622           <number>6</number> 
     623          </property> 
     624          <property name="leftMargin" > 
     625           <number>9</number> 
     626          </property> 
     627          <property name="topMargin" > 
     628           <number>9</number> 
     629          </property> 
     630          <property name="rightMargin" > 
     631           <number>9</number> 
     632          </property> 
     633          <property name="bottomMargin" > 
     634           <number>0</number> 
     635          </property> 
     636          <item> 
     637           <widget class="QLabel" name="fishery_text" > 
     638            <property name="minimumSize" > 
     639             <size> 
     640              <width>90</width> 
     641              <height>0</height> 
     642             </size> 
     643            </property> 
     644            <property name="maximumSize" > 
     645             <size> 
     646              <width>90</width> 
     647              <height>16777215</height> 
     648             </size> 
     649            </property> 
     650            <property name="font" > 
     651             <font> 
     652              <family>Tahoma</family> 
     653              <pointsize>8</pointsize> 
     654             </font> 
     655            </property> 
     656            <property name="text" > 
     657             <string>Select Fishery *:</string> 
     658            </property> 
     659           </widget> 
     660          </item> 
     661          <item> 
     662           <spacer name="horizontalSpacer_2" > 
     663            <property name="font" > 
     664             <font> 
     665              <family>Tahoma</family> 
     666              <pointsize>8</pointsize> 
     667             </font> 
     668            </property> 
     669            <property name="orientation" > 
     670             <enum>Qt::Horizontal</enum> 
     671            </property> 
     672            <property name="sizeHint" stdset="0" > 
     673             <size> 
     674              <width>40</width> 
     675              <height>20</height> 
     676             </size> 
     677            </property> 
     678           </spacer> 
     679          </item> 
     680          <item> 
     681           <widget class="QComboBox" name="fishery_comboBox" > 
     682            <property name="minimumSize" > 
     683             <size> 
     684              <width>200</width> 
     685              <height>0</height> 
     686             </size> 
     687            </property> 
     688            <property name="maximumSize" > 
     689             <size> 
     690              <width>200</width> 
     691              <height>16777215</height> 
     692             </size> 
     693            </property> 
     694            <property name="palette" > 
     695             <palette> 
     696              <active> 
     697               <colorrole role="Base" > 
     698                <brush brushstyle="SolidPattern" > 
     699                 <color alpha="255" > 
     700                  <red>249</red> 
     701                  <green>255</green> 
     702                  <blue>178</blue> 
     703                 </color> 
     704                </brush> 
     705               </colorrole> 
     706              </active> 
     707              <inactive> 
     708               <colorrole role="Base" > 
     709                <brush brushstyle="SolidPattern" > 
     710                 <color alpha="255" > 
     711                  <red>249</red> 
     712                  <green>255</green> 
     713                  <blue>178</blue> 
     714                 </color> 
     715                </brush> 
     716               </colorrole> 
     717              </inactive> 
     718              <disabled> 
     719               <colorrole role="Base" > 
     720                <brush brushstyle="SolidPattern" > 
     721                 <color alpha="255" > 
     722                  <red>212</red> 
     723                  <green>208</green> 
     724                  <blue>200</blue> 
     725                 </color> 
     726                </brush> 
     727               </colorrole> 
     728              </disabled> 
     729             </palette> 
     730            </property> 
     731            <property name="font" > 
     732             <font> 
     733              <family>Tahoma</family> 
     734              <pointsize>8</pointsize> 
     735             </font> 
     736            </property> 
     737            <property name="toolTip" > 
     738             <string>Required Field</string> 
     739            </property> 
     740            <item> 
     741             <property name="text" > 
     742              <string/> 
     743             </property> 
     744            </item> 
     745            <item> 
     746             <property name="text" > 
     747              <string>Clam</string> 
     748             </property> 
     749            </item> 
     750            <item> 
     751             <property name="text" > 
     752              <string>Cod</string> 
     753             </property> 
     754            </item> 
     755            <item> 
     756             <property name="text" > 
     757              <string>Crab</string> 
     758             </property> 
     759            </item> 
     760            <item> 
     761             <property name="text" > 
     762              <string>Eulachon</string> 
     763             </property> 
     764            </item> 
     765            <item> 
     766             <property name="text" > 
     767              <string>Dogfish</string> 
     768             </property> 
     769            </item> 
     770            <item> 
     771             <property name="text" > 
     772              <string>Green Urchin</string> 
     773             </property> 
     774            </item> 
     775            <item> 
     776             <property name="text" > 
     777              <string>Groundfish H&amp;L</string> 
     778             </property> 
     779            </item> 
     780            <item> 
     781             <property name="text" > 
     782              <string>Groundfish Trawl</string> 
     783             </property> 
     784            </item> 
     785            <item> 
     786             <property name="text" > 
     787              <string>Halibut</string> 
     788             </property> 
     789            </item> 
     790            <item> 
     791             <property name="text" > 
     792              <string>Herring Gillnet</string> 
     793             </property> 
     794            </item> 
     795            <item> 
     796             <property name="text" > 
     797              <string>Herring Seine</string> 
     798             </property> 
     799            </item> 
     800            <item> 
     801             <property name="text" > 
     802              <string>Octopus</string> 
     803             </property> 
     804            </item> 
     805            <item> 
     806             <property name="text" > 
     807              <string>Prawn</string> 
     808             </property> 
     809            </item> 
     810            <item> 
     811             <property name="text" > 
     812              <string>Protected Areas</string> 
     813             </property> 
     814            </item> 
     815            <item> 
     816             <property name="text" > 
     817              <string>Red Urchin</string> 
     818             </property> 
     819            </item> 
     820            <item> 
     821             <property name="text" > 
     822              <string>Rockfish</string> 
     823             </property> 
     824            </item> 
     825            <item> 
     826             <property name="text" > 
     827              <string>Sablefish</string> 
     828             </property> 
     829            </item> 
     830            <item> 
     831             <property name="text" > 
     832              <string>Salmon Gillnet</string> 
     833             </property> 
     834            </item> 
     835            <item> 
     836             <property name="text" > 
     837              <string>Salmon Seine</string> 
     838             </property> 
     839            </item> 
     840            <item> 
     841             <property name="text" > 
     842              <string>Salmon Troll</string> 
     843             </property> 
     844            </item> 
     845            <item> 
     846             <property name="text" > 
     847              <string>Sardine</string> 
     848             </property> 
     849            </item> 
     850            <item> 
     851             <property name="text" > 
     852              <string>Scallop</string> 
     853             </property> 
     854            </item> 
     855            <item> 
     856             <property name="text" > 
     857              <string>Seaweed</string> 
     858             </property> 
     859            </item> 
     860            <item> 
     861             <property name="text" > 
     862              <string>Shrimp Trap</string> 
     863             </property> 
     864            </item> 
     865            <item> 
     866             <property name="text" > 
     867              <string>Shrimp Trawl</string> 
     868             </property> 
     869            </item> 
     870            <item> 
     871             <property name="text" > 
     872              <string>Tuna</string> 
     873             </property> 
     874            </item> 
     875            <item> 
     876             <property name="text" > 
     877              <string>Other</string> 
     878             </property> 
     879            </item> 
     880           </widget> 
     881          </item> 
     882         </layout> 
     883        </widget> 
     884       </item> 
     885      </layout> 
     886     </item> 
     887     <item> 
     888      <layout class="QHBoxLayout" name="horizontalLayout_25" > 
     889       <item> 
     890        <widget class="QWidget" native="1" name="widget_13" > 
     891         <property name="font" > 
     892          <font> 
     893           <family>Tahoma</family> 
     894           <pointsize>8</pointsize> 
     895          </font> 
     896         </property> 
     897         <layout class="QHBoxLayout" name="horizontalLayout_26" > 
     898          <item> 
     899           <widget class="QLabel" name="label_14" > 
     900            <property name="minimumSize" > 
     901             <size> 
     902              <width>240</width> 
     903              <height>0</height> 
     904             </size> 
     905            </property> 
     906            <property name="maximumSize" > 
     907             <size> 
     908              <width>240</width> 
     909              <height>16777215</height> 
     910             </size> 
     911            </property> 
     912            <property name="font" > 
     913             <font> 
     914              <family>Tahoma</family> 
     915              <pointsize>8</pointsize> 
     916             </font> 
     917            </property> 
     918            <property name="text" > 
     919             <string>Fish Vessel name (for crew interview add 'crew') *:</string> 
     920            </property> 
     921           </widget> 
     922          </item> 
     923          <item> 
     924           <spacer name="horizontalSpacer_4" > 
     925            <property name="orientation" > 
     926             <enum>Qt::Horizontal</enum> 
     927            </property> 
     928            <property name="sizeHint" stdset="0" > 
     929             <size> 
     930              <width>40</width> 
     931              <height>20</height> 
     932             </size> 
     933            </property> 
     934           </spacer> 
     935          </item> 
     936          <item> 
     937           <widget class="QLineEdit" name="fishery_vessel_name" > 
     938            <property name="minimumSize" > 
     939             <size> 
     940              <width>100</width> 
     941              <height>0</height> 
     942             </size> 
     943            </property> 
     944            <property name="maximumSize" > 
     945             <size> 
     946              <width>100</width> 
     947              <height>16777215</height> 
     948             </size> 
     949            </property> 
     950            <property name="palette" > 
     951             <palette> 
     952              <active> 
     953               <colorrole role="Base" > 
     954                <brush brushstyle="SolidPattern" > 
     955                 <color alpha="255" > 
     956                  <red>249</red> 
     957                  <green>255</green> 
     958                  <blue>178</blue> 
     959                 </color> 
     960                </brush> 
     961               </colorrole> 
     962              </active> 
     963              <inactive> 
     964               <colorrole role="Base" > 
     965                <brush brushstyle="SolidPattern" > 
     966                 <color alpha="255" > 
     967                  <red>249</red> 
     968                  <green>255</green> 
     969                  <blue>178</blue> 
     970                 </color> 
     971                </brush> 
     972               </colorrole> 
     973              </inactive> 
     974              <disabled> 
     975               <colorrole role="Base" > 
     976                <brush brushstyle="SolidPattern" > 
     977                 <color alpha="255" > 
     978                  <red>212</red> 
     979                  <green>208</green> 
     980                  <blue>200</blue> 
     981                 </color> 
     982                </brush> 
     983               </colorrole> 
     984              </disabled> 
     985             </palette> 
     986            </property> 
     987            <property name="font" > 
     988             <font> 
     989              <family>Tahoma</family> 
     990              <pointsize>8</pointsize> 
     991             </font> 
     992            </property> 
     993           </widget> 
     994          </item> 
     995         </layout> 
     996        </widget> 
     997       </item> 
     998      </layout> 
     999     </item> 
     1000     <item> 
     1001      <layout class="QHBoxLayout" name="horizontalLayout_9" > 
     1002       <item> 
     1003        <widget class="QWidget" native="1" name="widget_12" > 
     1004         <property name="font" > 
     1005          <font> 
     1006           <family>Tahoma</family> 
     1007           <pointsize>8</pointsize> 
     1008          </font> 
     1009         </property> 
     1010         <layout class="QHBoxLayout" name="horizontalLayout_10" > 
     1011          <item> 
     1012           <widget class="QLabel" name="label_5" > 
     1013            <property name="minimumSize" > 
     1014             <size> 
     1015              <width>200</width> 
     1016              <height>0</height> 
     1017             </size> 
     1018            </property> 
     1019            <property name="maximumSize" > 
     1020             <size> 
     1021              <width>200</width> 
     1022              <height>16777215</height> 
     1023             </size> 
     1024            </property> 
     1025            <property name="font" > 
     1026             <font> 
     1027              <family>Tahoma</family> 
     1028              <pointsize>8</pointsize> 
     1029             </font> 
     1030            </property> 
     1031            <property name="text" > 
     1032             <string>Fishery Start Year *:</string> 
     1033            </property> 
     1034           </widget> 
     1035          </item> 
     1036          <item> 
     1037           <spacer name="horizontalSpacer_3" > 
     1038            <property name="font" > 
     1039             <font> 
     1040              <family>Tahoma</family> 
     1041              <pointsize>8</pointsize> 
     1042             </font> 
     1043            </property> 
     1044            <property name="orientation" > 
     1045             <enum>Qt::Horizontal</enum> 
     1046            </property> 
     1047            <property name="sizeHint" stdset="0" > 
     1048             <size> 
     1049              <width>40</width> 
     1050              <height>20</height> 
     1051             </size> 
     1052            </property> 
     1053           </spacer> 
     1054          </item> 
     1055          <item> 
     1056           <widget class="QLineEdit" name="fishery_start_year" > 
     1057            <property name="minimumSize" > 
     1058             <size> 
     1059              <width>40</width> 
     1060              <height>0</height> 
     1061             </size> 
     1062            </property> 
     1063            <property name="maximumSize" > 
     1064             <size> 
     1065              <width>40</width> 
     1066              <height>16777215</height> 
     1067             </size> 
     1068            </property> 
     1069            <property name="palette" > 
     1070             <palette> 
     1071              <active> 
     1072               <colorrole role="Base" > 
     1073                <brush brushstyle="SolidPattern" > 
     1074                 <color alpha="255" > 
     1075                  <red>249</red> 
     1076                  <green>255</green> 
     1077                  <blue>178</blue> 
     1078                 </color> 
     1079                </brush> 
     1080               </colorrole> 
     1081              </active> 
     1082              <inactive> 
     1083               <colorrole role="Base" > 
     1084                <brush brushstyle="SolidPattern" > 
     1085                 <color alpha="255" > 
     1086                  <red>249</red> 
     1087                  <green>255</green> 
     1088                  <blue>178</blue> 
     1089                 </color> 
     1090                </brush> 
     1091               </colorrole> 
     1092              </inactive> 
     1093              <disabled> 
     1094               <colorrole role="Base" > 
     1095                <brush brushstyle="SolidPattern" > 
     1096                 <color alpha="255" > 
     1097                  <red>212</red> 
     1098                  <green>208</green> 
     1099                  <blue>200</blue> 
     1100                 </color> 
     1101                </brush> 
     1102               </colorrole> 
     1103              </disabled> 
     1104             </palette> 
     1105            </property> 
     1106            <property name="font" > 
     1107             <font> 
     1108              <family>Tahoma</family> 
     1109              <pointsize>8</pointsize> 
     1110             </font> 
     1111            </property> 
     1112            <property name="toolTip" > 
     1113             <string>Required Field</string> 
     1114            </property> 
     1115            <property name="text" > 
     1116             <string/> 
     1117            </property> 
     1118           </widget> 
     1119          </item> 
     1120         </layout> 
     1121         <zorder>label_5</zorder> 
     1122         <zorder>fishery_start_year</zorder> 
     1123         <zorder>horizontalSpacer_3</zorder> 
     1124        </widget> 
     1125       </item> 
     1126      </layout> 
     1127     </item> 
     1128     <item> 
     1129      <layout class="QHBoxLayout" name="horizontalLayout_7" > 
     1130       <item> 
     1131        <widget class="QWidget" native="1" name="widget_11" > 
     1132         <property name="font" > 
     1133          <font> 
     1134           <family>Tahoma</family> 
     1135           <pointsize>8</pointsize> 
     1136          </font> 
     1137         </property> 
     1138         <layout class="QHBoxLayout" name="horizontalLayout_8" > 
     1139          <item> 
     1140           <widget class="QLabel" name="label_4" > 
     1141            <property name="minimumSize" > 
     1142             <size> 
     1143              <width>200</width> 
     1144              <height>0</height> 
     1145             </size> 
     1146            </property> 
     1147            <property name="maximumSize" > 
     1148             <size> 
     1149              <width>200</width> 
     1150              <height>16777215</height> 
     1151             </size> 
     1152            </property> 
     1153            <property name="font" > 
     1154             <font> 
     1155              <family>Tahoma</family> 
     1156              <pointsize>8</pointsize> 
     1157             </font> 
     1158            </property> 
     1159            <property name="text" > 
     1160             <string>Fishery End Year *:</string> 
     1161            </property> 
     1162           </widget> 
     1163          </item> 
     1164          <item> 
     1165           <spacer name="horizontalSpacer_3" > 
     1166            <property name="font" > 
     1167             <font> 
     1168              <family>Tahoma</family> 
     1169              <pointsize>8</pointsize> 
     1170             </font> 
     1171            </property> 
     1172            <property name="orientation" > 
     1173             <enum>Qt::Horizontal</enum> 
     1174            </property> 
     1175            <property name="sizeHint" stdset="0" > 
     1176             <size> 
     1177              <width>40</width> 
     1178              <height>20</height> 
     1179             </size> 
     1180            </property> 
     1181           </spacer> 
     1182          </item> 
     1183          <item> 
     1184           <widget class="QLineEdit" name="fishery_end_year" > 
     1185            <property name="minimumSize" > 
     1186             <size> 
     1187              <width>40</width> 
     1188              <height>0</height> 
     1189             </size> 
     1190            </property> 
     1191            <property name="maximumSize" > 
     1192             <size> 
     1193              <width>40</width> 
     1194              <height>16777215</height> 
     1195             </size> 
     1196            </property> 
     1197            <property name="palette" > 
     1198             <palette> 
     1199              <active> 
     1200               <colorrole role="Base" > 
     1201                <brush brushstyle="SolidPattern" > 
     1202                 <color alpha="255" > 
     1203                  <red>249</red> 
     1204                  <green>255</green> 
     1205                  <blue>178</blue> 
     1206                 </color> 
     1207                </brush> 
     1208               </colorrole> 
     1209              </active> 
     1210              <inactive> 
     1211               <colorrole role="Base" > 
     1212                <brush brushstyle="SolidPattern" > 
     1213                 <color alpha="255" > 
     1214                  <red>249</red> 
     1215                  <green>255</green> 
     1216                  <blue>178</blue> 
     1217                 </color> 
     1218                </brush> 
     1219               </colorrole> 
     1220              </inactive> 
     1221              <disabled> 
     1222               <colorrole role="Base" > 
     1223                <brush brushstyle="SolidPattern" > 
     1224                 <color alpha="255" > 
     1225                  <red>212</red> 
     1226                  <green>208</green> 
     1227                  <blue>200</blue> 
     1228                 </color> 
     1229                </brush> 
     1230               </colorrole> 
     1231              </disabled> 
     1232             </palette> 
     1233            </property> 
     1234            <property name="font" > 
     1235             <font> 
     1236              <family>Tahoma</family> 
     1237              <pointsize>8</pointsize> 
     1238             </font> 
     1239            </property> 
     1240            <property name="toolTip" > 
     1241             <string>Required Field</string> 
     1242            </property> 
     1243           </widget> 
     1244          </item> 
     1245         </layout> 
     1246         <zorder>label_4</zorder> 
     1247         <zorder>fishery_end_year</zorder> 
     1248         <zorder>horizontalSpacer_3</zorder> 
     1249        </widget> 
     1250       </item> 
     1251      </layout> 
     1252     </item> 
     1253     <item> 
     1254      <layout class="QHBoxLayout" name="horizontalLayout_27" > 
     1255       <item> 
     1256        <widget class="QWidget" native="1" name="widget_14" > 
     1257         <property name="font" > 
     1258          <font> 
     1259           <family>Tahoma</family> 
     1260           <pointsize>8</pointsize> 
     1261          </font> 
     1262         </property> 
     1263         <layout class="QHBoxLayout" name="horizontalLayout_28" > 
     1264          <item> 
     1265           <widget class="QLabel" name="label_15" > 
     1266            <property name="minimumSize" > 
     1267             <size> 
     1268              <width>200</width> 
     1269              <height>0</height> 
     1270             </size> 
     1271            </property> 
     1272            <property name="maximumSize" > 
     1273             <size> 
     1274              <width>200</width> 
     1275              <height>16777215</height> 
     1276             </size> 
     1277            </property> 
     1278            <property name="font" > 
     1279             <font> 
     1280              <family>Tahoma</family> 
     1281              <pointsize>8</pointsize> 
     1282             </font> 
     1283            </property> 
     1284            <property name="text" > 
     1285             <string>Length of Vessel (ft):</string> 
     1286            </property> 
     1287           </widget> 
     1288          </item> 
     1289          <item> 
     1290           <spacer name="horizontalSpacer_3" > 
     1291            <property name="font" > 
     1292             <font> 
     1293              <family>Tahoma</family> 
     1294              <pointsize>8</pointsize> 
     1295             </font> 
     1296            </property> 
     1297            <property name="orientation" > 
     1298             <enum>Qt::Horizontal</enum> 
     1299            </property> 
     1300            <property name="sizeHint" stdset="0" > 
     1301             <size> 
     1302              <width>40</width> 
     1303              <height>20</height> 
     1304             </size> 
     1305            </property> 
     1306           </spacer> 
     1307          </item> 
     1308          <item> 
     1309           <widget class="QLineEdit" name="fishery_vessel_length" > 
     1310            <property name="minimumSize" > 
     1311             <size> 
     1312              <width>40</width> 
     1313              <height>0</height> 
     1314             </size> 
     1315            </property> 
     1316            <property name="maximumSize" > 
     1317             <size> 
     1318              <width>40</width> 
     1319              <height>16777215</height> 
     1320             </size> 
     1321            </property> 
     1322            <property name="font" > 
     1323             <font> 
     1324              <family>Tahoma</family> 
     1325              <pointsize>8</pointsize> 
     1326             </font> 
     1327            </property> 
     1328           </widget> 
     1329          </item> 
     1330         </layout> 
     1331         <zorder>label_15</zorder> 
     1332         <zorder>fishery_vessel_length</zorder> 
     1333         <zorder>horizontalSpacer_3</zorder> 
     1334        </widget> 
     1335       </item> 
     1336      </layout> 
     1337     </item> 
     1338     <item> 
     1339      <layout class="QHBoxLayout" name="horizontalLayout_15" > 
     1340       <item> 
     1341        <widget class="QWidget" native="1" name="widget_6" > 
     1342         <property name="font" > 
     1343          <font> 
     1344           <family>Tahoma</family> 
     1345           <pointsize>8</pointsize> 
     1346          </font> 
     1347         </property> 
     1348         <layout class="QHBoxLayout" name="horizontalLayout_16" > 
     1349          <item> 
     1350           <widget class="QLabel" name="label_9" > 
     1351            <property name="minimumSize" > 
     1352             <size> 
     1353              <width>200</width> 
     1354              <height>0</height> 
     1355             </size> 
     1356            </property> 
     1357            <property name="maximumSize" > 
     1358             <size> 
     1359              <width>200</width> 
     1360              <height>16777215</height> 
     1361             </size> 
     1362            </property> 
     1363            <property name="font" > 
     1364             <font> 
     1365              <family>Tahoma</family> 
     1366              <pointsize>8</pointsize> 
     1367             </font> 
     1368            </property> 
     1369            <property name="text" > 
     1370             <string>Percent of income for this fishery:</string> 
     1371            </property> 
     1372           </widget> 
     1373          </item> 
     1374          <item> 
     1375           <spacer name="horizontalSpacer_3" > 
     1376            <property name="font" > 
     1377             <font> 
     1378              <family>Tahoma</family> 
     1379              <pointsize>8</pointsize> 
     1380             </font> 
     1381            </property> 
     1382            <property name="orientation" > 
     1383             <enum>Qt::Horizontal</enum> 
     1384            </property> 
     1385            <property name="sizeHint" stdset="0" > 
     1386             <size> 
     1387              <width>40</width> 
     1388              <height>20</height> 
     1389             </size> 
     1390            </property> 
     1391           </spacer> 
     1392          </item> 
     1393          <item> 
     1394           <widget class="QLineEdit" name="fishery_perc_income" > 
     1395            <property name="minimumSize" > 
     1396             <size> 
     1397              <width>40</width> 
     1398              <height>0</height> 
     1399             </size> 
     1400            </property> 
     1401            <property name="maximumSize" > 
     1402             <size> 
     1403              <width>40</width> 
     1404              <height>16777215</height> 
     1405             </size> 
     1406            </property> 
     1407            <property name="font" > 
     1408             <font> 
     1409              <family>Tahoma</family> 
     1410              <pointsize>8</pointsize> 
     1411             </font> 
     1412            </property> 
     1413           </widget> 
     1414          </item> 
     1415         </layout> 
     1416         <zorder>label_9</zorder> 
     1417         <zorder>horizontalSpacer_3</zorder> 
     1418         <zorder>fishery_perc_income</zorder> 
     1419        </widget> 
     1420       </item> 
     1421      </layout> 
     1422     </item> 
     1423     <item> 
     1424      <layout class="QHBoxLayout" name="horizontalLayout_11" > 
     1425       <item> 
     1426        <widget class="QWidget" native="1" name="widget_4" > 
     1427         <property name="font" > 
     1428          <font> 
     1429           <family>Tahoma</family> 
     1430           <pointsize>8</pointsize> 
     1431          </font> 
     1432         </property> 
     1433         <layout class="QHBoxLayout" name="horizontalLayout_12" > 
     1434          <item> 
     1435           <widget class="QLabel" name="label_7" > 
     1436            <property name="minimumSize" > 
     1437             <size> 
     1438              <width>200</width> 
     1439              <height>0</height> 
     1440             </size> 
     1441            </property> 
     1442            <property name="maximumSize" > 
     1443             <size> 
     1444              <width>200</width> 
     1445              <height>16777215</height> 
     1446             </size> 
     1447            </property> 
     1448            <property name="font" > 
     1449             <font> 
     1450              <family>Tahoma</family> 
     1451              <pointsize>8</pointsize> 
     1452             </font> 
     1453            </property> 
     1454            <property name="text" > 
     1455             <string>Years experience in this fishery:</string> 
     1456            </property> 
     1457           </widget> 
     1458          </item> 
     1459          <item> 
     1460           <spacer name="horizontalSpacer_3" > 
     1461            <property name="font" > 
     1462             <font> 
     1463              <family>Tahoma</family> 
     1464              <pointsize>8</pointsize> 
     1465             </font> 
     1466            </property> 
     1467            <property name="orientation" > 
     1468             <enum>Qt::Horizontal</enum> 
     1469            </property> 
     1470            <property name="sizeHint" stdset="0" > 
     1471             <size> 
     1472              <width>40</width> 
     1473              <height>20</height> 
     1474             </size> 
     1475            </property> 
     1476           </spacer> 
     1477          </item> 
     1478          <item> 
     1479           <widget class="QLineEdit" name="fishery_yrs_exp" > 
     1480            <property name="minimumSize" > 
     1481             <size> 
     1482              <width>40</width> 
     1483              <height>0</height> 
     1484             </size> 
     1485            </property> 
     1486            <property name="maximumSize" > 
     1487             <size> 
     1488              <width>40</width> 
     1489              <height>16777215</height> 
     1490             </size> 
     1491            </property> 
     1492            <property name="font" > 
     1493             <font> 
     1494              <family>Tahoma</family> 
     1495              <pointsize>8</pointsize> 
     1496             </font> 
     1497            </property> 
     1498           </widget> 
     1499          </item> 
     1500         </layout> 
     1501         <zorder>label_7</zorder> 
     1502         <zorder>horizontalSpacer_3</zorder> 
     1503         <zorder>fishery_yrs_exp</zorder> 
     1504        </widget> 
     1505       </item> 
     1506      </layout> 
     1507     </item> 
     1508    </layout> 
     1509   </item> 
    13501510  </layout> 
    13511511 </widget> 
     
    13531513  <tabstop>fishery_comboBox</tabstop> 
    13541514  <tabstop>fishery_vessel_name</tabstop> 
     1515  <tabstop>fishery_start_year</tabstop> 
     1516  <tabstop>fishery_end_year</tabstop> 
    13551517  <tabstop>fishery_vessel_length</tabstop> 
    13561518  <tabstop>fishery_perc_income</tabstop> 
    1357   <tabstop>fishery_start_year</tabstop> 
    1358   <tabstop>fishery_end_year</tabstop> 
    13591519  <tabstop>fishery_yrs_exp</tabstop> 
    13601520  <tabstop>fishery_effort_month_per_year</tabstop> 
    13611521  <tabstop>fishery_effort_days</tabstop> 
    13621522  <tabstop>fishery_traps_hooks</tabstop> 
     1523  <tabstop>fishery_avg_pounds_per_trip</tabstop> 
    13631524  <tabstop>fishery_avg_price_per_pound</tabstop> 
    1364   <tabstop>fishery_avg_pounds_per_trip</tabstop> 
    13651525  <tabstop>fishery_hist_avg_price</tabstop> 
    13661526  <tabstop>pbnStartShapes</tabstop> 
  • branches/openoceanmap/oom_bc_comm/Interview/selectfishery_ui.py

    r300 r335  
    33# Form implementation generated from reading ui file 'selectfishery.ui' 
    44# 
    5 # Created: Thu Nov 05 16:52:59 2009 
     5# Created: Fri Feb 26 15:04:37 2010 
    66#      by: PyQt4 UI code generator 4.4.3 
    77# 
     
    1313    def setupUi(self, SelectFishery): 
    1414        SelectFishery.setObjectName("SelectFishery") 
    15         SelectFishery.resize(622, 379) 
     15        SelectFishery.resize(672, 379) 
    1616        self.gridLayout = QtGui.QGridLayout(SelectFishery) 
    1717        self.gridLayout.setObjectName("gridLayout") 
    18         self.verticalLayout = QtGui.QVBoxLayout() 
    19         self.verticalLayout.setObjectName("verticalLayout") 
    20         self.horizontalLayout_3 = QtGui.QHBoxLayout() 
    21         self.horizontalLayout_3.setObjectName("horizontalLayout_3") 
    22         self.widget = QtGui.QWidget(SelectFishery) 
    23         font = QtGui.QFont() 
    24         font.setFamily("Tahoma") 
    25         font.setPointSize(8) 
    26         self.widget.setFont(font) 
    27         self.widget.setObjectName("widget") 
    28         self.hboxlayout = QtGui.QHBoxLayout(self.widget) 
    29         self.hboxlayout.setSpacing(6) 
    30         self.hboxlayout.setContentsMargins(9, 9, 9, 0) 
    31         self.hboxlayout.setObjectName("hboxlayout") 
    32         self.fishery_text = QtGui.QLabel(self.widget) 
    33         self.fishery_text.setMinimumSize(QtCore.QSize(90, 0)) 
    34         self.fishery_text.setMaximumSize(QtCore.QSize(90, 16777215)) 
    35         font = QtGui.QFont() 
    36         font.setFamily("Tahoma") 
    37         font.setPointSize(8) 
    38         self.fishery_text.setFont(font) 
    39         self.fishery_text.setObjectName("fishery_text") 
    40         self.hboxlayout.addWidget(self.fishery_text) 
    41         spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    42         self.hboxlayout.addItem(spacerItem) 
    43         self.fishery_comboBox = QtGui.QComboBox(self.widget) 
    44         self.fishery_comboBox.setMinimumSize(QtCore.QSize(200, 0)) 
    45         self.fishery_comboBox.setMaximumSize(QtCore.QSize(200, 16777215)) 
    46         font = QtGui.QFont() 
    47         font.setFamily("Tahoma") 
    48         font.setPointSize(8) 
    49         self.fishery_comboBox.setFont(font) 
    50         self.fishery_comboBox.setObjectName("fishery_comboBox") 
    51         self.fishery_comboBox.addItem(QtCore.QString()) 
    52         self.fishery_comboBox.setItemText(0, "") 
    53         self.fishery_comboBox.addItem(QtCore.QString()) 
    54         self.fishery_comboBox.addItem(QtCore.QString()) 
    55         self.fishery_comboBox.addItem(QtCore.QString()) 
    56         self.fishery_comboBox.addItem(QtCore.QString()) 
    57         self.fishery_comboBox.addItem(QtCore.QString()) 
    58         self.fishery_comboBox.addItem(QtCore.QString()) 
    59         self.fishery_comboBox.addItem(QtCore.QString()) 
    60         self.fishery_comboBox.addItem(QtCore.QString()) 
    61         self.fishery_comboBox.addItem(QtCore.QString()) 
    62         self.fishery_comboBox.addItem(QtCore.QString()) 
    63         self.fishery_comboBox.addItem(QtCore.QString()) 
    64         self.fishery_comboBox.addItem(QtCore.QString()) 
    65         self.fishery_comboBox.addItem(QtCore.QString()) 
    66         self.fishery_comboBox.addItem(QtCore.QString()) 
    67         self.fishery_comboBox.addItem(QtCore.QString()) 
    68         self.fishery_comboBox.addItem(QtCore.QString()) 
    69         self.fishery_comboBox.addItem(QtCore.QString()) 
    70         self.fishery_comboBox.addItem(QtCore.QString()) 
    71         self.fishery_comboBox.addItem(QtCore.QString()) 
    72         self.fishery_comboBox.addItem(QtCore.QString()) 
    73         self.fishery_comboBox.addItem(QtCore.QString()) 
    74         self.fishery_comboBox.addItem(QtCore.QString()) 
    75         self.fishery_comboBox.addItem(QtCore.QString()) 
    76         self.fishery_comboBox.addItem(QtCore.QString()) 
    77         self.fishery_comboBox.addItem(QtCore.QString()) 
    78         self.fishery_comboBox.addItem(QtCore.QString()) 
    79         self.hboxlayout.addWidget(self.fishery_comboBox) 
    80         self.horizontalLayout_3.addWidget(self.widget) 
    81         self.verticalLayout.addLayout(self.horizontalLayout_3) 
    82         self.horizontalLayout_25 = QtGui.QHBoxLayout() 
    83         self.horizontalLayout_25.setObjectName("horizontalLayout_25") 
    84         self.widget_13 = QtGui.QWidget(SelectFishery) 
    85         font = QtGui.QFont() 
    86         font.setFamily("Tahoma") 
    87         font.setPointSize(8) 
    88         self.widget_13.setFont(font) 
    89         self.widget_13.setObjectName("widget_13") 
    90         self.horizontalLayout_26 = QtGui.QHBoxLayout(self.widget_13) 
    91         self.horizontalLayout_26.setObjectName("horizontalLayout_26") 
    92         self.label_14 = QtGui.QLabel(self.widget_13) 
    93         self.label_14.setMinimumSize(QtCore.QSize(90, 0)) 
    94         self.label_14.setMaximumSize(QtCore.QSize(90, 16777215)) 
    95         font = QtGui.QFont() 
    96         font.setFamily("Tahoma") 
    97         font.setPointSize(8) 
    98         self.label_14.setFont(font) 
    99         self.label_14.setObjectName("label_14") 
    100         self.horizontalLayout_26.addWidget(self.label_14) 
    101         spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    102         self.horizontalLayout_26.addItem(spacerItem1) 
    103         self.fishery_vessel_name = QtGui.QLineEdit(self.widget_13) 
    104         self.fishery_vessel_name.setMinimumSize(QtCore.QSize(200, 0)) 
    105         self.fishery_vessel_name.setMaximumSize(QtCore.QSize(200, 16777215)) 
    106         font = QtGui.QFont() 
    107         font.setFamily("Tahoma") 
    108         font.setPointSize(8) 
    109         self.fishery_vessel_name.setFont(font) 
    110         self.fishery_vessel_name.setObjectName("fishery_vessel_name") 
    111         self.horizontalLayout_26.addWidget(self.fishery_vessel_name) 
    112         self.horizontalLayout_25.addWidget(self.widget_13) 
    113         self.verticalLayout.addLayout(self.horizontalLayout_25) 
    114         self.horizontalLayout_27 = QtGui.QHBoxLayout() 
    115         self.horizontalLayout_27.setObjectName("horizontalLayout_27") 
    116         self.widget_14 = QtGui.QWidget(SelectFishery) 
    117         font = QtGui.QFont() 
    118         font.setFamily("Tahoma") 
    119         font.setPointSize(8) 
    120         self.widget_14.setFont(font) 
    121         self.widget_14.setObjectName("widget_14") 
    122         self.horizontalLayout_28 = QtGui.QHBoxLayout(self.widget_14) 
    123         self.horizontalLayout_28.setObjectName("horizontalLayout_28") 
    124         self.label_15 = QtGui.QLabel(self.widget_14) 
    125         self.label_15.setMinimumSize(QtCore.QSize(200, 0)) 
    126         self.label_15.setMaximumSize(QtCore.QSize(200, 16777215)) 
    127         font = QtGui.QFont() 
    128         font.setFamily("Tahoma") 
    129         font.setPointSize(8) 
    130         self.label_15.setFont(font) 
    131         self.label_15.setObjectName("label_15") 
    132         self.horizontalLayout_28.addWidget(self.label_15) 
    133         spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    134         self.horizontalLayout_28.addItem(spacerItem2) 
    135         self.fishery_vessel_length = QtGui.QLineEdit(self.widget_14) 
    136         self.fishery_vessel_length.setMinimumSize(QtCore.QSize(40, 0)) 
    137         self.fishery_vessel_length.setMaximumSize(QtCore.QSize(40, 16777215)) 
    138         font = QtGui.QFont() 
    139         font.setFamily("Tahoma") 
    140         font.setPointSize(8) 
    141         self.fishery_vessel_length.setFont(font) 
    142         self.fishery_vessel_length.setObjectName("fishery_vessel_length") 
    143         self.horizontalLayout_28.addWidget(self.fishery_vessel_length) 
    144         self.horizontalLayout_27.addWidget(self.widget_14) 
    145         self.verticalLayout.addLayout(self.horizontalLayout_27) 
    146         self.horizontalLayout_15 = QtGui.QHBoxLayout() 
    147         self.horizontalLayout_15.setObjectName("horizontalLayout_15") 
    148         self.widget_6 = QtGui.QWidget(SelectFishery) 
    149         font = QtGui.QFont() 
    150         font.setFamily("Tahoma") 
    151         font.setPointSize(8) 
    152         self.widget_6.setFont(font) 
    153         self.widget_6.setObjectName("widget_6") 
    154         self.horizontalLayout_16 = QtGui.QHBoxLayout(self.widget_6) 
    155         self.horizontalLayout_16.setObjectName("horizontalLayout_16") 
    156         self.label_9 = QtGui.QLabel(self.widget_6) 
    157         self.label_9.setMinimumSize(QtCore.QSize(200, 0)) 
    158         self.label_9.setMaximumSize(QtCore.QSize(200, 16777215)) 
    159         font = QtGui.QFont() 
    160         font.setFamily("Tahoma") 
    161         font.setPointSize(8) 
    162         self.label_9.setFont(font) 
    163         self.label_9.setObjectName("label_9") 
    164         self.horizontalLayout_16.addWidget(self.label_9) 
    165         spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    166         self.horizontalLayout_16.addItem(spacerItem3) 
    167         self.fishery_perc_income = QtGui.QLineEdit(self.widget_6) 
    168         self.fishery_perc_income.setMinimumSize(QtCore.QSize(40, 0)) 
    169         self.fishery_perc_income.setMaximumSize(QtCore.QSize(40, 16777215)) 
    170         font = QtGui.QFont() 
    171         font.setFamily("Tahoma") 
    172         font.setPointSize(8) 
    173         self.fishery_perc_income.setFont(font) 
    174         self.fishery_perc_income.setObjectName("fishery_perc_income") 
    175         self.horizontalLayout_16.addWidget(self.fishery_perc_income) 
    176         self.horizontalLayout_15.addWidget(self.widget_6) 
    177         self.verticalLayout.addLayout(self.horizontalLayout_15) 
    178         self.horizontalLayout_9 = QtGui.QHBoxLayout() 
    179         self.horizontalLayout_9.setObjectName("horizontalLayout_9") 
    180         self.widget_12 = QtGui.QWidget(SelectFishery) 
    181         font = QtGui.QFont() 
    182         font.setFamily("Tahoma") 
    183         font.setPointSize(8) 
    184         self.widget_12.setFont(font) 
    185         self.widget_12.setObjectName("widget_12") 
    186         self.horizontalLayout_10 = QtGui.QHBoxLayout(self.widget_12) 
    187         self.horizontalLayout_10.setObjectName("horizontalLayout_10") 
    188         self.label_5 = QtGui.QLabel(self.widget_12) 
    189         self.label_5.setMinimumSize(QtCore.QSize(200, 0)) 
    190         self.label_5.setMaximumSize(QtCore.QSize(200, 16777215)) 
    191         font = QtGui.QFont() 
    192         font.setFamily("Tahoma") 
    193         font.setPointSize(8) 
    194         self.label_5.setFont(font) 
    195         self.label_5.setObjectName("label_5") 
    196         self.horizontalLayout_10.addWidget(self.label_5) 
    197         spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    198         self.horizontalLayout_10.addItem(spacerItem4) 
    199         self.fishery_start_year = QtGui.QLineEdit(self.widget_12) 
    200         self.fishery_start_year.setMinimumSize(QtCore.QSize(40, 0)) 
    201         self.fishery_start_year.setMaximumSize(QtCore.QSize(40, 16777215)) 
    202         font = QtGui.QFont() 
    203         font.setFamily("Tahoma") 
    204         font.setPointSize(8) 
    205         self.fishery_start_year.setFont(font) 
    206         self.fishery_start_year.setObjectName("fishery_start_year") 
    207         self.horizontalLayout_10.addWidget(self.fishery_start_year) 
    208         self.horizontalLayout_9.addWidget(self.widget_12) 
    209         self.verticalLayout.addLayout(self.horizontalLayout_9) 
    210         self.horizontalLayout_7 = QtGui.QHBoxLayout() 
    211         self.horizontalLayout_7.setObjectName("horizontalLayout_7") 
    212         self.widget_11 = QtGui.QWidget(SelectFishery) 
    213         font = QtGui.QFont() 
    214         font.setFamily("Tahoma") 
    215         font.setPointSize(8) 
    216         self.widget_11.setFont(font) 
    217         self.widget_11.setObjectName("widget_11") 
    218         self.horizontalLayout_8 = QtGui.QHBoxLayout(self.widget_11) 
    219         self.horizontalLayout_8.setObjectName("horizontalLayout_8") 
    220         self.label_4 = QtGui.QLabel(self.widget_11) 
    221         self.label_4.setMinimumSize(QtCore.QSize(200, 0)) 
    222         self.label_4.setMaximumSize(QtCore.QSize(200, 16777215)) 
    223         font = QtGui.QFont() 
    224         font.setFamily("Tahoma") 
    225         font.setPointSize(8) 
    226         self.label_4.setFont(font) 
    227         self.label_4.setObjectName("label_4") 
    228         self.horizontalLayout_8.addWidget(self.label_4) 
    229         spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    230         self.horizontalLayout_8.addItem(spacerItem5) 
    231         self.fishery_end_year = QtGui.QLineEdit(self.widget_11) 
    232         self.fishery_end_year.setMinimumSize(QtCore.QSize(40, 0)) 
    233         self.fishery_end_year.setMaximumSize(QtCore.QSize(40, 16777215)) 
    234         font = QtGui.QFont() 
    235         font.setFamily("Tahoma") 
    236         font.setPointSize(8) 
    237         self.fishery_end_year.setFont(font) 
    238         self.fishery_end_year.setObjectName("fishery_end_year") 
    239         self.horizontalLayout_8.addWidget(self.fishery_end_year) 
    240         self.horizontalLayout_7.addWidget(self.widget_11) 
    241         self.verticalLayout.addLayout(self.horizontalLayout_7) 
    242         self.horizontalLayout_11 = QtGui.QHBoxLayout() 
    243         self.horizontalLayout_11.setObjectName("horizontalLayout_11") 
    244         self.widget_4 = QtGui.QWidget(SelectFishery) 
    245         font = QtGui.QFont() 
    246         font.setFamily("Tahoma") 
    247         font.setPointSize(8) 
    248         self.widget_4.setFont(font) 
    249         self.widget_4.setObjectName("widget_4") 
    250         self.horizontalLayout_12 = QtGui.QHBoxLayout(self.widget_4) 
    251         self.horizontalLayout_12.setObjectName("horizontalLayout_12") 
    252         self.label_7 = QtGui.QLabel(self.widget_4) 
    253         self.label_7.setMinimumSize(QtCore.QSize(200, 0)) 
    254         self.label_7.setMaximumSize(QtCore.QSize(200, 16777215)) 
    255         font = QtGui.QFont() 
    256         font.setFamily("Tahoma") 
    257         font.setPointSize(8) 
    258         self.label_7.setFont(font) 
    259         self.label_7.setObjectName("label_7") 
    260         self.horizontalLayout_12.addWidget(self.label_7) 
    261         spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    262         self.horizontalLayout_12.addItem(spacerItem6) 
    263         self.fishery_yrs_exp = QtGui.QLineEdit(self.widget_4) 
    264         self.fishery_yrs_exp.setMinimumSize(QtCore.QSize(40, 0)) 
    265         self.fishery_yrs_exp.setMaximumSize(QtCore.QSize(40, 16777215)) 
    266         font = QtGui.QFont() 
    267         font.setFamily("Tahoma") 
    268         font.setPointSize(8) 
    269         self.fishery_yrs_exp.setFont(font) 
    270         self.fishery_yrs_exp.setObjectName("fishery_yrs_exp") 
    271         self.horizontalLayout_12.addWidget(self.fishery_yrs_exp) 
    272         self.horizontalLayout_11.addWidget(self.widget_4) 
    273         self.verticalLayout.addLayout(self.horizontalLayout_11) 
    274         self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1) 
    27518        self.verticalLayout_2 = QtGui.QVBoxLayout() 
    27619        self.verticalLayout_2.setObjectName("verticalLayout_2") 
     
    29437        self.label_11.setObjectName("label_11") 
    29538        self.horizontalLayout_20.addWidget(self.label_11) 
    296         spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    297         self.horizontalLayout_20.addItem(spacerItem7
     39        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     40        self.horizontalLayout_20.addItem(spacerItem
    29841        self.fishery_effort_month_per_year = QtGui.QLineEdit(self.widget_8) 
    29942        self.fishery_effort_month_per_year.setMinimumSize(QtCore.QSize(40, 0)) 
     
    32669        self.label_12.setObjectName("label_12") 
    32770        self.horizontalLayout_22.addWidget(self.label_12) 
    328         spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    329         self.horizontalLayout_22.addItem(spacerItem8
     71        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     72        self.horizontalLayout_22.addItem(spacerItem1
    33073        self.fishery_effort_days = QtGui.QLineEdit(self.widget_9) 
    33174        self.fishery_effort_days.setMinimumSize(QtCore.QSize(40, 0)) 
     
    358101        self.label_10.setObjectName("label_10") 
    359102        self.horizontalLayout_18.addWidget(self.label_10) 
    360         spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    361         self.horizontalLayout_18.addItem(spacerItem9
     103        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     104        self.horizontalLayout_18.addItem(spacerItem2
    362105        self.fishery_traps_hooks = QtGui.QLineEdit(self.widget_7) 
    363106        self.fishery_traps_hooks.setMinimumSize(QtCore.QSize(40, 0)) 
     
    390133        self.label_13.setObjectName("label_13") 
    391134        self.horizontalLayout_24.addWidget(self.label_13) 
    392         spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    393         self.horizontalLayout_24.addItem(spacerItem10
     135        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     136        self.horizontalLayout_24.addItem(spacerItem3
    394137        self.fishery_avg_pounds_per_trip = QtGui.QLineEdit(self.widget_10) 
    395138        self.fishery_avg_pounds_per_trip.setMinimumSize(QtCore.QSize(40, 0)) 
     
    422165        self.label_8.setObjectName("label_8") 
    423166        self.horizontalLayout_14.addWidget(self.label_8) 
    424         spacerItem11 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    425         self.horizontalLayout_14.addItem(spacerItem11
     167        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     168        self.horizontalLayout_14.addItem(spacerItem4
    426169        self.fishery_avg_price_per_pound = QtGui.QLineEdit(self.widget_5) 
    427170        self.fishery_avg_price_per_pound.setMinimumSize(QtCore.QSize(40, 0)) 
     
    454197        self.label.setObjectName("label") 
    455198        self.horizontalLayout_4.addWidget(self.label) 
    456         spacerItem12 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    457         self.horizontalLayout_4.addItem(spacerItem12
     199        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     200        self.horizontalLayout_4.addItem(spacerItem5
    458201        self.fishery_hist_avg_price = QtGui.QLineEdit(self.widget_3) 
    459202        self.fishery_hist_avg_price.setMinimumSize(QtCore.QSize(40, 0)) 
     
    476219        self.widget_2.setFont(font) 
    477220        self.widget_2.setObjectName("widget_2") 
    478         self.hboxlayout1 = QtGui.QHBoxLayout(self.widget_2) 
    479         self.hboxlayout1.setSpacing(6) 
    480         self.hboxlayout1.setMargin(9) 
    481         self.hboxlayout1.setObjectName("hboxlayout1") 
    482         spacerItem13 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
    483         self.hboxlayout1.addItem(spacerItem13
     221        self.hboxlayout = QtGui.QHBoxLayout(self.widget_2) 
     222        self.hboxlayout.setSpacing(6) 
     223        self.hboxlayout.setMargin(9) 
     224        self.hboxlayout.setObjectName("hboxlayout") 
     225        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     226        self.hboxlayout.addItem(spacerItem6
    484227        self.pbnStartShapes = QtGui.QPushButton(self.widget_2) 
    485228        font = QtGui.QFont() 
     
    488231        self.pbnStartShapes.setFont(font) 
    489232        self.pbnStartShapes.setObjectName("pbnStartShapes") 
    490         self.hboxlayout1.addWidget(self.pbnStartShapes) 
     233        self.hboxlayout.addWidget(self.pbnStartShapes) 
    491234        self.pbnFisheryFinished = QtGui.QPushButton(self.widget_2) 
    492235        font = QtGui.QFont() 
     
    495238        self.pbnFisheryFinished.setFont(font) 
    496239        self.pbnFisheryFinished.setObjectName("pbnFisheryFinished") 
    497         self.hboxlayout1.addWidget(self.pbnFisheryFinished) 
     240        self.hboxlayout.addWidget(self.pbnFisheryFinished) 
    498241        self.horizontalLayout_2.addWidget(self.widget_2) 
    499242        self.gridLayout.addLayout(self.horizontalLayout_2, 1, 0, 1, 2) 
     243        self.verticalLayout = QtGui.QVBoxLayout() 
     244        self.verticalLayout.setObjectName("verticalLayout") 
     245        self.horizontalLayout_3 = QtGui.QHBoxLayout() 
     246        self.horizontalLayout_3.setObjectName("horizontalLayout_3") 
     247        self.widget = QtGui.QWidget(SelectFishery) 
     248        font = QtGui.QFont() 
     249        font.setFamily("Tahoma") 
     250        font.setPointSize(8) 
     251        self.widget.setFont(font) 
     252        self.widget.setObjectName("widget") 
     253        self.hboxlayout1 = QtGui.QHBoxLayout(self.widget) 
     254        self.hboxlayout1.setSpacing(6) 
     255        self.hboxlayout1.setContentsMargins(9, 9, 9, 0) 
     256        self.hboxlayout1.setObjectName("hboxlayout1") 
     257        self.fishery_text = QtGui.QLabel(self.widget) 
     258        self.fishery_text.setMinimumSize(QtCore.QSize(90, 0)) 
     259        self.fishery_text.setMaximumSize(QtCore.QSize(90, 16777215)) 
     260        font = QtGui.QFont() 
     261        font.setFamily("Tahoma") 
     262        font.setPointSize(8) 
     263        self.fishery_text.setFont(font) 
     264        self.fishery_text.setObjectName("fishery_text") 
     265        self.hboxlayout1.addWidget(self.fishery_text) 
     266        spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     267        self.hboxlayout1.addItem(spacerItem7) 
     268        self.fishery_comboBox = QtGui.QComboBox(self.widget) 
     269        self.fishery_comboBox.setMinimumSize(QtCore.QSize(200, 0)) 
     270        self.fishery_comboBox.setMaximumSize(QtCore.QSize(200, 16777215)) 
     271        palette = QtGui.QPalette() 
     272        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     273        brush.setStyle(QtCore.Qt.SolidPattern) 
     274        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     275        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     276        brush.setStyle(QtCore.Qt.SolidPattern) 
     277        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     278        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     279        brush.setStyle(QtCore.Qt.SolidPattern) 
     280        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     281        self.fishery_comboBox.setPalette(palette) 
     282        font = QtGui.QFont() 
     283        font.setFamily("Tahoma") 
     284        font.setPointSize(8) 
     285        self.fishery_comboBox.setFont(font) 
     286        self.fishery_comboBox.setObjectName("fishery_comboBox") 
     287        self.fishery_comboBox.addItem(QtCore.QString()) 
     288        self.fishery_comboBox.setItemText(0, "") 
     289        self.fishery_comboBox.addItem(QtCore.QString()) 
     290        self.fishery_comboBox.addItem(QtCore.QString()) 
     291        self.fishery_comboBox.addItem(QtCore.QString()) 
     292        self.fishery_comboBox.addItem(QtCore.QString()) 
     293        self.fishery_comboBox.addItem(QtCore.QString()) 
     294        self.fishery_comboBox.addItem(QtCore.QString()) 
     295        self.fishery_comboBox.addItem(QtCore.QString()) 
     296        self.fishery_comboBox.addItem(QtCore.QString()) 
     297        self.fishery_comboBox.addItem(QtCore.QString()) 
     298        self.fishery_comboBox.addItem(QtCore.QString()) 
     299        self.fishery_comboBox.addItem(QtCore.QString()) 
     300        self.fishery_comboBox.addItem(QtCore.QString()) 
     301        self.fishery_comboBox.addItem(QtCore.QString()) 
     302        self.fishery_comboBox.addItem(QtCore.QString()) 
     303        self.fishery_comboBox.addItem(QtCore.QString()) 
     304        self.fishery_comboBox.addItem(QtCore.QString()) 
     305        self.fishery_comboBox.addItem(QtCore.QString()) 
     306        self.fishery_comboBox.addItem(QtCore.QString()) 
     307        self.fishery_comboBox.addItem(QtCore.QString()) 
     308        self.fishery_comboBox.addItem(QtCore.QString()) 
     309        self.fishery_comboBox.addItem(QtCore.QString()) 
     310        self.fishery_comboBox.addItem(QtCore.QString()) 
     311        self.fishery_comboBox.addItem(QtCore.QString()) 
     312        self.fishery_comboBox.addItem(QtCore.QString()) 
     313        self.fishery_comboBox.addItem(QtCore.QString()) 
     314        self.fishery_comboBox.addItem(QtCore.QString()) 
     315        self.fishery_comboBox.addItem(QtCore.QString()) 
     316        self.hboxlayout1.addWidget(self.fishery_comboBox) 
     317        self.horizontalLayout_3.addWidget(self.widget) 
     318        self.verticalLayout.addLayout(self.horizontalLayout_3) 
     319        self.horizontalLayout_25 = QtGui.QHBoxLayout() 
     320        self.horizontalLayout_25.setObjectName("horizontalLayout_25") 
     321        self.widget_13 = QtGui.QWidget(SelectFishery) 
     322        font = QtGui.QFont() 
     323        font.setFamily("Tahoma") 
     324        font.setPointSize(8) 
     325        self.widget_13.setFont(font) 
     326        self.widget_13.setObjectName("widget_13") 
     327        self.horizontalLayout_26 = QtGui.QHBoxLayout(self.widget_13) 
     328        self.horizontalLayout_26.setObjectName("horizontalLayout_26") 
     329        self.label_14 = QtGui.QLabel(self.widget_13) 
     330        self.label_14.setMinimumSize(QtCore.QSize(240, 0)) 
     331        self.label_14.setMaximumSize(QtCore.QSize(240, 16777215)) 
     332        font = QtGui.QFont() 
     333        font.setFamily("Tahoma") 
     334        font.setPointSize(8) 
     335        self.label_14.setFont(font) 
     336        self.label_14.setObjectName("label_14") 
     337        self.horizontalLayout_26.addWidget(self.label_14) 
     338        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     339        self.horizontalLayout_26.addItem(spacerItem8) 
     340        self.fishery_vessel_name = QtGui.QLineEdit(self.widget_13) 
     341        self.fishery_vessel_name.setMinimumSize(QtCore.QSize(100, 0)) 
     342        self.fishery_vessel_name.setMaximumSize(QtCore.QSize(100, 16777215)) 
     343        palette = QtGui.QPalette() 
     344        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     345        brush.setStyle(QtCore.Qt.SolidPattern) 
     346        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     347        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     348        brush.setStyle(QtCore.Qt.SolidPattern) 
     349        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     350        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     351        brush.setStyle(QtCore.Qt.SolidPattern) 
     352        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     353        self.fishery_vessel_name.setPalette(palette) 
     354        font = QtGui.QFont() 
     355        font.setFamily("Tahoma") 
     356        font.setPointSize(8) 
     357        self.fishery_vessel_name.setFont(font) 
     358        self.fishery_vessel_name.setObjectName("fishery_vessel_name") 
     359        self.horizontalLayout_26.addWidget(self.fishery_vessel_name) 
     360        self.horizontalLayout_25.addWidget(self.widget_13) 
     361        self.verticalLayout.addLayout(self.horizontalLayout_25) 
     362        self.horizontalLayout_9 = QtGui.QHBoxLayout() 
     363        self.horizontalLayout_9.setObjectName("horizontalLayout_9") 
     364        self.widget_12 = QtGui.QWidget(SelectFishery) 
     365        font = QtGui.QFont() 
     366        font.setFamily("Tahoma") 
     367        font.setPointSize(8) 
     368        self.widget_12.setFont(font) 
     369        self.widget_12.setObjectName("widget_12") 
     370        self.horizontalLayout_10 = QtGui.QHBoxLayout(self.widget_12) 
     371        self.horizontalLayout_10.setObjectName("horizontalLayout_10") 
     372        self.label_5 = QtGui.QLabel(self.widget_12) 
     373        self.label_5.setMinimumSize(QtCore.QSize(200, 0)) 
     374        self.label_5.setMaximumSize(QtCore.QSize(200, 16777215)) 
     375        font = QtGui.QFont() 
     376        font.setFamily("Tahoma") 
     377        font.setPointSize(8) 
     378        self.label_5.setFont(font) 
     379        self.label_5.setObjectName("label_5") 
     380        self.horizontalLayout_10.addWidget(self.label_5) 
     381        spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     382        self.horizontalLayout_10.addItem(spacerItem9) 
     383        self.fishery_start_year = QtGui.QLineEdit(self.widget_12) 
     384        self.fishery_start_year.setMinimumSize(QtCore.QSize(40, 0)) 
     385        self.fishery_start_year.setMaximumSize(QtCore.QSize(40, 16777215)) 
     386        palette = QtGui.QPalette() 
     387        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     388        brush.setStyle(QtCore.Qt.SolidPattern) 
     389        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     390        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     391        brush.setStyle(QtCore.Qt.SolidPattern) 
     392        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     393        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     394        brush.setStyle(QtCore.Qt.SolidPattern) 
     395        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     396        self.fishery_start_year.setPalette(palette) 
     397        font = QtGui.QFont() 
     398        font.setFamily("Tahoma") 
     399        font.setPointSize(8) 
     400        self.fishery_start_year.setFont(font) 
     401        self.fishery_start_year.setObjectName("fishery_start_year") 
     402        self.horizontalLayout_10.addWidget(self.fishery_start_year) 
     403        self.horizontalLayout_9.addWidget(self.widget_12) 
     404        self.verticalLayout.addLayout(self.horizontalLayout_9) 
     405        self.horizontalLayout_7 = QtGui.QHBoxLayout() 
     406        self.horizontalLayout_7.setObjectName("horizontalLayout_7") 
     407        self.widget_11 = QtGui.QWidget(SelectFishery) 
     408        font = QtGui.QFont() 
     409        font.setFamily("Tahoma") 
     410        font.setPointSize(8) 
     411        self.widget_11.setFont(font) 
     412        self.widget_11.setObjectName("widget_11") 
     413        self.horizontalLayout_8 = QtGui.QHBoxLayout(self.widget_11) 
     414        self.horizontalLayout_8.setObjectName("horizontalLayout_8") 
     415        self.label_4 = QtGui.QLabel(self.widget_11) 
     416        self.label_4.setMinimumSize(QtCore.QSize(200, 0)) 
     417        self.label_4.setMaximumSize(QtCore.QSize(200, 16777215)) 
     418        font = QtGui.QFont() 
     419        font.setFamily("Tahoma") 
     420        font.setPointSize(8) 
     421        self.label_4.setFont(font) 
     422        self.label_4.setObjectName("label_4") 
     423        self.horizontalLayout_8.addWidget(self.label_4) 
     424        spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     425        self.horizontalLayout_8.addItem(spacerItem10) 
     426        self.fishery_end_year = QtGui.QLineEdit(self.widget_11) 
     427        self.fishery_end_year.setMinimumSize(QtCore.QSize(40, 0)) 
     428        self.fishery_end_year.setMaximumSize(QtCore.QSize(40, 16777215)) 
     429        palette = QtGui.QPalette() 
     430        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     431        brush.setStyle(QtCore.Qt.SolidPattern) 
     432        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) 
     433        brush = QtGui.QBrush(QtGui.QColor(249, 255, 178)) 
     434        brush.setStyle(QtCore.Qt.SolidPattern) 
     435        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) 
     436        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200)) 
     437        brush.setStyle(QtCore.Qt.SolidPattern) 
     438        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) 
     439        self.fishery_end_year.setPalette(palette) 
     440        font = QtGui.QFont() 
     441        font.setFamily("Tahoma") 
     442        font.setPointSize(8) 
     443        self.fishery_end_year.setFont(font) 
     444        self.fishery_end_year.setObjectName("fishery_end_year") 
     445        self.horizontalLayout_8.addWidget(self.fishery_end_year) 
     446        self.horizontalLayout_7.addWidget(self.widget_11) 
     447        self.verticalLayout.addLayout(self.horizontalLayout_7) 
     448        self.horizontalLayout_27 = QtGui.QHBoxLayout() 
     449        self.horizontalLayout_27.setObjectName("horizontalLayout_27") 
     450        self.widget_14 = QtGui.QWidget(SelectFishery) 
     451        font = QtGui.QFont() 
     452        font.setFamily("Tahoma") 
     453        font.setPointSize(8) 
     454        self.widget_14.setFont(font) 
     455        self.widget_14.setObjectName("widget_14") 
     456        self.horizontalLayout_28 = QtGui.QHBoxLayout(self.widget_14) 
     457        self.horizontalLayout_28.setObjectName("horizontalLayout_28") 
     458        self.label_15 = QtGui.QLabel(self.widget_14) 
     459        self.label_15.setMinimumSize(QtCore.QSize(200, 0)) 
     460        self.label_15.setMaximumSize(QtCore.QSize(200, 16777215)) 
     461        font = QtGui.QFont() 
     462        font.setFamily("Tahoma") 
     463        font.setPointSize(8) 
     464        self.label_15.setFont(font) 
     465        self.label_15.setObjectName("label_15") 
     466        self.horizontalLayout_28.addWidget(self.label_15) 
     467        spacerItem11 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     468        self.horizontalLayout_28.addItem(spacerItem11) 
     469        self.fishery_vessel_length = QtGui.QLineEdit(self.widget_14) 
     470        self.fishery_vessel_length.setMinimumSize(QtCore.QSize(40, 0)) 
     471        self.fishery_vessel_length.setMaximumSize(QtCore.QSize(40, 16777215)) 
     472        font = QtGui.QFont() 
     473        font.setFamily("Tahoma") 
     474        font.setPointSize(8) 
     475        self.fishery_vessel_length.setFont(font) 
     476        self.fishery_vessel_length.setObjectName("fishery_vessel_length") 
     477        self.horizontalLayout_28.addWidget(self.fishery_vessel_length) 
     478        self.horizontalLayout_27.addWidget(self.widget_14) 
     479        self.verticalLayout.addLayout(self.horizontalLayout_27) 
     480        self.horizontalLayout_15 = QtGui.QHBoxLayout() 
     481        self.horizontalLayout_15.setObjectName("horizontalLayout_15") 
     482        self.widget_6 = QtGui.QWidget(SelectFishery) 
     483        font = QtGui.QFont() 
     484        font.setFamily("Tahoma") 
     485        font.setPointSize(8) 
     486        self.widget_6.setFont(font) 
     487        self.widget_6.setObjectName("widget_6") 
     488        self.horizontalLayout_16 = QtGui.QHBoxLayout(self.widget_6) 
     489        self.horizontalLayout_16.setObjectName("horizontalLayout_16") 
     490        self.label_9 = QtGui.QLabel(self.widget_6) 
     491        self.label_9.setMinimumSize(QtCore.QSize(200, 0)) 
     492        self.label_9.setMaximumSize(QtCore.QSize(200, 16777215)) 
     493        font = QtGui.QFont() 
     494        font.setFamily("Tahoma") 
     495        font.setPointSize(8) 
     496        self.label_9.setFont(font) 
     497        self.label_9.setObjectName("label_9") 
     498        self.horizontalLayout_16.addWidget(self.label_9) 
     499        spacerItem12 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     500        self.horizontalLayout_16.addItem(spacerItem12) 
     501        self.fishery_perc_income = QtGui.QLineEdit(self.widget_6) 
     502        self.fishery_perc_income.setMinimumSize(QtCore.QSize(40, 0)) 
     503        self.fishery_perc_income.setMaximumSize(QtCore.QSize(40, 16777215)) 
     504        font = QtGui.QFont() 
     505        font.setFamily("Tahoma") 
     506        font.setPointSize(8) 
     507        self.fishery_perc_income.setFont(font) 
     508        self.fishery_perc_income.setObjectName("fishery_perc_income") 
     509        self.horizontalLayout_16.addWidget(self.fishery_perc_income) 
     510        self.horizontalLayout_15.addWidget(self.widget_6) 
     511        self.verticalLayout.addLayout(self.horizontalLayout_15) 
     512        self.horizontalLayout_11 = QtGui.QHBoxLayout() 
     513        self.horizontalLayout_11.setObjectName("horizontalLayout_11") 
     514        self.widget_4 = QtGui.QWidget(SelectFishery) 
     515        font = QtGui.QFont() 
     516        font.setFamily("Tahoma") 
     517        font.setPointSize(8) 
     518        self.widget_4.setFont(font) 
     519        self.widget_4.setObjectName("widget_4") 
     520        self.horizontalLayout_12 = QtGui.QHBoxLayout(self.widget_4) 
     521        self.horizontalLayout_12.setObjectName("horizontalLayout_12") 
     522        self.label_7 = QtGui.QLabel(self.widget_4) 
     523        self.label_7.setMinimumSize(QtCore.QSize(200, 0)) 
     524        self.label_7.setMaximumSize(QtCore.QSize(200, 16777215)) 
     525        font = QtGui.QFont() 
     526        font.setFamily("Tahoma") 
     527        font.setPointSize(8) 
     528        self.label_7.setFont(font) 
     529        self.label_7.setObjectName("label_7") 
     530        self.horizontalLayout_12.addWidget(self.label_7) 
     531        spacerItem13 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 
     532        self.horizontalLayout_12.addItem(spacerItem13) 
     533        self.fishery_yrs_exp = QtGui.QLineEdit(self.widget_4) 
     534        self.fishery_yrs_exp.setMinimumSize(QtCore.QSize(40, 0)) 
     535        self.fishery_yrs_exp.setMaximumSize(QtCore.QSize(40, 16777215)) 
     536        font = QtGui.QFont() 
     537        font.setFamily("Tahoma") 
     538        font.setPointSize(8) 
     539        self.fishery_yrs_exp.setFont(font) 
     540        self.fishery_yrs_exp.setObjectName("fishery_yrs_exp") 
     541        self.horizontalLayout_12.addWidget(self.fishery_yrs_exp) 
     542        self.horizontalLayout_11.addWidget(self.widget_4) 
     543        self.verticalLayout.addLayout(self.horizontalLayout_11) 
     544        self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1) 
    500545 
    501546        self.retranslateUi(SelectFishery) 
    502547        QtCore.QMetaObject.connectSlotsByName(SelectFishery) 
    503548        SelectFishery.setTabOrder(self.fishery_comboBox, self.fishery_vessel_name) 
    504         SelectFishery.setTabOrder(self.fishery_vessel_name, self.fishery_vessel_length) 
     549        SelectFishery.setTabOrder(self.fishery_vessel_name, self.fishery_start_year) 
     550        SelectFishery.setTabOrder(self.fishery_start_year, self.fishery_end_year) 
     551        SelectFishery.setTabOrder(self.fishery_end_year, self.fishery_vessel_length) 
    505552        SelectFishery.setTabOrder(self.fishery_vessel_length, self.fishery_perc_income) 
    506         SelectFishery.setTabOrder(self.fishery_perc_income, self.fishery_start_year) 
    507         SelectFishery.setTabOrder(self.fishery_start_year, self.fishery_end_year) 
    508         SelectFishery.setTabOrder(self.fishery_end_year, self.fishery_yrs_exp) 
     553        SelectFishery.setTabOrder(self.fishery_perc_income, self.fishery_yrs_exp) 
    509554        SelectFishery.setTabOrder(self.fishery_yrs_exp, self.fishery_effort_month_per_year) 
    510555        SelectFishery.setTabOrder(self.fishery_effort_month_per_year, self.fishery_effort_days) 
    511556        SelectFishery.setTabOrder(self.fishery_effort_days, self.fishery_traps_hooks) 
    512         SelectFishery.setTabOrder(self.fishery_traps_hooks, self.fishery_avg_price_per_pound
    513         SelectFishery.setTabOrder(self.fishery_avg_price_per_pound, self.fishery_avg_pounds_per_trip
    514         SelectFishery.setTabOrder(self.fishery_avg_pounds_per_trip, self.fishery_hist_avg_price) 
     557        SelectFishery.setTabOrder(self.fishery_traps_hooks, self.fishery_avg_pounds_per_trip
     558        SelectFishery.setTabOrder(self.fishery_avg_pounds_per_trip, self.fishery_avg_price_per_pound
     559        SelectFishery.setTabOrder(self.fishery_avg_price_per_pound, self.fishery_hist_avg_price) 
    515560        SelectFishery.setTabOrder(self.fishery_hist_avg_price, self.pbnStartShapes) 
    516561        SelectFishery.setTabOrder(self.pbnStartShapes, self.pbnFisheryFinished) 
     
    518563    def retranslateUi(self, SelectFishery): 
    519564        SelectFishery.setWindowTitle(QtGui.QApplication.translate("SelectFishery", "OpenOceanMap - Select Fishery", None, QtGui.QApplication.UnicodeUTF8)) 
    520         self.fishery_text.setText(QtGui.QApplication.translate("SelectFishery", "Select Fishery:", None, QtGui.QApplication.UnicodeUTF8)) 
     565        self.label_11.setText(QtGui.QApplication.translate("SelectFishery", "Month per year of fishing effort:", None, QtGui.QApplication.UnicodeUTF8)) 
     566        self.label_12.setText(QtGui.QApplication.translate("SelectFishery", "Days per week in these months:", None, QtGui.QApplication.UnicodeUTF8)) 
     567        self.label_10.setToolTip(QtGui.QApplication.translate("SelectFishery", "Specify # & type", None, QtGui.QApplication.UnicodeUTF8)) 
     568        self.label_10.setText(QtGui.QApplication.translate("SelectFishery", "Num traps/hooks/tows/sets used per trip:", None, QtGui.QApplication.UnicodeUTF8)) 
     569        self.fishery_traps_hooks.setToolTip(QtGui.QApplication.translate("SelectFishery", "Specify # & type", None, QtGui.QApplication.UnicodeUTF8)) 
     570        self.label_13.setText(QtGui.QApplication.translate("SelectFishery", "Average pounds per trip:", None, QtGui.QApplication.UnicodeUTF8)) 
     571        self.label_8.setText(QtGui.QApplication.translate("SelectFishery", "Average price per pound:", None, QtGui.QApplication.UnicodeUTF8)) 
     572        self.label.setText(QtGui.QApplication.translate("SelectFishery", "Historic price:", None, QtGui.QApplication.UnicodeUTF8)) 
     573        self.pbnStartShapes.setText(QtGui.QApplication.translate("SelectFishery", "Start Drawing Shapes", None, QtGui.QApplication.UnicodeUTF8)) 
     574        self.pbnFisheryFinished.setText(QtGui.QApplication.translate("SelectFishery", "Finished With Interview", None, QtGui.QApplication.UnicodeUTF8)) 
     575        self.fishery_text.setText(QtGui.QApplication.translate("SelectFishery", "Select Fishery *:", None, QtGui.QApplication.UnicodeUTF8)) 
     576        self.fishery_comboBox.setToolTip(QtGui.QApplication.translate("SelectFishery", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
    521577        self.fishery_comboBox.setItemText(1, QtGui.QApplication.translate("SelectFishery", "Clam", None, QtGui.QApplication.UnicodeUTF8)) 
    522578        self.fishery_comboBox.setItemText(2, QtGui.QApplication.translate("SelectFishery", "Cod", None, QtGui.QApplication.UnicodeUTF8)) 
     
    532588        self.fishery_comboBox.setItemText(12, QtGui.QApplication.translate("SelectFishery", "Octopus", None, QtGui.QApplication.UnicodeUTF8)) 
    533589        self.fishery_comboBox.setItemText(13, QtGui.QApplication.translate("SelectFishery", "Prawn", None, QtGui.QApplication.UnicodeUTF8)) 
    534         self.fishery_comboBox.setItemText(14, QtGui.QApplication.translate("SelectFishery", "Red Urchin", None, QtGui.QApplication.UnicodeUTF8)) 
    535         self.fishery_comboBox.setItemText(15, QtGui.QApplication.translate("SelectFishery", "Rockfish", None, QtGui.QApplication.UnicodeUTF8)) 
    536         self.fishery_comboBox.setItemText(16, QtGui.QApplication.translate("SelectFishery", "Sablefish", None, QtGui.QApplication.UnicodeUTF8)) 
    537         self.fishery_comboBox.setItemText(17, QtGui.QApplication.translate("SelectFishery", "Salmon Gillnet", None, QtGui.QApplication.UnicodeUTF8)) 
    538         self.fishery_comboBox.setItemText(18, QtGui.QApplication.translate("SelectFishery", "Salmon Seine", None, QtGui.QApplication.UnicodeUTF8)) 
    539         self.fishery_comboBox.setItemText(19, QtGui.QApplication.translate("SelectFishery", "Salmon Troll", None, QtGui.QApplication.UnicodeUTF8)) 
    540         self.fishery_comboBox.setItemText(20, QtGui.QApplication.translate("SelectFishery", "Sardine", None, QtGui.QApplication.UnicodeUTF8)) 
    541         self.fishery_comboBox.setItemText(21, QtGui.QApplication.translate("SelectFishery", "Scallop", None, QtGui.QApplication.UnicodeUTF8)) 
    542         self.fishery_comboBox.setItemText(22, QtGui.QApplication.translate("SelectFishery", "Seaweed", None, QtGui.QApplication.UnicodeUTF8)) 
    543         self.fishery_comboBox.setItemText(23, QtGui.QApplication.translate("SelectFishery", "Shrimp Trap", None, QtGui.QApplication.UnicodeUTF8)) 
    544         self.fishery_comboBox.setItemText(24, QtGui.QApplication.translate("SelectFishery", "Shrimp Trawl", None, QtGui.QApplication.UnicodeUTF8)) 
    545         self.fishery_comboBox.setItemText(25, QtGui.QApplication.translate("SelectFishery", "Tuna", None, QtGui.QApplication.UnicodeUTF8)) 
    546         self.fishery_comboBox.setItemText(26, QtGui.QApplication.translate("SelectFishery", "Other", None, QtGui.QApplication.UnicodeUTF8)) 
    547         self.label_14.setText(QtGui.QApplication.translate("SelectFishery", "Fish Vessel name:", None, QtGui.QApplication.UnicodeUTF8)) 
     590        self.fishery_comboBox.setItemText(14, QtGui.QApplication.translate("SelectFishery", "Protected Areas", None, QtGui.QApplication.UnicodeUTF8)) 
     591        self.fishery_comboBox.setItemText(15, QtGui.QApplication.translate("SelectFishery", "Red Urchin", None, QtGui.QApplication.UnicodeUTF8)) 
     592        self.fishery_comboBox.setItemText(16, QtGui.QApplication.translate("SelectFishery", "Rockfish", None, QtGui.QApplication.UnicodeUTF8)) 
     593        self.fishery_comboBox.setItemText(17, QtGui.QApplication.translate("SelectFishery", "Sablefish", None, QtGui.QApplication.UnicodeUTF8)) 
     594        self.fishery_comboBox.setItemText(18, QtGui.QApplication.translate("SelectFishery", "Salmon Gillnet", None, QtGui.QApplication.UnicodeUTF8)) 
     595        self.fishery_comboBox.setItemText(19, QtGui.QApplication.translate("SelectFishery", "Salmon Seine", None, QtGui.QApplication.UnicodeUTF8)) 
     596        self.fishery_comboBox.setItemText(20, QtGui.QApplication.translate("SelectFishery", "Salmon Troll", None, QtGui.QApplication.UnicodeUTF8)) 
     597        self.fishery_comboBox.setItemText(21, QtGui.QApplication.translate("SelectFishery", "Sardine", None, QtGui.QApplication.UnicodeUTF8)) 
     598        self.fishery_comboBox.setItemText(22, QtGui.QApplication.translate("SelectFishery", "Scallop", None, QtGui.QApplication.UnicodeUTF8)) 
     599        self.fishery_comboBox.setItemText(23, QtGui.QApplication.translate("SelectFishery", "Seaweed", None, QtGui.QApplication.UnicodeUTF8)) 
     600        self.fishery_comboBox.setItemText(24, QtGui.QApplication.translate("SelectFishery", "Shrimp Trap", None, QtGui.QApplication.UnicodeUTF8)) 
     601        self.fishery_comboBox.setItemText(25, QtGui.QApplication.translate("SelectFishery", "Shrimp Trawl", None, QtGui.QApplication.UnicodeUTF8)) 
     602        self.fishery_comboBox.setItemText(26, QtGui.QApplication.translate("SelectFishery", "Tuna", None, QtGui.QApplication.UnicodeUTF8)) 
     603        self.fishery_comboBox.setItemText(27, QtGui.QApplication.translate("SelectFishery", "Other", None, QtGui.QApplication.UnicodeUTF8)) 
     604        self.label_14.setText(QtGui.QApplication.translate("SelectFishery", "Fish Vessel name (for crew interview add \'crew\') *:", None, QtGui.QApplication.UnicodeUTF8)) 
     605        self.label_5.setText(QtGui.QApplication.translate("SelectFishery", "Fishery Start Year *:", None, QtGui.QApplication.UnicodeUTF8)) 
     606        self.fishery_start_year.setToolTip(QtGui.QApplication.translate("SelectFishery", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
     607        self.label_4.setText(QtGui.QApplication.translate("SelectFishery", "Fishery End Year *:", None, QtGui.QApplication.UnicodeUTF8)) 
     608        self.fishery_end_year.setToolTip(QtGui.QApplication.translate("SelectFishery", "Required Field", None, QtGui.QApplication.UnicodeUTF8)) 
    548609        self.label_15.setText(QtGui.QApplication.translate("SelectFishery", "Length of Vessel (ft):", None, QtGui.QApplication.UnicodeUTF8)) 
    549         self.label_9.setText(QtGui.QApplication.translate("SelectFishery", "Percent income:", None, QtGui.QApplication.UnicodeUTF8)) 
    550         self.label_5.setText(QtGui.QApplication.translate("SelectFishery", "Fishery Start Year:", None, QtGui.QApplication.UnicodeUTF8)) 
    551         self.label_4.setText(QtGui.QApplication.translate("SelectFishery", "Fishery End Year:", None, QtGui.QApplication.UnicodeUTF8)) 
    552         self.label_7.setText(QtGui.QApplication.translate("SelectFishery", "Years experience in fishery:", None, QtGui.QApplication.UnicodeUTF8)) 
    553         self.label_11.setText(QtGui.QApplication.translate("SelectFishery", "Month per year of fishing effort:", None, QtGui.QApplication.UnicodeUTF8)) 
    554         self.label_12.setText(QtGui.QApplication.translate("SelectFishery", "Days per week in these months:", None, QtGui.QApplication.UnicodeUTF8)) 
    555         self.label_10.setText(QtGui.QApplication.translate("SelectFishery", "Num traps/hooks/tows/sets used per trip:", None, QtGui.QApplication.UnicodeUTF8)) 
    556         self.label_13.setText(QtGui.QApplication.translate("SelectFishery", "Average pounds per trip:", None, QtGui.QApplication.UnicodeUTF8)) 
    557         self.label_8.setText(QtGui.QApplication.translate("SelectFishery", "Average price per pound:", None, QtGui.QApplication.UnicodeUTF8)) 
    558         self.label.setText(QtGui.QApplication.translate("SelectFishery", "Historic average price:", None, QtGui.QApplication.UnicodeUTF8)) 
    559         self.pbnStartShapes.setText(QtGui.QApplication.translate("SelectFishery", "Start Drawing Shapes", None, QtGui.QApplication.UnicodeUTF8)) 
    560         self.pbnFisheryFinished.setText(QtGui.QApplication.translate("SelectFishery", "Finished With Interview", None, QtGui.QApplication.UnicodeUTF8)) 
     610        self.label_9.setText(QtGui.QApplication.translate("SelectFishery", "Percent of income for this fishery:", None, QtGui.QApplication.UnicodeUTF8)) 
     611        self.label_7.setText(QtGui.QApplication.translate("SelectFishery", "Years experience in this fishery:", None, QtGui.QApplication.UnicodeUTF8)) 
    561612