1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TemplatePreviewToolView</class>
<widget class="QWidget" name="TemplatePreviewToolView">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>686</width>
<height>571</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="KMessageWidget" name="messageWidget" native="true">
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="TemplatePreview" name="preview" native="true"/>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string comment="@title:group">Template Type</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QRadioButton" name="projectRadioButton">
<property name="text">
<string comment="@option:radio">Project template</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="classRadioButton">
<property name="text">
<string comment="@option:radio">Class template</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="emptyLinesPolicyLabel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string comment="@label:listbox">&Empty lines policy:</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="buddy">
<cstring>emptyLinesPolicyComboBox</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="emptyLinesPolicyComboBox">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<property name="text">
<string comment="@item:inlistbox empty line policy">Keep Empty Lines</string>
</property>
</item>
<item>
<property name="text">
<string comment="@item:inlistbox empty line policy">Remove Repeated Empty Lines</string>
</property>
</item>
<item>
<property name="text">
<string comment="@item:inlistbox empty line policy">Remove All Empty Lines</string>
</property>
</item>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KMessageWidget</class>
<extends>QFrame</extends>
<header>KMessageWidget</header>
<container>1</container>
</customwidget>
<customwidget>
<class>TemplatePreview</class>
<extends>QWidget</extends>
<header>templatepreview.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>classRadioButton</sender>
<signal>toggled(bool)</signal>
<receiver>emptyLinesPolicyComboBox</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>76</x>
<y>69</y>
</hint>
<hint type="destinationlabel">
<x>171</x>
<y>100</y>
</hint>
</hints>
</connection>
<connection>
<sender>classRadioButton</sender>
<signal>toggled(bool)</signal>
<receiver>emptyLinesPolicyLabel</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>55</x>
<y>70</y>
</hint>
<hint type="destinationlabel">
<x>55</x>
<y>101</y>
</hint>
</hints>
</connection>
</connections>
</ui>
|