Add a new tab in settings, user can select a font size, a rotation angle

and a text width by default for new dynamic text, it work also in
element editor command.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5568 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2018-10-26 23:42:49 +00:00
parent 5f85edcc8c
commit 9e7899fd40
8 changed files with 188 additions and 15 deletions

View File

@@ -41,7 +41,7 @@
</size>
</property>
<property name="currentIndex">
<number>0</number>
<number>4</number>
</property>
<widget class="QWidget" name="tab_3">
<attribute name="title">
@@ -169,7 +169,7 @@
<x>0</x>
<y>20</y>
<width>971</width>
<height>376</height>
<height>391</height>
</rect>
</property>
<property name="title">
@@ -468,6 +468,99 @@ Vous pouvez spécifier ici la valeur par défaut de ce champ pour les éléments
</widget>
</widget>
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Textes dynamiques</string>
</attribute>
<widget class="QGroupBox" name="groupBox6">
<property name="geometry">
<rect>
<x>0</x>
<y>20</y>
<width>971</width>
<height>391</height>
</rect>
</property>
<property name="title">
<string/>
</property>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>535</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Rotation des textes dynamiques</string>
</property>
</widget>
<widget class="QSpinBox" name="m_rotation">
<property name="geometry">
<rect>
<x>850</x>
<y>110</y>
<width>87</width>
<height>27</height>
</rect>
</property>
<property name="maximum">
<number>360</number>
</property>
</widget>
<widget class="QPushButton" name="m_dynamic_font_pb">
<property name="geometry">
<rect>
<x>804</x>
<y>60</y>
<width>141</width>
<height>34</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>535</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>Police des textes dynamiques</string>
</property>
</widget>
<widget class="QSpinBox" name="m_text_width_sb">
<property name="geometry">
<rect>
<x>850</x>
<y>150</y>
<width>91</width>
<height>32</height>
</rect>
</property>
<property name="minimum">
<number>-1</number>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>10</x>
<y>150</y>
<width>211</width>
<height>18</height>
</rect>
</property>
<property name="text">
<string>Longueur des textes</string>
</property>
</widget>
</widget>
</widget>
</widget>
</item>
</layout>
@@ -491,6 +584,9 @@ Vous pouvez spécifier ici la valeur par défaut de ce champ pour les éléments
<tabstop>m_highlight_integrated_elements</tabstop>
<tabstop>m_default_elements_info</tabstop>
<tabstop>m_lang_cb</tabstop>
<tabstop>m_dynamic_font_pb</tabstop>
<tabstop>m_rotation</tabstop>
<tabstop>m_text_width_sb</tabstop>
</tabstops>
<resources/>
<connections/>