celestialbrowserbase.ui
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:10k
源码类别:

OpenGL

开发平台:

Visual C++

  1. <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
  2. <class>CelestialBrowserBase</class>
  3. <widget class="QMainWindow">
  4.     <property name="name">
  5.         <cstring>CelestialBrowserBase</cstring>
  6.     </property>
  7.     <property name="geometry">
  8.         <rect>
  9.             <x>0</x>
  10.             <y>0</y>
  11.             <width>557</width>
  12.             <height>521</height>
  13.         </rect>
  14.     </property>
  15.     <property name="caption">
  16.         <string>Celestial Browser</string>
  17.     </property>
  18.     <grid>
  19.         <property name="name">
  20.             <cstring>unnamed</cstring>
  21.         </property>
  22.         <property name="margin">
  23.             <number>11</number>
  24.         </property>
  25.         <property name="spacing">
  26.             <number>6</number>
  27.         </property>
  28.         <widget class="QButtonGroup" row="0" column="0">
  29.             <property name="name">
  30.                 <cstring>buttonGroup2</cstring>
  31.             </property>
  32.             <property name="frameShape">
  33.                 <enum>NoFrame</enum>
  34.             </property>
  35.             <property name="frameShadow">
  36.                 <enum>Plain</enum>
  37.             </property>
  38.             <property name="lineWidth">
  39.                 <number>0</number>
  40.             </property>
  41.             <property name="title">
  42.                 <string></string>
  43.             </property>
  44.             <grid>
  45.                 <property name="name">
  46.                     <cstring>unnamed</cstring>
  47.                 </property>
  48.                 <property name="margin">
  49.                     <number>0</number>
  50.                 </property>
  51.                 <widget class="KListView" row="0" column="0" rowspan="1" colspan="4">
  52.                     <column>
  53.                         <property name="text">
  54.                             <string>Name</string>
  55.                         </property>
  56.                         <property name="clickable">
  57.                             <bool>true</bool>
  58.                         </property>
  59.                         <property name="resizable">
  60.                             <bool>true</bool>
  61.                         </property>
  62.                     </column>
  63.                     <column>
  64.                         <property name="text">
  65.                             <string>Dist.</string>
  66.                         </property>
  67.                         <property name="clickable">
  68.                             <bool>true</bool>
  69.                         </property>
  70.                         <property name="resizable">
  71.                             <bool>true</bool>
  72.                         </property>
  73.                     </column>
  74.                     <column>
  75.                         <property name="text">
  76.                             <string>App. Mag.</string>
  77.                         </property>
  78.                         <property name="clickable">
  79.                             <bool>true</bool>
  80.                         </property>
  81.                         <property name="resizable">
  82.                             <bool>true</bool>
  83.                         </property>
  84.                     </column>
  85.                     <column>
  86.                         <property name="text">
  87.                             <string>Abs. Mag.</string>
  88.                         </property>
  89.                         <property name="clickable">
  90.                             <bool>true</bool>
  91.                         </property>
  92.                         <property name="resizable">
  93.                             <bool>true</bool>
  94.                         </property>
  95.                     </column>
  96.                     <column>
  97.                         <property name="text">
  98.                             <string>Type</string>
  99.                         </property>
  100.                         <property name="clickable">
  101.                             <bool>true</bool>
  102.                         </property>
  103.                         <property name="resizable">
  104.                             <bool>true</bool>
  105.                         </property>
  106.                     </column>
  107.                     <property name="name">
  108.                         <cstring>listStars</cstring>
  109.                     </property>
  110.                     <property name="resizeMode">
  111.                         <enum>LastColumn</enum>
  112.                     </property>
  113.                 </widget>
  114.                 <spacer row="2" column="2">
  115.                     <property name="name">
  116.                         <cstring>spacer3</cstring>
  117.                     </property>
  118.                     <property name="orientation">
  119.                         <enum>Horizontal</enum>
  120.                     </property>
  121.                     <property name="sizeType">
  122.                         <enum>Expanding</enum>
  123.                     </property>
  124.                     <property name="sizeHint">
  125.                         <size>
  126.                             <width>140</width>
  127.                             <height>21</height>
  128.                         </size>
  129.                     </property>
  130.                 </spacer>
  131.                 <spacer row="1" column="2">
  132.                     <property name="name">
  133.                         <cstring>spacer2</cstring>
  134.                     </property>
  135.                     <property name="orientation">
  136.                         <enum>Horizontal</enum>
  137.                     </property>
  138.                     <property name="sizeType">
  139.                         <enum>Expanding</enum>
  140.                     </property>
  141.                     <property name="sizeHint">
  142.                         <size>
  143.                             <width>140</width>
  144.                             <height>31</height>
  145.                         </size>
  146.                     </property>
  147.                 </spacer>
  148.                 <widget class="QRadioButton" row="2" column="0">
  149.                     <property name="name">
  150.                         <cstring>radioPlanets</cstring>
  151.                     </property>
  152.                     <property name="text">
  153.                         <string>With Planets</string>
  154.                     </property>
  155.                 </widget>
  156.                 <widget class="QRadioButton" row="1" column="1">
  157.                     <property name="name">
  158.                         <cstring>radioBrightest</cstring>
  159.                     </property>
  160.                     <property name="text">
  161.                         <string>Brightest (Abs.)</string>
  162.                     </property>
  163.                 </widget>
  164.                 <widget class="QRadioButton" row="2" column="1">
  165.                     <property name="name">
  166.                         <cstring>radioBrighter</cstring>
  167.                     </property>
  168.                     <property name="text">
  169.                         <string>Brightest (App.)</string>
  170.                     </property>
  171.                 </widget>
  172.                 <widget class="QRadioButton" row="1" column="0">
  173.                     <property name="name">
  174.                         <cstring>radioNearest</cstring>
  175.                     </property>
  176.                     <property name="text">
  177.                         <string>Nearest</string>
  178.                     </property>
  179.                 </widget>
  180.                 <widget class="QPushButton" row="2" column="3">
  181.                     <property name="name">
  182.                         <cstring>buttonOk</cstring>
  183.                     </property>
  184.                     <property name="text">
  185.                         <string>&amp;Close</string>
  186.                     </property>
  187.                     <property name="accel">
  188.                         <string>Alt+C</string>
  189.                     </property>
  190.                     <property name="autoDefault">
  191.                         <bool>true</bool>
  192.                     </property>
  193.                     <property name="default">
  194.                         <bool>true</bool>
  195.                     </property>
  196.                 </widget>
  197.                 <widget class="QPushButton" row="1" column="3">
  198.                     <property name="name">
  199.                         <cstring>refresh</cstring>
  200.                     </property>
  201.                     <property name="text">
  202.                         <string>Refresh</string>
  203.                     </property>
  204.                 </widget>
  205.             </grid>
  206.         </widget>
  207.     </grid>
  208. </widget>
  209. <toolbars>
  210. </toolbars>
  211. <connections>
  212.     <connection>
  213.         <sender>radioNearest</sender>
  214.         <signal>toggled(bool)</signal>
  215.         <receiver>CelestialBrowserBase</receiver>
  216.         <slot>slotNearest(bool)</slot>
  217.     </connection>
  218.     <connection>
  219.         <sender>radioBrightest</sender>
  220.         <signal>toggled(bool)</signal>
  221.         <receiver>CelestialBrowserBase</receiver>
  222.         <slot>slotBrightest(bool)</slot>
  223.     </connection>
  224.     <connection>
  225.         <sender>radioBrighter</sender>
  226.         <signal>toggled(bool)</signal>
  227.         <receiver>CelestialBrowserBase</receiver>
  228.         <slot>slotBrighter(bool)</slot>
  229.     </connection>
  230.     <connection>
  231.         <sender>radioPlanets</sender>
  232.         <signal>toggled(bool)</signal>
  233.         <receiver>CelestialBrowserBase</receiver>
  234.         <slot>slotWithPlanets(bool)</slot>
  235.     </connection>
  236.     <connection>
  237.         <sender>listStars</sender>
  238.         <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>
  239.         <receiver>CelestialBrowserBase</receiver>
  240.         <slot>slotRightClickOnStar(QListViewItem*,const QPoint&amp;,int)</slot>
  241.     </connection>
  242.     <connection>
  243.         <sender>refresh</sender>
  244.         <signal>clicked()</signal>
  245.         <receiver>CelestialBrowserBase</receiver>
  246.         <slot>slotRefresh()</slot>
  247.     </connection>
  248.     <connection>
  249.         <sender>buttonOk</sender>
  250.         <signal>clicked()</signal>
  251.         <receiver>CelestialBrowserBase</receiver>
  252.         <slot>close()</slot>
  253.     </connection>
  254. </connections>
  255. <slots>
  256.     <slot>slotNearest(bool)</slot>
  257.     <slot>slotBrightest(bool)</slot>
  258.     <slot>slotWithPlanets(bool)</slot>
  259.     <slot>slotRefresh()</slot>
  260.     <slot>slotRightClickOnStar(QListViewItem*,const QPoint&amp;,int)</slot>
  261.     <slot>slotBrighter(bool)</slot>
  262. </slots>
  263. <layoutdefaults spacing="6" margin="11"/>
  264. <includehints>
  265.     <includehint>klistview.h</includehint>
  266. </includehints>
  267. </UI>