qmljscomponentnamedialog.ui 3.35 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
3 4
 <class>QmlJSEditor::Internal::ComponentNameDialog</class>
 <widget class="QDialog" name="QmlJSEditor::Internal::ComponentNameDialog">
5 6 7 8 9
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>495</width>
10
    <height>138</height>
11 12 13
   </rect>
  </property>
  <property name="windowTitle">
14
   <string>Move Component into Separate File</string>
15 16 17 18 19 20 21 22 23 24 25 26 27
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="spacing">
    <number>0</number>
   </property>
   <item>
    <layout class="QGridLayout" name="gridLayout">
     <property name="horizontalSpacing">
      <number>8</number>
     </property>
     <property name="verticalSpacing">
      <number>10</number>
     </property>
28 29
     <item row="2" column="1" colspan="2">
      <widget class="QLabel" name="messageLabel">
30
       <property name="text">
31
        <string/>
32 33 34 35
       </property>
      </widget>
     </item>
     <item row="0" column="1">
36
      <widget class="Utils::ClassNameValidatingLineEdit" name="componentNameEdit"/>
37 38 39 40 41 42 43 44
     </item>
     <item row="1" column="0">
      <widget class="QLabel" name="choosePathLabel">
       <property name="text">
        <string>Path:</string>
       </property>
      </widget>
     </item>
45 46
     <item row="0" column="0">
      <widget class="QLabel" name="componentNameLabel">
47
       <property name="text">
48
        <string>Component name:</string>
49 50 51
       </property>
      </widget>
     </item>
52 53
     <item row="1" column="1">
      <widget class="Utils::PathChooser" name="pathEdit" native="true"/>
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
     </item>
    </layout>
   </item>
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
    </spacer>
   </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>
82 83 84 85 86 87 88 89 90 91 92 93 94
 <customwidgets>
  <customwidget>
   <class>Utils::ClassNameValidatingLineEdit</class>
   <extends>QLineEdit</extends>
   <header location="global">utils/classnamevalidatinglineedit.h</header>
  </customwidget>
  <customwidget>
   <class>Utils::PathChooser</class>
   <extends>QWidget</extends>
   <header location="global">utils/pathchooser.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
95 96 97 98 99
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
100
   <receiver>QmlJSEditor::Internal::ComponentNameDialog</receiver>
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
   <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>
116
   <receiver>QmlJSEditor::Internal::ComponentNameDialog</receiver>
117 118 119 120 121 122 123 124 125 126 127 128 129 130
   <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>