Warning, /education/kstars/kstars/tools/scriptbuilder.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>ScriptBuilder</class>
0004  <widget class="QWidget" name="ScriptBuilder">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>753</width>
0010     <height>520</height>
0011    </rect>
0012   </property>
0013   <layout class="QVBoxLayout">
0014    <property name="spacing">
0015     <number>6</number>
0016    </property>
0017    <property name="leftMargin">
0018     <number>9</number>
0019    </property>
0020    <property name="topMargin">
0021     <number>9</number>
0022    </property>
0023    <property name="rightMargin">
0024     <number>9</number>
0025    </property>
0026    <property name="bottomMargin">
0027     <number>9</number>
0028    </property>
0029    <item>
0030     <layout class="QHBoxLayout">
0031      <property name="spacing">
0032       <number>6</number>
0033      </property>
0034      <property name="leftMargin">
0035       <number>0</number>
0036      </property>
0037      <property name="topMargin">
0038       <number>0</number>
0039      </property>
0040      <property name="rightMargin">
0041       <number>0</number>
0042      </property>
0043      <property name="bottomMargin">
0044       <number>0</number>
0045      </property>
0046      <item>
0047       <widget class="QPushButton" name="NewButton">
0048        <property name="sizePolicy">
0049         <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0050          <horstretch>0</horstretch>
0051          <verstretch>0</verstretch>
0052         </sizepolicy>
0053        </property>
0054        <property name="minimumSize">
0055         <size>
0056          <width>32</width>
0057          <height>32</height>
0058         </size>
0059        </property>
0060        <property name="maximumSize">
0061         <size>
0062          <width>32</width>
0063          <height>32</height>
0064         </size>
0065        </property>
0066        <property name="toolTip">
0067         <string>New Script</string>
0068        </property>
0069        <property name="whatsThis">
0070         <string>Discards current script and starts a new one.  Will prompt to save any unsaved changes in the current script.</string>
0071        </property>
0072        <property name="iconSize">
0073         <size>
0074          <width>28</width>
0075          <height>28</height>
0076         </size>
0077        </property>
0078       </widget>
0079      </item>
0080      <item>
0081       <widget class="QPushButton" name="OpenButton">
0082        <property name="sizePolicy">
0083         <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0084          <horstretch>0</horstretch>
0085          <verstretch>0</verstretch>
0086         </sizepolicy>
0087        </property>
0088        <property name="minimumSize">
0089         <size>
0090          <width>32</width>
0091          <height>32</height>
0092         </size>
0093        </property>
0094        <property name="maximumSize">
0095         <size>
0096          <width>32</width>
0097          <height>32</height>
0098         </size>
0099        </property>
0100        <property name="toolTip">
0101         <string>Open Script...</string>
0102        </property>
0103        <property name="whatsThis">
0104         <string>Opens an existing script.  Will prompt to save any unsaved changes in the current script.</string>
0105        </property>
0106        <property name="iconSize">
0107         <size>
0108          <width>28</width>
0109          <height>28</height>
0110         </size>
0111        </property>
0112       </widget>
0113      </item>
0114      <item>
0115       <widget class="QPushButton" name="SaveButton">
0116        <property name="sizePolicy">
0117         <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0118          <horstretch>0</horstretch>
0119          <verstretch>0</verstretch>
0120         </sizepolicy>
0121        </property>
0122        <property name="minimumSize">
0123         <size>
0124          <width>32</width>
0125          <height>32</height>
0126         </size>
0127        </property>
0128        <property name="maximumSize">
0129         <size>
0130          <width>32</width>
0131          <height>32</height>
0132         </size>
0133        </property>
0134        <property name="toolTip">
0135         <string>Save Script</string>
0136        </property>
0137        <property name="whatsThis">
0138         <string>Save the current script.  If the script has not been saved before, this is equivalent to &quot;Save As...&quot;</string>
0139        </property>
0140        <property name="iconSize">
0141         <size>
0142          <width>28</width>
0143          <height>28</height>
0144         </size>
0145        </property>
0146       </widget>
0147      </item>
0148      <item>
0149       <widget class="QPushButton" name="SaveAsButton">
0150        <property name="sizePolicy">
0151         <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0152          <horstretch>0</horstretch>
0153          <verstretch>0</verstretch>
0154         </sizepolicy>
0155        </property>
0156        <property name="minimumSize">
0157         <size>
0158          <width>32</width>
0159          <height>32</height>
0160         </size>
0161        </property>
0162        <property name="maximumSize">
0163         <size>
0164          <width>32</width>
0165          <height>32</height>
0166         </size>
0167        </property>
0168        <property name="toolTip">
0169         <string>Save Script As...</string>
0170        </property>
0171        <property name="whatsThis">
0172         <string>Saves the script to a file, allowing you to first specify the filename and a name for the script.</string>
0173        </property>
0174        <property name="iconSize">
0175         <size>
0176          <width>28</width>
0177          <height>28</height>
0178         </size>
0179        </property>
0180       </widget>
0181      </item>
0182      <item>
0183       <widget class="QPushButton" name="RunButton">
0184        <property name="minimumSize">
0185         <size>
0186          <width>32</width>
0187          <height>32</height>
0188         </size>
0189        </property>
0190        <property name="maximumSize">
0191         <size>
0192          <width>32</width>
0193          <height>32</height>
0194         </size>
0195        </property>
0196        <property name="toolTip">
0197         <string>Test Script</string>
0198        </property>
0199        <property name="whatsThis">
0200         <string>Executes the script in the KStars main window. You may want to reposition the Script Builder tool so that the Sky map is visible.</string>
0201        </property>
0202        <property name="iconSize">
0203         <size>
0204          <width>28</width>
0205          <height>28</height>
0206         </size>
0207        </property>
0208       </widget>
0209      </item>
0210      <item>
0211       <spacer>
0212        <property name="orientation">
0213         <enum>Qt::Horizontal</enum>
0214        </property>
0215        <property name="sizeType">
0216         <enum>QSizePolicy::Expanding</enum>
0217        </property>
0218        <property name="sizeHint" stdset="0">
0219         <size>
0220          <width>490</width>
0221          <height>20</height>
0222         </size>
0223        </property>
0224       </spacer>
0225      </item>
0226     </layout>
0227    </item>
0228    <item>
0229     <widget class="QSplitter" name="splitter">
0230      <property name="orientation">
0231       <enum>Qt::Horizontal</enum>
0232      </property>
0233      <widget class="QGroupBox" name="groupBox">
0234       <property name="title">
0235        <string>Current Script</string>
0236       </property>
0237       <layout class="QVBoxLayout">
0238        <property name="spacing">
0239         <number>6</number>
0240        </property>
0241        <property name="leftMargin">
0242         <number>9</number>
0243        </property>
0244        <property name="topMargin">
0245         <number>9</number>
0246        </property>
0247        <property name="rightMargin">
0248         <number>9</number>
0249        </property>
0250        <property name="bottomMargin">
0251         <number>9</number>
0252        </property>
0253        <item>
0254         <layout class="QHBoxLayout">
0255          <property name="spacing">
0256           <number>6</number>
0257          </property>
0258          <property name="leftMargin">
0259           <number>0</number>
0260          </property>
0261          <property name="topMargin">
0262           <number>0</number>
0263          </property>
0264          <property name="rightMargin">
0265           <number>0</number>
0266          </property>
0267          <property name="bottomMargin">
0268           <number>0</number>
0269          </property>
0270          <item>
0271           <widget class="QListWidget" name="ScriptListBox">
0272            <property name="sizePolicy">
0273             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
0274              <horstretch>0</horstretch>
0275              <verstretch>1</verstretch>
0276             </sizepolicy>
0277            </property>
0278            <property name="whatsThis">
0279             <string>This shows the list of commands present in the current working script. Highlighting any command will present a widget where you can specify its arguments below. Use the action buttons at right to copy, remove, or change the position of the selected command.</string>
0280            </property>
0281           </widget>
0282          </item>
0283          <item>
0284           <layout class="QVBoxLayout">
0285            <property name="spacing">
0286             <number>6</number>
0287            </property>
0288            <property name="leftMargin">
0289             <number>0</number>
0290            </property>
0291            <property name="topMargin">
0292             <number>0</number>
0293            </property>
0294            <property name="rightMargin">
0295             <number>0</number>
0296            </property>
0297            <property name="bottomMargin">
0298             <number>0</number>
0299            </property>
0300            <item>
0301             <widget class="QPushButton" name="AddButton">
0302              <property name="minimumSize">
0303               <size>
0304                <width>32</width>
0305                <height>32</height>
0306               </size>
0307              </property>
0308              <property name="maximumSize">
0309               <size>
0310                <width>32</width>
0311                <height>32</height>
0312               </size>
0313              </property>
0314              <property name="toolTip">
0315               <string>Add Function</string>
0316              </property>
0317              <property name="whatsThis">
0318               <string>If a function is highlighted in the &quot;Function Browser&quot; box, this button will add it to the current working script.  The new function is inserted directly after the highlighted function in the &quot;Current Script&quot; box.
0319 </string>
0320              </property>
0321             </widget>
0322            </item>
0323            <item>
0324             <widget class="QPushButton" name="RemoveButton">
0325              <property name="minimumSize">
0326               <size>
0327                <width>32</width>
0328                <height>32</height>
0329               </size>
0330              </property>
0331              <property name="maximumSize">
0332               <size>
0333                <width>32</width>
0334                <height>32</height>
0335               </size>
0336              </property>
0337              <property name="toolTip">
0338               <string>Remove Function</string>
0339              </property>
0340              <property name="whatsThis">
0341               <string>If a function is highlighted in the &quot;Current Script&quot; box, this button will remove it from the script.</string>
0342              </property>
0343             </widget>
0344            </item>
0345            <item>
0346             <widget class="QPushButton" name="CopyButton">
0347              <property name="minimumSize">
0348               <size>
0349                <width>32</width>
0350                <height>32</height>
0351               </size>
0352              </property>
0353              <property name="maximumSize">
0354               <size>
0355                <width>32</width>
0356                <height>32</height>
0357               </size>
0358              </property>
0359              <property name="toolTip">
0360               <string>Copy Function</string>
0361              </property>
0362              <property name="whatsThis">
0363               <string>If a function is highlighted in the &quot;Current Script&quot; box, this button will add a duplicate of the function.</string>
0364              </property>
0365             </widget>
0366            </item>
0367            <item>
0368             <widget class="QPushButton" name="UpButton">
0369              <property name="minimumSize">
0370               <size>
0371                <width>32</width>
0372                <height>32</height>
0373               </size>
0374              </property>
0375              <property name="maximumSize">
0376               <size>
0377                <width>32</width>
0378                <height>32</height>
0379               </size>
0380              </property>
0381              <property name="toolTip">
0382               <string>Move Up</string>
0383              </property>
0384              <property name="whatsThis">
0385               <string>If a function is highlighted in the &quot;Current Script&quot; box, this button will move it up one position in the script.</string>
0386              </property>
0387             </widget>
0388            </item>
0389            <item>
0390             <widget class="QPushButton" name="DownButton">
0391              <property name="minimumSize">
0392               <size>
0393                <width>32</width>
0394                <height>32</height>
0395               </size>
0396              </property>
0397              <property name="maximumSize">
0398               <size>
0399                <width>32</width>
0400                <height>32</height>
0401               </size>
0402              </property>
0403              <property name="toolTip">
0404               <string>Move Down</string>
0405              </property>
0406              <property name="whatsThis">
0407               <string>If a function is highlighted in the &quot;Current Script&quot; box, this button will move it down one position in the script.</string>
0408              </property>
0409             </widget>
0410            </item>
0411            <item>
0412             <spacer>
0413              <property name="orientation">
0414               <enum>Qt::Vertical</enum>
0415              </property>
0416              <property name="sizeType">
0417               <enum>QSizePolicy::Expanding</enum>
0418              </property>
0419              <property name="sizeHint" stdset="0">
0420               <size>
0421                <width>20</width>
0422                <height>118</height>
0423               </size>
0424              </property>
0425             </spacer>
0426            </item>
0427           </layout>
0428          </item>
0429         </layout>
0430        </item>
0431        <item>
0432         <widget class="QGroupBox" name="groupBox_2">
0433          <property name="title">
0434           <string>Function Arguments</string>
0435          </property>
0436          <layout class="QVBoxLayout">
0437           <property name="spacing">
0438            <number>6</number>
0439           </property>
0440           <property name="leftMargin">
0441            <number>9</number>
0442           </property>
0443           <property name="topMargin">
0444            <number>9</number>
0445           </property>
0446           <property name="rightMargin">
0447            <number>9</number>
0448           </property>
0449           <property name="bottomMargin">
0450            <number>9</number>
0451           </property>
0452           <item>
0453            <widget class="QStackedWidget" name="ArgStack">
0454             <widget class="QWidget" name="page"/>
0455             <widget class="QWidget" name="page_2"/>
0456            </widget>
0457           </item>
0458          </layout>
0459         </widget>
0460        </item>
0461       </layout>
0462      </widget>
0463      <widget class="QGroupBox" name="groupBox_3">
0464       <property name="title">
0465        <string>Function Browser</string>
0466       </property>
0467       <layout class="QVBoxLayout">
0468        <property name="spacing">
0469         <number>6</number>
0470        </property>
0471        <property name="leftMargin">
0472         <number>9</number>
0473        </property>
0474        <property name="topMargin">
0475         <number>9</number>
0476        </property>
0477        <property name="rightMargin">
0478         <number>9</number>
0479        </property>
0480        <property name="bottomMargin">
0481         <number>9</number>
0482        </property>
0483        <item>
0484         <widget class="QSplitter" name="splitter7">
0485          <property name="orientation">
0486           <enum>Qt::Vertical</enum>
0487          </property>
0488          <widget class="QTreeWidget" name="FunctionTree">
0489           <property name="sizePolicy">
0490            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
0491             <horstretch>0</horstretch>
0492             <verstretch>5</verstretch>
0493            </sizepolicy>
0494           </property>
0495           <property name="rootIsDecorated">
0496            <bool>true</bool>
0497           </property>
0498           <column>
0499            <property name="text">
0500             <string>1</string>
0501            </property>
0502           </column>
0503          </widget>
0504          <widget class="QTextEdit" name="FuncDoc">
0505           <property name="sizePolicy">
0506            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
0507             <horstretch>0</horstretch>
0508             <verstretch>0</verstretch>
0509            </sizepolicy>
0510           </property>
0511           <property name="toolTip">
0512            <string>Function Help</string>
0513           </property>
0514           <property name="whatsThis">
0515            <string>If a function is highlighted in the Function Browser, this area will show some brief documentation about the function.</string>
0516           </property>
0517          </widget>
0518         </widget>
0519        </item>
0520       </layout>
0521      </widget>
0522     </widget>
0523    </item>
0524   </layout>
0525  </widget>
0526  <resources/>
0527  <connections/>
0528 </ui>