1<!DOCTYPE UI><UI version="3.2" stdsetdef="1"> 2<class>Form1</class> 3<widget class="QWidget"> 4 <property name="name"> 5 <cstring>Form1</cstring> 6 </property> 7 <property name="geometry"> 8 <rect> 9 <x>0</x> 10 <y>0</y> 11 <width>584</width> 12 <height>331</height> 13 </rect> 14 </property> 15 <property name="caption"> 16 <string>Form1</string> 17 </property> 18 <vbox> 19 <property name="name"> 20 <cstring>unnamed</cstring> 21 </property> 22 <widget class="QLayoutWidget"> 23 <property name="name"> 24 <cstring>layout10</cstring> 25 </property> 26 <grid> 27 <property name="name"> 28 <cstring>unnamed</cstring> 29 </property> 30 <widget class="QLabel" row="1" column="0"> 31 <property name="name"> 32 <cstring>textLabel3</cstring> 33 </property> 34 <property name="frameShape"> 35 <enum>NoFrame</enum> 36 </property> 37 <property name="frameShadow"> 38 <enum>Plain</enum> 39 </property> 40 <property name="text"> 41 <string>Size</string> 42 </property> 43 </widget> 44 <widget class="QLabel" row="1" column="2"> 45 <property name="name"> 46 <cstring>textLabel4</cstring> 47 </property> 48 <property name="text"> 49 <string>Stretch</string> 50 </property> 51 </widget> 52 <widget class="QLabel" row="0" column="0"> 53 <property name="name"> 54 <cstring>textLabel1</cstring> 55 </property> 56 <property name="text"> 57 <string>Family</string> 58 </property> 59 </widget> 60 <widget class="QComboBox" row="0" column="3"> 61 <property name="name"> 62 <cstring>styles</cstring> 63 </property> 64 </widget> 65 <widget class="QComboBox" row="0" column="1"> 66 <property name="name"> 67 <cstring>families</cstring> 68 </property> 69 </widget> 70 <widget class="QSpinBox" row="1" column="1"> 71 <property name="name"> 72 <cstring>sizebox</cstring> 73 </property> 74 <property name="suffix"> 75 <string> pt</string> 76 </property> 77 <property name="specialValueText"> 78 <string></string> 79 </property> 80 <property name="maxValue"> 81 <number>1000</number> 82 </property> 83 <property name="minValue"> 84 <number>10</number> 85 </property> 86 <property name="lineStep"> 87 <number>10</number> 88 </property> 89 </widget> 90 <widget class="QLabel" row="0" column="2"> 91 <property name="name"> 92 <cstring>textLabel2</cstring> 93 </property> 94 <property name="text"> 95 <string>Style</string> 96 </property> 97 </widget> 98 <widget class="QSpinBox" row="1" column="3"> 99 <property name="name"> 100 <cstring>stretchbox</cstring> 101 </property> 102 <property name="suffix"> 103 <string> %</string> 104 </property> 105 <property name="maxValue"> 106 <number>4000</number> 107 </property> 108 <property name="minValue"> 109 <number>1</number> 110 </property> 111 <property name="value"> 112 <number>100</number> 113 </property> 114 </widget> 115 </grid> 116 </widget> 117 <widget class="Line"> 118 <property name="name"> 119 <cstring>line1</cstring> 120 </property> 121 <property name="frameShape"> 122 <enum>HLine</enum> 123 </property> 124 <property name="frameShadow"> 125 <enum>Sunken</enum> 126 </property> 127 <property name="orientation"> 128 <enum>Horizontal</enum> 129 </property> 130 </widget> 131 <widget class="QLabel"> 132 <property name="name"> 133 <cstring>viewer</cstring> 134 </property> 135 <property name="sizePolicy"> 136 <sizepolicy> 137 <hsizetype>3</hsizetype> 138 <vsizetype>3</vsizetype> 139 <horstretch>0</horstretch> 140 <verstretch>0</verstretch> 141 </sizepolicy> 142 </property> 143 <property name="maximumSize"> 144 <size> 145 <width>500</width> 146 <height>32767</height> 147 </size> 148 </property> 149 <property name="text"> 150 <string>Andy, 151 152I'm sorry but that does not quite help me. I've already seen that the new functional equivalent is drawPrimitive witrh a PE_ArrowDown flag. The problem is that I do not see how to translate the parameters used in the old function to the QRect parameter that is required in the new function. Sinve there is no one-to-one correspondance in parameters I do not see how to move form the old function to the new. 153 154The purpose of this method is to pain t a combobox-like down arrow to the right of a QLineEdit widget that is contained in the class. How do I convert the old code to the new? 155 156Thanks! 157 158...Jake</string> 159 </property> 160 <property name="alignment"> 161 <set>WordBreak|AlignTop</set> 162 </property> 163 </widget> 164 </vbox> 165</widget> 166<connections> 167 <connection> 168 <sender>families</sender> 169 <signal>activated(const QString&)</signal> 170 <receiver>Form1</receiver> 171 <slot>changeFamily(const QString&)</slot> 172 </connection> 173 <connection> 174 <sender>sizebox</sender> 175 <signal>valueChanged(int)</signal> 176 <receiver>Form1</receiver> 177 <slot>changeSize(int)</slot> 178 </connection> 179 <connection> 180 <sender>stretchbox</sender> 181 <signal>valueChanged(int)</signal> 182 <receiver>Form1</receiver> 183 <slot>changeStretch(int)</slot> 184 </connection> 185</connections> 186<tabstops> 187 <tabstop>families</tabstop> 188 <tabstop>styles</tabstop> 189 <tabstop>sizebox</tabstop> 190 <tabstop>stretchbox</tabstop> 191</tabstops> 192<includes> 193 <include location="local" impldecl="in implementation">form1.ui.h</include> 194</includes> 195<slots> 196 <slot>changeFamily( const QString & newfamily )</slot> 197 <slot>changeSize( int newsize )</slot> 198 <slot>changeStretch( int newstretch )</slot> 199</slots> 200<functions> 201 <function access="private" specifier="non virtual">init()</function> 202</functions> 203<layoutdefaults spacing="6" margin="11"/> 204</UI> 205