1<ui version="4.0" > 2 <class>LexerAssociationDialog</class> 3 <widget class="QDialog" name="LexerAssociationDialog" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>460</width> 9 <height>418</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>Project Lexer Associations</string> 14 </property> 15 <property name="sizeGripEnabled" > 16 <bool>true</bool> 17 </property> 18 <layout class="QVBoxLayout" name="verticalLayout" > 19 <item> 20 <widget class="QTreeWidget" name="editorLexerList" > 21 <property name="alternatingRowColors" > 22 <bool>true</bool> 23 </property> 24 <property name="rootIsDecorated" > 25 <bool>false</bool> 26 </property> 27 <property name="sortingEnabled" > 28 <bool>true</bool> 29 </property> 30 <column> 31 <property name="text" > 32 <string>Filename Pattern</string> 33 </property> 34 </column> 35 <column> 36 <property name="text" > 37 <string>Lexer Language</string> 38 </property> 39 </column> 40 </widget> 41 </item> 42 <item> 43 <layout class="QGridLayout" name="gridLayout" > 44 <item row="0" column="0" > 45 <widget class="QLabel" name="textLabel2_6" > 46 <property name="text" > 47 <string>Filename &Pattern:</string> 48 </property> 49 <property name="buddy" > 50 <cstring>editorFileExtEdit</cstring> 51 </property> 52 </widget> 53 </item> 54 <item row="0" column="1" > 55 <widget class="QLineEdit" name="editorFileExtEdit" > 56 <property name="toolTip" > 57 <string>Enter the filename pattern to be associated</string> 58 </property> 59 </widget> 60 </item> 61 <item row="0" column="2" > 62 <widget class="QPushButton" name="addLexerButton" > 63 <property name="toolTip" > 64 <string>Press to add or change the entered association</string> 65 </property> 66 <property name="text" > 67 <string>Add/&Change</string> 68 </property> 69 </widget> 70 </item> 71 <item row="1" column="0" > 72 <widget class="QLabel" name="textLabel3_3" > 73 <property name="text" > 74 <string>&Lexer Language:</string> 75 </property> 76 <property name="buddy" > 77 <cstring>editorLexerCombo</cstring> 78 </property> 79 </widget> 80 </item> 81 <item row="1" column="1" > 82 <widget class="QComboBox" name="editorLexerCombo" > 83 <property name="toolTip" > 84 <string>Select the lexer language to associate</string> 85 </property> 86 </widget> 87 </item> 88 <item row="1" column="2" > 89 <widget class="QPushButton" name="deleteLexerButton" > 90 <property name="toolTip" > 91 <string>Press to delete the selected association</string> 92 </property> 93 <property name="text" > 94 <string>&Delete</string> 95 </property> 96 </widget> 97 </item> 98 <item row="2" column="0" > 99 <widget class="QLabel" name="pygmentsLabel" > 100 <property name="text" > 101 <string>Alternative Le&xer:</string> 102 </property> 103 <property name="buddy" > 104 <cstring>pygmentsLexerCombo</cstring> 105 </property> 106 </widget> 107 </item> 108 <item row="2" column="1" > 109 <widget class="QComboBox" name="pygmentsLexerCombo" > 110 <property name="toolTip" > 111 <string>Select the alternative lexer to associate</string> 112 </property> 113 </widget> 114 </item> 115 </layout> 116 </item> 117 <item> 118 <widget class="QDialogButtonBox" name="buttonBox" > 119 <property name="orientation" > 120 <enum>Qt::Horizontal</enum> 121 </property> 122 <property name="standardButtons" > 123 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 124 </property> 125 </widget> 126 </item> 127 </layout> 128 </widget> 129 <tabstops> 130 <tabstop>editorLexerList</tabstop> 131 <tabstop>editorFileExtEdit</tabstop> 132 <tabstop>editorLexerCombo</tabstop> 133 <tabstop>pygmentsLexerCombo</tabstop> 134 <tabstop>addLexerButton</tabstop> 135 <tabstop>deleteLexerButton</tabstop> 136 <tabstop>buttonBox</tabstop> 137 </tabstops> 138 <resources/> 139 <connections> 140 <connection> 141 <sender>buttonBox</sender> 142 <signal>accepted()</signal> 143 <receiver>LexerAssociationDialog</receiver> 144 <slot>accept()</slot> 145 <hints> 146 <hint type="sourcelabel" > 147 <x>248</x> 148 <y>254</y> 149 </hint> 150 <hint type="destinationlabel" > 151 <x>157</x> 152 <y>274</y> 153 </hint> 154 </hints> 155 </connection> 156 <connection> 157 <sender>buttonBox</sender> 158 <signal>rejected()</signal> 159 <receiver>LexerAssociationDialog</receiver> 160 <slot>reject()</slot> 161 <hints> 162 <hint type="sourcelabel" > 163 <x>316</x> 164 <y>260</y> 165 </hint> 166 <hint type="destinationlabel" > 167 <x>286</x> 168 <y>274</y> 169 </hint> 170 </hints> 171 </connection> 172 </connections> 173</ui> 174