Topic: change Textsize of multiple elements

Hi,

apparently it is not possible to change the textsize of multiple elements marked or all elements of a specific kind.

I want to change the text size from many folio references in the whole project (many pages). This could take a while when doing this manually (one by one) as suggested here (https://qelectrotech.org/forum/viewtopic.php?id=1295).
Also I want to change the label textsize of all Conductors!

As I understand the search and replace functionality is not able to change the textsize !?

Maybe there is an easy way with a search and replace script or sql command?

This would really help!

Re: change Textsize of multiple elements

Hi,

open your project.qet file with a good text editor and change font size for selected texts, like kate on Linux.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: change Textsize of multiple elements

thanks for the quick response.

I installed linux on a VM and opened the project file with kate, because I assumed it had some special feature to read this format, so
I could select the items i want.

But it seems I have to search for the text "fontsize=x" and replace it with "fontsize=y". But that would change all texts. And if I go through manually to see if it is the right element, it wouldn't save much time...!?

So it would be helpfull, if you could explain the procedure more in detail. Thanks.

Re: change Textsize of multiple elements

Also I want to change the label textsize of all Conductors!

https://download.qelectrotech.org/qet/forum_img_2/kate_conductor_num_size.png
Nox change text for conductos for 11px than 7 px..
https://download.qelectrotech.org/qet/forum_img_2/kate_conductor_num_size2.png

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: change Textsize of multiple elements

https://qelectrotech.org/forum/viewtopi … 7261#p7261
http://qxmledit.org/
https://qxmledit.org/tutorials.html

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: change Textsize of multiple elements

Report of folio definition:

type="embed://import/10_electric/10_allpole/100_folio_referencing/01coming_arrow.elmt
or
type="embed://import/10_electric/10_allpole/100_folio_referencing/02going_arrow.elmt



<elements>
            <element x="170" z="10" uuid="{c9cd8b6a-ff35-4758-9573-e4df02f44ca7}" type="embed://import/10_electric/10_allpole/100_folio_referencing/01coming_arrow.elmt" orientation="0" freezeLabel="false" prefix="" y="110">
                <terminals>
                    <terminal x="9" id="0" orientation="1" y="0"/>
                </terminals>
                <inputs/>
                <dynamic_texts>
                    <dynamic_elmt_text x="-44" Halignment="AlignLeft" text_width="-1" font="Sans Serif,9,-1,5,50,0,0,0,0,0" uuid="{d054d7c1-8c1e-4871-aeef-72783166d3ef}" rotation="0" frame="false" keep_visual_rotation="true" text_from="ElementInfo" Valignment="AlignTop" y="-11.5">
                        <text></text>
                        <info_name>label</info_name>
                    </dynamic_elmt_text>
                </dynamic_texts>
                <texts_groups/>
            </element>

Is easy to change font size, like "Sans Serif,9,-1,5,50,0,0,0,0,0 to "Sans Serif,19,-1,5,50,0,0,0,0,0

https://download.qelectrotech.org/qet/forum_img_2/kate_conductor_report_size.png

Now report folio text is size 19.
https://download.qelectrotech.org/qet/forum_img_2/kate_conductor_report_size2.png

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."