ProjectDjangoTagsMenu/IfTagInputDialog.ui

Mon, 28 Oct 2024 16:51:09 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 28 Oct 2024 16:51:09 +0100
branch
eric7
changeset 72
529f1c17c93e
parent 55
5390ef66c327
permissions
-rw-r--r--

- changed to the new style header
- ensured proper parent relationship of modal dialogs
- included compiled form files

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>IfTagInputDialog</class>
 <widget class="QDialog" name="IfTagInputDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>500</width>
    <height>400</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>If Tag Template</string>
  </property>
  <property name="sizeGripEnabled">
   <bool>true</bool>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <widget class="QLabel" name="label">
     <property name="text">
      <string>'if' expression:</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QLineEdit" name="ifEdit">
     <property name="statusTip">
      <string>Enter the 'if' expression</string>
     </property>
     <property name="clearButtonEnabled">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QLabel" name="label_2">
     <property name="text">
      <string>'elif' expressions (one per line):</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QPlainTextEdit" name="elifEdit">
     <property name="toolTip">
      <string>Enter 'elif' expressions one per line</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="elseCheckBox">
     <property name="toolTip">
      <string>Select to include an 'else' part</string>
     </property>
     <property name="text">
      <string>Include 'else'</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>ifEdit</tabstop>
  <tabstop>elifEdit</tabstop>
  <tabstop>elseCheckBox</tabstop>
  <tabstop>buttonBox</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>IfTagInputDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>248</x>
     <y>254</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>IfTagInputDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>316</x>
     <y>260</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial