You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeedu/kstars/kstars/tools/scriptbuilderui.ui

647 lines
31 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ScriptBuilderUI</class>
<widget class="TQWidget">
<property name="name">
<cstring>ScriptBuilderUI</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>708</width>
<height>791</height>
</rect>
</property>
<property name="caption">
<string>Script Builder</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KPushButton">
<property name="name">
<cstring>NewButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="tqmaximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>New Script</string>
</property>
<property name="whatsThis" stdset="0">
<string>Discards current script and starts a new one. Will prompt to save any unsaved changes in the current script.</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>OpenButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="tqmaximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Open Script</string>
</property>
<property name="whatsThis" stdset="0">
<string>Opens an existing script. Will prompt to save any unsaved changes in the current script.</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>SaveButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="tqmaximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Save Script</string>
</property>
<property name="whatsThis" stdset="0">
<string>Save the current script. If the script has not been saved before, this is equivalent to "Save As..."</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>SaveAsButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="tqmaximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Save Script As...</string>
</property>
<property name="whatsThis" stdset="0">
<string>Saves the script to a file, allowing you to first specify the filename and a name for the script.</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>RunButton</cstring>
</property>
<property name="tqminimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="tqmaximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Test Script</string>
</property>
<property name="whatsThis" stdset="0">
<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>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<size>
<width>490</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQSplitter" row="1" column="0">
<property name="name">
<cstring>splitter1</cstring>
</property>
<property name="frameShape">
<enum>NoFrame</enum>
</property>
<property name="frameShadow">
<enum>Plain</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox2</cstring>
</property>
<property name="frameShape">
<enum>GroupBoxPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="title">
<string>Current Script</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KListBox">
<property name="name">
<cstring>ScriptListBox</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="currentItem">
<number>-1</number>
</property>
<property name="whatsThis" stdset="0">
<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>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KPushButton">
<property name="name">
<cstring>AddButton</cstring>
</property>
<property name="tqminimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="tqmaximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Add Function</string>
</property>
<property name="whatsThis" stdset="0">
<string>If a function is highlighted in the "Function Browser" box, this button will add it to the current working script. The new function is inserted directly after the highlighted function in the "Current Script" box.
</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>RemoveButton</cstring>
</property>
<property name="tqminimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="tqmaximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Remove Function</string>
</property>
<property name="whatsThis" stdset="0">
<string>If a function is highlighted in the "Current Script" box, this button will remove it from the script.</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>CopyButton</cstring>
</property>
<property name="tqminimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="tqmaximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Copy Function</string>
</property>
<property name="whatsThis" stdset="0">
<string>If a function is highlighted in the "Current Script" box, this button will add a duplicate of the function.</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>UpButton</cstring>
</property>
<property name="tqminimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="tqmaximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Move Up</string>
</property>
<property name="whatsThis" stdset="0">
<string>If a function is highlighted in the "Current Script" box, this button will move it up one position in the script.</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>DownButton</cstring>
</property>
<property name="tqminimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="tqmaximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Move Down</string>
</property>
<property name="whatsThis" stdset="0">
<string>If a function is highlighted in the "Current Script" box, this button will move it down one position in the script.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer1_2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<size>
<width>20</width>
<height>118</height>
</size>
</property>
</spacer>
</vbox>
</widget>
</hbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>FuncArgBox</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<size>
<width>200</width>
<height>140</height>
</size>
</property>
<property name="title">
<string>Function Arguments</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQWidgetStack">
<property name="name">
<cstring>ArgStack</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>page</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
</widget>
</widget>
</vbox>
</widget>
</vbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>FunctionBrowser</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>GroupBoxPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="title">
<string>Function Browser</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQSplitter">
<property name="name">
<cstring>splitter7</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<widget class="KListView">
<property name="name">
<cstring>FunctionListView</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>2</verstretch>
</sizepolicy>
</property>
<property name="rootIsDecorated">
<bool>true</bool>
</property>
</widget>
<widget class="KTextEdit">
<property name="name">
<cstring>FuncDoc</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string></string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Function Help</string>
</property>
<property name="whatsThis" stdset="0">
<string>If a function is highlighted in the Function Browser, this area will show some brief documentation about the function.</string>
</property>
</widget>
</widget>
</vbox>
</widget>
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>tqlayout11</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout10</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>AppendINDIWait</cstring>
</property>
<property name="text">
<string>Append WaitForINDIAction after any INDI action</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>ReuseINDIDeviceName</cstring>
</property>
<property name="text">
<string>Reuse INDI device name</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</vbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer7</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<size>
<width>91</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
</grid>
</widget>
<Q_SLOTS>
<slot>slotAddFunction()</slot>
<slot>slotMoveFunctionUp()</slot>
<slot>slotMoveFunctionDown()</slot>
<slot>slotShowDoc()</slot>
<slot>slotArgWidget()</slot>
<slot>slotNew()</slot>
<slot>slotOpen()</slot>
<slot>slotSave()</slot>
<slot>slotSaveAs()</slot>
<slot>slotCopyFunction()</slot>
<slot>slotRemoveFunction()</slot>
<slot>slotRunScript()</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="4"/>
<includehints>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>klistbox.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>klistview.h</includehint>
<includehint>ktextedit.h</includehint>
</includehints>
</UI>