<ui version="4.0" >
 <class>DCDialogUserCommandEditor</class>
 <widget class="QDialog" name="DCDialogUserCommandEditor" >
  <property name="windowTitle" >
   <string>User Command Editor</string>
  </property>
  <layout class="QGridLayout" >
   <item row="0" column="0" >
    <widget class="QGroupBox" name="GroupBox_COMMAND_TYPE" >
     <property name="title" >
      <string>Command Type</string>
     </property>
     <layout class="QGridLayout" >
      <item row="0" column="0" >
       <widget class="QRadioButton" name="RadioButton_SEPARATOR" >
        <property name="text" >
	 <string>Separator</string>
	</property>
       </widget>
      </item>
      <item row="1" column="0" >
       <widget class="QRadioButton" name="RadioButton_RAW" >
        <property name="text" >
	 <string>Raw</string>
	</property>
       </widget>
      </item>
      <item row="0" column="1" >
       <widget class="QRadioButton" name="RadioButton_CHAT" >
        <property name="text" >
	 <string>Chat</string>
	</property>
	<property name="checked" >
	 <bool>true</bool>
	</property>
       </widget>
      </item>
      <item row="1" column="1" >
       <widget class="QRadioButton" name="RadioButton_PM" >
        <property name="text" >
	 <string>PM</string>
	</property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="1" column="0" >
    <widget class="QGroupBox" name="GroupBox_COMMAND_CONTEXT" >
     <property name="title" >
      <string>Context</string>
     </property>
     <layout class="QGridLayout" >
      <item row="0" column="0" >
       <widget class="QCheckBox" name="CheckBox_CONTEXT_HUB" >
        <property name="text" >
	 <string>Hub Menu</string>
	</property>
       </widget>
      </item>
      <item row="1" column="0" >
       <widget class="QCheckBox" name="CheckBox_CONTEXT_USER" >
        <property name="text" >
	 <string>User Menu</string>
	</property>
       </widget>
      </item>
      <item row="0" column="1" >
       <widget class="QCheckBox" name="CheckBox_CONTEXT_SEARCH" >
        <property name="text" >
	 <string>Search Menu</string>
	</property>
       </widget>
      </item>
      <item row="1" column="1" >
       <widget class="QCheckBox" name="CheckBox_CONTEXT_FILELIST" >
        <property name="text" >
	 <string>Filelist Menu</string>
	</property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="2" column="0" rowspan="2" >
    <widget class="QGroupBox" name="GroupBox_COMMAND_PARAMETERS" >
     <property name="title" >
      <string>Parameters</string>
     </property>
     <layout class="QGridLayout" >
      <item row="0" column="0" >
       <widget class="QLabel" name="Label_NAME" >
        <property name="text">
	 <string>Name</string>
	</property>
       </widget>
      </item>
      <item row="1" column="0" >
       <widget class="QLineEdit" name="LineEdit_NAME" />
      </item>
      <item row="2" column="0" >
       <widget class="QLabel" name="Label_COMMAND" >
        <property name="text" >
	 <string>Command</string>
	</property>
       </widget>
      </item>
      <item row="3" column="0" >
       <widget class="QLineEdit" name="LineEdit_COMMAND" />
      </item>
      <item row="4" column="0" >
       <widget class="QLabel" name="Label_HUBIP" >
        <property name="text" >
	 <string>Hub IP / DNS (empty = All, 'op' = where operator)</string>
	</property>
       </widget>
      </item>
      <item row="5" column="0" >
       <widget class="QLineEdit" name="LineEdit_HUBIP" />
      </item>
      <item row="6" column="0" >
       <widget class="QLabel" name="Label_TO" >
        <property name="text" >
	 <string>To (empty for selected user)</string>
	</property>
       </widget>
      </item>
      <item row="7" column="0" >
       <widget class="QLineEdit" name="LineEdit_TO" />
      </item>
      <item row="8" column="0" >
       <widget class="QCheckBox" name="CheckBox_ONCE_PER_NICK" >
        <property name="text" >
	 <string>Send once per nick</string>
	</property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="4" column="0" >
    <widget class="QGroupBox" name="GroupBox_PREVIEW" >
     <property name="title" >
      <string>Text sent to hub</string>
     </property>
     <layout class="QGridLayout" >
      <item row="0" column="0" >
       <widget class="QLineEdit" name="LineEdit_PREVIEW" >
        <property name="readOnly" >
	 <bool>true</bool>
	</property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="5" column="0" >
    <widget class="QDialogButtonBox" name="DialogButtonBox" >
     <property name="standardButtons" >
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="6" />
 <tabstops>
  <tabstop>LineEdit_NAME</tabstop>
  <tabstop>LineEdit_COMMAND</tabstop>
  <tabstop>LineEdit_HUBIP</tabstop>
  <tabstop>LineEdit_TO</tabstop>
 </tabstops>
 <connections>
  <connection>
   <sender>DialogButtonBox</sender>
   <signal>accepted()</signal>
   <receiver>DCDialogUserCommandEditor</receiver>
   <slot>accept()</slot>
  </connection>
  <connection>
   <sender>DialogButtonBox</sender>
   <signal>rejected()</signal>
   <receiver>DCDialogUserCommandEditor</receiver>
   <slot>reject()</slot>
  </connection>
 </connections>
</ui>
