Changeset 7d353af in sasview


Ignore:
Timestamp:
Sep 29, 2017 3:41:07 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
170e95d, fca1f50
Parents:
fc4fec8
Message:

Minor sizing corrections to the widgets SASVIEW-250

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/UI/ResolutionCalculatorPanelUI.ui

    rfc4fec8 r7d353af  
    1010    <x>0</x> 
    1111    <y>0</y> 
    12     <width>1034</width> 
    13     <height>561</height> 
     12    <width>800</width> 
     13    <height>550</height> 
    1414   </rect> 
     15  </property> 
     16  <property name="sizePolicy"> 
     17   <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> 
     18    <horstretch>0</horstretch> 
     19    <verstretch>0</verstretch> 
     20   </sizepolicy> 
    1521  </property> 
    1622  <property name="minimumSize"> 
     
    5157     <property name="minimumSize"> 
    5258      <size> 
    53        <width>430</width> 
    54        <height>430</height> 
     59       <width>350</width> 
     60       <height>400</height> 
    5561      </size> 
    5662     </property> 
     
    516522      <string>Instrumental Parameters</string> 
    517523     </property> 
    518      <layout class="QFormLayout" name="formLayout"> 
    519       <property name="fieldGrowthPolicy"> 
    520        <enum>QFormLayout::FieldsStayAtSizeHint</enum> 
    521       </property> 
    522       <property name="margin"> 
    523        <number>6</number> 
    524       </property> 
    525       <item row="0" column="0" colspan="2"> 
     524     <layout class="QGridLayout" name="gridLayout_7"> 
     525      <item row="0" column="0"> 
    526526       <layout class="QGridLayout" name="gridLayout_5"> 
    527         <property name="leftMargin"> 
    528          <number>1</number> 
    529         </property> 
    530         <property name="topMargin"> 
    531          <number>1</number> 
    532         </property> 
    533         <property name="rightMargin"> 
    534          <number>1</number> 
    535         </property> 
    536         <property name="bottomMargin"> 
    537          <number>3</number> 
    538         </property> 
    539         <property name="verticalSpacing"> 
    540          <number>-1</number> 
    541         </property> 
    542527        <item row="0" column="0"> 
    543528         <widget class="QLabel" name="label_26"> 
     
    596581         <widget class="QComboBox" name="cbWaveColor"> 
    597582          <property name="sizePolicy"> 
    598            <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 
     583           <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 
    599584            <horstretch>0</horstretch> 
    600585            <verstretch>0</verstretch> 
     
    603588          <property name="minimumSize"> 
    604589           <size> 
    605             <width>127</width> 
     590            <width>100</width> 
    606591            <height>26</height> 
    607592           </size> 
     
    619604         </widget> 
    620605        </item> 
    621         <item row="1" column="0"> 
    622          <widget class="QLabel" name="label_27"> 
    623           <property name="text"> 
    624            <string>Wavelength:</string> 
    625           </property> 
    626          </widget> 
    627         </item> 
    628606        <item row="1" column="1"> 
    629607         <widget class="QLabel" name="lblSpectrum"> 
     
    648626         <widget class="QComboBox" name="cbCustomSpectrum"> 
    649627          <property name="sizePolicy"> 
    650            <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 
     628           <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 
    651629            <horstretch>0</horstretch> 
    652630            <verstretch>0</verstretch> 
     
    655633          <property name="minimumSize"> 
    656634           <size> 
    657             <width>130</width> 
     635            <width>100</width> 
    658636            <height>26</height> 
    659637           </size> 
     
    674652         </widget> 
    675653        </item> 
    676         <item row="1" column="3"> 
    677          <widget class="QLineEdit" name="txtWavelength"> 
    678           <property name="sizePolicy"> 
    679            <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 
    680             <horstretch>0</horstretch> 
    681             <verstretch>0</verstretch> 
    682            </sizepolicy> 
    683           </property> 
    684           <property name="minimumSize"> 
    685            <size> 
    686             <width>75</width> 
    687             <height>20</height> 
    688            </size> 
    689           </property> 
    690           <property name="baseSize"> 
    691            <size> 
    692             <width>100</width> 
    693             <height>20</height> 
    694            </size> 
    695           </property> 
    696           <property name="focusPolicy"> 
    697            <enum>Qt::StrongFocus</enum> 
    698           </property> 
    699           <property name="toolTip"> 
    700            <string>Wavelength of the Neutrons.</string> 
    701           </property> 
    702           <property name="text"> 
    703            <string>6.0</string> 
    704           </property> 
    705           <property name="echoMode"> 
    706            <enum>QLineEdit::Normal</enum> 
    707           </property> 
    708          </widget> 
    709         </item> 
    710         <item row="1" column="4"> 
    711          <widget class="QLabel" name="lblUnitWavelength"> 
    712           <property name="minimumSize"> 
    713            <size> 
    714             <width>18</width> 
    715             <height>21</height> 
    716            </size> 
    717           </property> 
    718           <property name="text"> 
    719            <string>à
     654       </layout> 
     655      </item> 
     656      <item row="1" column="0"> 
     657       <widget class="QLabel" name="label_27"> 
     658        <property name="text"> 
     659         <string>Wavelength:</string> 
     660        </property> 
     661       </widget> 
     662      </item> 
     663      <item row="1" column="1"> 
     664       <widget class="QLineEdit" name="txtWavelength"> 
     665        <property name="sizePolicy"> 
     666         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 
     667          <horstretch>0</horstretch> 
     668          <verstretch>0</verstretch> 
     669         </sizepolicy> 
     670        </property> 
     671        <property name="minimumSize"> 
     672         <size> 
     673          <width>75</width> 
     674          <height>20</height> 
     675         </size> 
     676        </property> 
     677        <property name="baseSize"> 
     678         <size> 
     679          <width>100</width> 
     680          <height>20</height> 
     681         </size> 
     682        </property> 
     683        <property name="focusPolicy"> 
     684         <enum>Qt::StrongFocus</enum> 
     685        </property> 
     686        <property name="toolTip"> 
     687         <string>Wavelength of the Neutrons.</string> 
     688        </property> 
     689        <property name="text"> 
     690         <string>6.0</string> 
     691        </property> 
     692        <property name="echoMode"> 
     693         <enum>QLineEdit::Normal</enum> 
     694        </property> 
     695       </widget> 
     696      </item> 
     697      <item row="1" column="2"> 
     698       <widget class="QLabel" name="lblUnitWavelength"> 
     699        <property name="minimumSize"> 
     700         <size> 
     701          <width>18</width> 
     702          <height>21</height> 
     703         </size> 
     704        </property> 
     705        <property name="text"> 
     706         <string>à
    720707</string> 
    721           </property> 
    722          </widget> 
    723         </item> 
    724         <item row="2" column="0" colspan="2"> 
    725          <widget class="QLabel" name="label_28"> 
    726           <property name="text"> 
    727            <string>Wavelength Spread:</string> 
    728           </property> 
    729          </widget> 
    730         </item> 
    731         <item row="2" column="3"> 
    732          <widget class="QLineEdit" name="txtWavelengthSpread"> 
    733           <property name="minimumSize"> 
    734            <size> 
    735             <width>75</width> 
    736             <height>20</height> 
    737            </size> 
    738           </property> 
    739           <property name="baseSize"> 
    740            <size> 
    741             <width>100</width> 
    742             <height>20</height> 
    743            </size> 
    744           </property> 
    745           <property name="focusPolicy"> 
    746            <enum>Qt::StrongFocus</enum> 
    747           </property> 
    748           <property name="toolTip"> 
    749            <string>Wavelength Spread of Neutrons.</string> 
    750           </property> 
    751           <property name="text"> 
    752            <string>0.125</string> 
    753           </property> 
    754          </widget> 
    755         </item> 
    756         <item row="3" column="0" colspan="2"> 
    757          <widget class="QLabel" name="label_29"> 
    758           <property name="text"> 
    759            <string>Source Aperture Size:</string> 
    760           </property> 
    761          </widget> 
    762         </item> 
    763         <item row="3" column="3"> 
    764          <widget class="QLineEdit" name="txtSourceApertureSize"> 
    765           <property name="sizePolicy"> 
    766            <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 
    767             <horstretch>0</horstretch> 
    768             <verstretch>0</verstretch> 
    769            </sizepolicy> 
    770           </property> 
    771           <property name="minimumSize"> 
    772            <size> 
    773             <width>75</width> 
    774             <height>20</height> 
    775            </size> 
    776           </property> 
    777           <property name="baseSize"> 
    778            <size> 
    779             <width>100</width> 
    780             <height>20</height> 
    781            </size> 
    782           </property> 
    783           <property name="focusPolicy"> 
    784            <enum>Qt::StrongFocus</enum> 
    785           </property> 
    786           <property name="toolTip"> 
    787            <string>Source Aperture Size.</string> 
    788           </property> 
    789           <property name="text"> 
    790            <string>3.81</string> 
    791           </property> 
    792          </widget> 
    793         </item> 
    794         <item row="3" column="4"> 
    795          <widget class="QLabel" name="label_39"> 
    796           <property name="minimumSize"> 
    797            <size> 
    798             <width>18</width> 
    799             <height>21</height> 
    800            </size> 
    801           </property> 
    802           <property name="text"> 
    803            <string>cm</string> 
    804           </property> 
    805          </widget> 
    806         </item> 
    807         <item row="4" column="0" colspan="2"> 
    808          <widget class="QLabel" name="label_30"> 
    809           <property name="text"> 
    810            <string>Sample Aperture Size:</string> 
    811           </property> 
    812          </widget> 
    813         </item> 
    814         <item row="4" column="3"> 
    815          <widget class="QLineEdit" name="txtSampleApertureSize"> 
    816           <property name="sizePolicy"> 
    817            <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 
    818             <horstretch>0</horstretch> 
    819             <verstretch>0</verstretch> 
    820            </sizepolicy> 
    821           </property> 
    822           <property name="minimumSize"> 
    823            <size> 
    824             <width>75</width> 
    825             <height>23</height> 
    826            </size> 
    827           </property> 
    828           <property name="baseSize"> 
    829            <size> 
    830             <width>100</width> 
    831             <height>20</height> 
    832            </size> 
    833           </property> 
    834           <property name="focusPolicy"> 
    835            <enum>Qt::StrongFocus</enum> 
    836           </property> 
    837           <property name="toolTip"> 
    838            <string>Sample Aperture Size.</string> 
    839           </property> 
    840           <property name="text"> 
    841            <string>1.27</string> 
    842           </property> 
    843          </widget> 
    844         </item> 
    845         <item row="4" column="4"> 
    846          <widget class="QLabel" name="label_40"> 
    847           <property name="sizePolicy"> 
    848            <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 
    849             <horstretch>0</horstretch> 
    850             <verstretch>0</verstretch> 
    851            </sizepolicy> 
    852           </property> 
    853           <property name="minimumSize"> 
    854            <size> 
    855             <width>18</width> 
    856             <height>21</height> 
    857            </size> 
    858           </property> 
    859           <property name="text"> 
    860            <string>cm</string> 
    861           </property> 
    862          </widget> 
    863         </item> 
    864         <item row="5" column="0" colspan="3"> 
    865          <widget class="QLabel" name="label_31"> 
    866           <property name="text"> 
    867            <string>Source to Sample Aperture Distance:</string> 
    868           </property> 
    869          </widget> 
    870         </item> 
    871         <item row="5" column="3"> 
    872          <widget class="QLineEdit" name="txtSource2SampleDistance"> 
    873           <property name="sizePolicy"> 
    874            <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 
    875             <horstretch>0</horstretch> 
    876             <verstretch>0</verstretch> 
    877            </sizepolicy> 
    878           </property> 
    879           <property name="minimumSize"> 
    880            <size> 
    881             <width>75</width> 
    882             <height>20</height> 
    883            </size> 
    884           </property> 
    885           <property name="baseSize"> 
    886            <size> 
    887             <width>100</width> 
    888             <height>20</height> 
    889            </size> 
    890           </property> 
    891           <property name="focusPolicy"> 
    892            <enum>Qt::StrongFocus</enum> 
    893           </property> 
    894           <property name="toolTip"> 
    895            <string>Source to Sample Aperture Distance.</string> 
    896           </property> 
    897           <property name="text"> 
    898            <string>1627</string> 
    899           </property> 
    900          </widget> 
    901         </item> 
    902         <item row="5" column="4"> 
    903          <widget class="QLabel" name="label_41"> 
    904           <property name="minimumSize"> 
    905            <size> 
    906             <width>18</width> 
    907             <height>21</height> 
    908            </size> 
    909           </property> 
    910           <property name="text"> 
    911            <string>cm</string> 
    912           </property> 
    913          </widget> 
    914         </item> 
    915         <item row="6" column="0" colspan="3"> 
    916          <widget class="QLabel" name="label_32"> 
    917           <property name="text"> 
    918            <string>Sample Aperture to Detector Distance:</string> 
    919           </property> 
    920          </widget> 
    921         </item> 
    922         <item row="6" column="3"> 
    923          <widget class="QLineEdit" name="txtSample2DetectorDistance"> 
    924           <property name="minimumSize"> 
    925            <size> 
    926             <width>75</width> 
    927             <height>20</height> 
    928            </size> 
    929           </property> 
    930           <property name="baseSize"> 
    931            <size> 
    932             <width>100</width> 
    933             <height>20</height> 
    934            </size> 
    935           </property> 
    936           <property name="toolTip"> 
    937            <string>Sample Aperture to Detector Distance.</string> 
    938           </property> 
    939           <property name="text"> 
    940            <string>1000</string> 
    941           </property> 
    942          </widget> 
    943         </item> 
    944         <item row="6" column="4"> 
    945          <widget class="QLabel" name="label_42"> 
    946           <property name="minimumSize"> 
    947            <size> 
    948             <width>18</width> 
    949             <height>21</height> 
    950            </size> 
    951           </property> 
    952           <property name="text"> 
    953            <string>cm</string> 
    954           </property> 
    955          </widget> 
    956         </item> 
    957         <item row="7" column="0"> 
    958          <widget class="QLabel" name="label_33"> 
    959           <property name="text"> 
    960            <string>Sample Offset:</string> 
    961           </property> 
    962          </widget> 
    963         </item> 
    964         <item row="7" column="3"> 
    965          <widget class="QLineEdit" name="txtSampleOffset"> 
    966           <property name="minimumSize"> 
    967            <size> 
    968             <width>75</width> 
    969             <height>20</height> 
    970            </size> 
    971           </property> 
    972           <property name="baseSize"> 
    973            <size> 
    974             <width>100</width> 
    975             <height>20</height> 
    976            </size> 
    977           </property> 
    978           <property name="toolTip"> 
    979            <string>Sample Offset.</string> 
    980           </property> 
    981           <property name="text"> 
    982            <string>0</string> 
    983           </property> 
    984          </widget> 
    985         </item> 
    986         <item row="7" column="4"> 
    987          <widget class="QLabel" name="label_43"> 
    988           <property name="minimumSize"> 
    989            <size> 
    990             <width>18</width> 
    991             <height>21</height> 
    992            </size> 
    993           </property> 
    994           <property name="text"> 
    995            <string>cm</string> 
    996           </property> 
    997          </widget> 
    998         </item> 
    999         <item row="8" column="0" colspan="2"> 
    1000          <widget class="QLabel" name="label_34"> 
    1001           <property name="text"> 
    1002            <string>Number of Pixels on Detector:</string> 
    1003           </property> 
    1004          </widget> 
    1005         </item> 
    1006         <item row="8" column="3"> 
    1007          <widget class="QLineEdit" name="txtDetectorSize"> 
    1008           <property name="minimumSize"> 
    1009            <size> 
    1010             <width>75</width> 
    1011             <height>20</height> 
    1012            </size> 
    1013           </property> 
    1014           <property name="baseSize"> 
    1015            <size> 
    1016             <width>100</width> 
    1017             <height>20</height> 
    1018            </size> 
    1019           </property> 
    1020           <property name="toolTip"> 
    1021            <string>Number of Pixels on Detector.</string> 
    1022           </property> 
    1023           <property name="text"> 
    1024            <string>128, 128</string> 
    1025           </property> 
    1026          </widget> 
    1027         </item> 
    1028         <item row="9" column="0" colspan="2"> 
    1029          <widget class="QLabel" name="label_35"> 
    1030           <property name="text"> 
    1031            <string>Detector Pixel Size:</string> 
    1032           </property> 
    1033          </widget> 
    1034         </item> 
    1035         <item row="9" column="3"> 
    1036          <widget class="QLineEdit" name="txtDetectorPixSize"> 
    1037           <property name="minimumSize"> 
    1038            <size> 
    1039             <width>75</width> 
    1040             <height>20</height> 
    1041            </size> 
    1042           </property> 
    1043           <property name="baseSize"> 
    1044            <size> 
    1045             <width>100</width> 
    1046             <height>20</height> 
    1047            </size> 
    1048           </property> 
    1049           <property name="toolTip"> 
    1050            <string>Detector Pixel Size.</string> 
    1051           </property> 
    1052           <property name="text"> 
    1053            <string>0.5, 0.5</string> 
    1054           </property> 
    1055          </widget> 
    1056         </item> 
    1057         <item row="9" column="4"> 
    1058          <widget class="QLabel" name="label_45"> 
    1059           <property name="minimumSize"> 
    1060            <size> 
    1061             <width>18</width> 
    1062             <height>21</height> 
    1063            </size> 
    1064           </property> 
    1065           <property name="text"> 
    1066            <string>cm</string> 
    1067           </property> 
    1068          </widget> 
    1069         </item> 
    1070        </layout> 
     708        </property> 
     709       </widget> 
     710      </item> 
     711      <item row="2" column="0"> 
     712       <widget class="QLabel" name="label_28"> 
     713        <property name="text"> 
     714         <string>Wavelength Spread:</string> 
     715        </property> 
     716       </widget> 
     717      </item> 
     718      <item row="2" column="1"> 
     719       <widget class="QLineEdit" name="txtWavelengthSpread"> 
     720        <property name="minimumSize"> 
     721         <size> 
     722          <width>75</width> 
     723          <height>20</height> 
     724         </size> 
     725        </property> 
     726        <property name="baseSize"> 
     727         <size> 
     728          <width>100</width> 
     729          <height>20</height> 
     730         </size> 
     731        </property> 
     732        <property name="focusPolicy"> 
     733         <enum>Qt::StrongFocus</enum> 
     734        </property> 
     735        <property name="toolTip"> 
     736         <string>Wavelength Spread of Neutrons.</string> 
     737        </property> 
     738        <property name="text"> 
     739         <string>0.125</string> 
     740        </property> 
     741       </widget> 
     742      </item> 
     743      <item row="3" column="0"> 
     744       <widget class="QLabel" name="label_29"> 
     745        <property name="text"> 
     746         <string>Source Aperture Size:</string> 
     747        </property> 
     748       </widget> 
     749      </item> 
     750      <item row="3" column="1"> 
     751       <widget class="QLineEdit" name="txtSourceApertureSize"> 
     752        <property name="sizePolicy"> 
     753         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 
     754          <horstretch>0</horstretch> 
     755          <verstretch>0</verstretch> 
     756         </sizepolicy> 
     757        </property> 
     758        <property name="minimumSize"> 
     759         <size> 
     760          <width>75</width> 
     761          <height>20</height> 
     762         </size> 
     763        </property> 
     764        <property name="baseSize"> 
     765         <size> 
     766          <width>100</width> 
     767          <height>20</height> 
     768         </size> 
     769        </property> 
     770        <property name="focusPolicy"> 
     771         <enum>Qt::StrongFocus</enum> 
     772        </property> 
     773        <property name="toolTip"> 
     774         <string>Source Aperture Size.</string> 
     775        </property> 
     776        <property name="text"> 
     777         <string>3.81</string> 
     778        </property> 
     779       </widget> 
     780      </item> 
     781      <item row="3" column="2"> 
     782       <widget class="QLabel" name="label_39"> 
     783        <property name="minimumSize"> 
     784         <size> 
     785          <width>18</width> 
     786          <height>21</height> 
     787         </size> 
     788        </property> 
     789        <property name="text"> 
     790         <string>cm</string> 
     791        </property> 
     792       </widget> 
     793      </item> 
     794      <item row="4" column="0"> 
     795       <widget class="QLabel" name="label_30"> 
     796        <property name="text"> 
     797         <string>Sample Aperture Size:</string> 
     798        </property> 
     799       </widget> 
     800      </item> 
     801      <item row="4" column="1"> 
     802       <widget class="QLineEdit" name="txtSampleApertureSize"> 
     803        <property name="sizePolicy"> 
     804         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 
     805          <horstretch>0</horstretch> 
     806          <verstretch>0</verstretch> 
     807         </sizepolicy> 
     808        </property> 
     809        <property name="minimumSize"> 
     810         <size> 
     811          <width>75</width> 
     812          <height>23</height> 
     813         </size> 
     814        </property> 
     815        <property name="baseSize"> 
     816         <size> 
     817          <width>100</width> 
     818          <height>20</height> 
     819         </size> 
     820        </property> 
     821        <property name="focusPolicy"> 
     822         <enum>Qt::StrongFocus</enum> 
     823        </property> 
     824        <property name="toolTip"> 
     825         <string>Sample Aperture Size.</string> 
     826        </property> 
     827        <property name="text"> 
     828         <string>1.27</string> 
     829        </property> 
     830       </widget> 
     831      </item> 
     832      <item row="4" column="2"> 
     833       <widget class="QLabel" name="label_40"> 
     834        <property name="sizePolicy"> 
     835         <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 
     836          <horstretch>0</horstretch> 
     837          <verstretch>0</verstretch> 
     838         </sizepolicy> 
     839        </property> 
     840        <property name="minimumSize"> 
     841         <size> 
     842          <width>18</width> 
     843          <height>21</height> 
     844         </size> 
     845        </property> 
     846        <property name="text"> 
     847         <string>cm</string> 
     848        </property> 
     849       </widget> 
     850      </item> 
     851      <item row="5" column="0"> 
     852       <widget class="QLabel" name="label_31"> 
     853        <property name="text"> 
     854         <string>Source to Sample Aperture Distance:</string> 
     855        </property> 
     856       </widget> 
     857      </item> 
     858      <item row="5" column="1"> 
     859       <widget class="QLineEdit" name="txtSource2SampleDistance"> 
     860        <property name="sizePolicy"> 
     861         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 
     862          <horstretch>0</horstretch> 
     863          <verstretch>0</verstretch> 
     864         </sizepolicy> 
     865        </property> 
     866        <property name="minimumSize"> 
     867         <size> 
     868          <width>75</width> 
     869          <height>20</height> 
     870         </size> 
     871        </property> 
     872        <property name="baseSize"> 
     873         <size> 
     874          <width>100</width> 
     875          <height>20</height> 
     876         </size> 
     877        </property> 
     878        <property name="focusPolicy"> 
     879         <enum>Qt::StrongFocus</enum> 
     880        </property> 
     881        <property name="toolTip"> 
     882         <string>Source to Sample Aperture Distance.</string> 
     883        </property> 
     884        <property name="text"> 
     885         <string>1627</string> 
     886        </property> 
     887       </widget> 
     888      </item> 
     889      <item row="5" column="2"> 
     890       <widget class="QLabel" name="label_41"> 
     891        <property name="minimumSize"> 
     892         <size> 
     893          <width>18</width> 
     894          <height>21</height> 
     895         </size> 
     896        </property> 
     897        <property name="text"> 
     898         <string>cm</string> 
     899        </property> 
     900       </widget> 
     901      </item> 
     902      <item row="6" column="0"> 
     903       <widget class="QLabel" name="label_32"> 
     904        <property name="text"> 
     905         <string>Sample Aperture to Detector Distance:</string> 
     906        </property> 
     907       </widget> 
     908      </item> 
     909      <item row="6" column="1"> 
     910       <widget class="QLineEdit" name="txtSample2DetectorDistance"> 
     911        <property name="minimumSize"> 
     912         <size> 
     913          <width>75</width> 
     914          <height>20</height> 
     915         </size> 
     916        </property> 
     917        <property name="baseSize"> 
     918         <size> 
     919          <width>100</width> 
     920          <height>20</height> 
     921         </size> 
     922        </property> 
     923        <property name="toolTip"> 
     924         <string>Sample Aperture to Detector Distance.</string> 
     925        </property> 
     926        <property name="text"> 
     927         <string>1000</string> 
     928        </property> 
     929       </widget> 
     930      </item> 
     931      <item row="6" column="2"> 
     932       <widget class="QLabel" name="label_42"> 
     933        <property name="minimumSize"> 
     934         <size> 
     935          <width>18</width> 
     936          <height>21</height> 
     937         </size> 
     938        </property> 
     939        <property name="text"> 
     940         <string>cm</string> 
     941        </property> 
     942       </widget> 
     943      </item> 
     944      <item row="7" column="0"> 
     945       <widget class="QLabel" name="label_33"> 
     946        <property name="text"> 
     947         <string>Sample Offset:</string> 
     948        </property> 
     949       </widget> 
     950      </item> 
     951      <item row="7" column="1"> 
     952       <widget class="QLineEdit" name="txtSampleOffset"> 
     953        <property name="minimumSize"> 
     954         <size> 
     955          <width>75</width> 
     956          <height>20</height> 
     957         </size> 
     958        </property> 
     959        <property name="baseSize"> 
     960         <size> 
     961          <width>100</width> 
     962          <height>20</height> 
     963         </size> 
     964        </property> 
     965        <property name="toolTip"> 
     966         <string>Sample Offset.</string> 
     967        </property> 
     968        <property name="text"> 
     969         <string>0</string> 
     970        </property> 
     971       </widget> 
     972      </item> 
     973      <item row="7" column="2"> 
     974       <widget class="QLabel" name="label_43"> 
     975        <property name="minimumSize"> 
     976         <size> 
     977          <width>18</width> 
     978          <height>21</height> 
     979         </size> 
     980        </property> 
     981        <property name="text"> 
     982         <string>cm</string> 
     983        </property> 
     984       </widget> 
     985      </item> 
     986      <item row="8" column="0"> 
     987       <widget class="QLabel" name="label_34"> 
     988        <property name="text"> 
     989         <string>Number of Pixels on Detector:</string> 
     990        </property> 
     991       </widget> 
     992      </item> 
     993      <item row="8" column="1"> 
     994       <widget class="QLineEdit" name="txtDetectorSize"> 
     995        <property name="minimumSize"> 
     996         <size> 
     997          <width>75</width> 
     998          <height>20</height> 
     999         </size> 
     1000        </property> 
     1001        <property name="baseSize"> 
     1002         <size> 
     1003          <width>100</width> 
     1004          <height>20</height> 
     1005         </size> 
     1006        </property> 
     1007        <property name="toolTip"> 
     1008         <string>Number of Pixels on Detector.</string> 
     1009        </property> 
     1010        <property name="text"> 
     1011         <string>128, 128</string> 
     1012        </property> 
     1013       </widget> 
     1014      </item> 
     1015      <item row="9" column="0"> 
     1016       <widget class="QLabel" name="label_35"> 
     1017        <property name="text"> 
     1018         <string>Detector Pixel Size:</string> 
     1019        </property> 
     1020       </widget> 
     1021      </item> 
     1022      <item row="9" column="1"> 
     1023       <widget class="QLineEdit" name="txtDetectorPixSize"> 
     1024        <property name="minimumSize"> 
     1025         <size> 
     1026          <width>75</width> 
     1027          <height>20</height> 
     1028         </size> 
     1029        </property> 
     1030        <property name="baseSize"> 
     1031         <size> 
     1032          <width>100</width> 
     1033          <height>20</height> 
     1034         </size> 
     1035        </property> 
     1036        <property name="toolTip"> 
     1037         <string>Detector Pixel Size.</string> 
     1038        </property> 
     1039        <property name="text"> 
     1040         <string>0.5, 0.5</string> 
     1041        </property> 
     1042       </widget> 
     1043      </item> 
     1044      <item row="9" column="2"> 
     1045       <widget class="QLabel" name="label_45"> 
     1046        <property name="minimumSize"> 
     1047         <size> 
     1048          <width>18</width> 
     1049          <height>21</height> 
     1050         </size> 
     1051        </property> 
     1052        <property name="text"> 
     1053         <string>cm</string> 
     1054        </property> 
     1055       </widget> 
    10711056      </item> 
    10721057     </layout> 
Note: See TracChangeset for help on using the changeset viewer.