76

(554 replies, posted in News)

Intel® Core™2 Duo Processor E6600
Cores 2
Processor Base Frequency 2.40 GHz
Cache 4 MB L2
Bus Speed 1066 MHz FSB

77

(554 replies, posted in News)

À partir de QET-5703

Ordinateur portable: avec processeur double cœur Intel Centrino (2 cœurs au total)

Sur la partition Windows:
Fichier installé: La première fois 51 sec
                      La deuxième fois 19 sec

Readytouse: La première fois 38 sec
                  La deuxième fois 21 sec



ON GNU / DEBIAN Partition Sid:
Fichier installé : La première fois 19 sec
                       La deuxième fois 11 sec

78

(3 replies, posted in Code)

Bonjour ,
Ont trouvé des constantes dans la liste source REV 5625.  nomicons/smile
Est-il possible de changer cela avec qspinbox et de le mettre dans le fichier de configuration?
-------------------------------
Have found constants in the source listing REV 5625.
Is it possible to change this with qspinbox and put it in the config file?

----------
REV : 9625

bold

sources/qetgraphicsitem/crossrefitem.cpp
596 : font.setBold(true);


sources/richtext/richtesteditor.cpp

684 : void RichTextEditor::setFontBold(bool b)
{
    if (b)
        setFontWeight(QFont::Bold);
    else
        setFontWeight(QFont::Normal);
}

--------------------------------------------

sans serif

sources/getapp.cpp
826 : * By default the font is "sans Serif" and size 9.
835 : QString diagram_texts_family = settings.value("diagramfont", "Sans Serif").toString();
836 : qreal diagram_texts_size     = settings.value("diagramsize", 9.0).toDouble();
844 : diagram_texts_font.setWeight(QFont::Light);
859 : QString diagram_texts_item_family = settings.value("diagramitemfont", "Sans Serif").toString();
860 : qreal diagram_texts_item_size     = settings.value("diagramitemsize", 9.0).toDouble();
872 : dagiram_texts_item_font.setWeight(QFont::Light);
889 : QString dynamic_texts_item_family = settings.value("font_family", "Sans Serif").toString();
890 : qreal dynamic_texts_item_size     = settings.value("dynamicitemsize", 9.0).toDouble();
902 : dynamic_texts_item_font.setWeight(QFont::Light);
919 : QString foliolist_texts_family = settings.value("foliolistfont", "Sans Serif").toString();
920 : qreal foliolist_texts_size     = settings.value("foliolistsize", 9.0).toDouble();
928 : foliolist_texts_font.setWeight(QFont::Light);

sources/ui/configpage/generalconfigurationpage.cpp
257 : QFont font = QFontDialog::getFont(&ok, QFont("Sans Serif", 9), this);
279 : QFont font = QFontDialog::getFont(&ok, QFont("Sans Serif", 9), this);
302 : QFont font = QFontDialog::getFont(&ok, QFont("Sans Serif", 9), this);



diagramtextsfont
sources/qetapp.h
129 :         static QFont diagramTextsFont(qreal = -1.0);
        static QFont diagramTextsItemFont(qreal = -1.0);
        static QFont dynamicTextsItemFont(qreal = -1.0);
        static QFont foliolistTextsFont(qreal = -1.0);
--------------------------------------------------

setfont
sources/diagramfoliolist.cpp
273 : qp->setFont(QETApp::diagramTextsFont(13));

souces/editor/graphicpart/partdynamictextfield.cpp
168 : setFont(QETApp::diagramTextsFont(dom_elmt.attribute("font_size", QString::number(9)).toInt()));
218 : setFont(QETApp::diagramTextsFont(dom_element.attribute("size", QString::number(9)).toInt()));

sources/qetgraphicsitem/crossrefitem.cpp
202 : qp.setFont(QETApp::diagramTextsFont(5));
595 : /*QFont font = QETApp::diagramTextsFont(4);
602 : painter.setFont(QETApp::diagramTextsFont(5));*/
792 : painter.setFont(QETApp::diagramTextsFont(6));

sources/qetgraphicsitem/dynamicelementtextitem.cpp
1268 : m_slave_Xref_item->setFont(QETApp::diagramTextsFont(5));

sources/qetgraphicsitem/element.cpp
513 : deti->setText(dom_element.attribute("text", "_"));
514 :        deti->setFontSize(dom_element.attribute("size", QString::number(9)).toInt());
906 : comment_text->setFontSize(6);
925 : location_text->setFontSize(6);
969 : comment_text->setFontSize(6);
981 : location_text->setFontSize(6);

sources/qetgraphicsitem/elementtextitemgroup.cpp
731 : m_slave_Xref_item->setFont(QETApp::diagramTextsFont(5));

sources/richtext/richtesteditor.cpp
684 : void RichTextEditor::setFontBold(bool b)
{
    if (b)
        setFontWeight(QFont::Bold);
    else
        setFontWeight(QFont::Normal);
}

----------------------------------------

text_size
sources/conductorproperties.cpp
226 : text_size(9)
317 : text_size            = e.attribute("numsize", QString::number(9)).toInt();
388 : text_size            = settings.value(prefix + "textsize", "7").toInt();

----------------------------------------------------------------------------------
textwidth

souces/editor/graphicpart/partdynamictextfield.cpp
37 : setTextWidth(settings.value("dynamic_with", -1).toInt());
171 : setTextWidth(dom_elmt.attribute("text_width", QString::number(-1)).toDouble());

sources/qetgraphicsitem/dynamicelementtextitem.cpp
47 : setTextWidth(settings.value("dynamic_with", -1).toInt());
169 : setTextWidth(dom_elmt.attribute("text_width", QString::number(-1)).toDouble());

sources/qetgraphicsitem/element.cpp
909 : comment_text->setTextWidth(80);
927 : location_text->setTextWidth(80);
971 : comment_text->setTextWidth(80);
982 : location_text->setTextWidth(80);


-------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------
font_size

sources/editor/graphicspart/partdynamictextfield.cpp
168 : setFont(QETApp::diagramTextsFont(dom_elmt.attribute("font_size", QString::number(9)).toInt()));

sources/editor/graphicpart/parttext.cpp
61 : if (!ok || font_size < 1) font_size = 20;

sources/editor/texteditor.cpp
40 : font_size -> setRange(0, 144);

sources/qetgraphicsitem/dynamicelementtextitem.cpp
165 : dom_elmt.attribute("font_size", QString::number(9)).toInt());

sources/qetgraphicsitem/elementtextitemgroup.cpp
int font_size = 1;

sources/titleblockcell.cpp
15 : font_size = 9;
198 : font_size = -1;
------------------------------------------------------------------------

font-size
sources/aboutqet.cpp
76 : QLabel *title = new QLabel("<span style=\"font-weight:0;font-size:16pt;\">QElectroTech V " + QET::displayedVersion + "</span>");

fontsize
sources/qetgraphicsitem/element.cpp
514 : deti->setFontSize(dom_element.attribute("size", QString::number(9)).toInt());
906 : comment_text->setFontSize(6);
925 : location_text->setFontSize(6);
969 : comment_text->setFontSize(6);
981 : location_text->setFontSize(6);

Bonjour,

Installation de polices Microsoft dans gnu/linux

Pakket: ttf-mscorefonts-installer (3.6) [contrib]
https://packages.debian.org/stretch/ttf … -installer

Si vous avez également un système Windows.
Copiez ensuite le répertoire des polices Windows dans le répertoire des polices gnu/linux.
windows/fonts .............................................................../usr/share/fonts/

---------------

installing microsoft fonts in gnu / linux

Pakket: ttf-mscorefonts-installer (3.6) [contrib]
https://packages.debian.org/stretch/ttf … -installer

If you also have a windows system.
Then copy the windows fonts directory to the gnu/linux fonts directory
windows/fonts ................................../usr/share/fonts/


Erik

@McCormick

Your answer has happened too quickly.
The changes still have to be made by scorpio810(Laurent) or Joshua.

Have the source file retrieved from svn.
The changes made.
Compiles the program.

This is the result.

Hello,

Have found the solution after a long time.
See Forum Progamming Code





Erik

82

(1 replies, posted in Code)

Bonjour,

sources/qetgraphicsitem/conductor.cpp

À la ligne 884
/**
 * @brief Conductor::nearShape
 * @return : An area in which it is considered a point is near this conductor.
 */
QPainterPath Conductor::nearShape() const
{
    QPainterPathStroker pps;
    pps.setWidth(120);   nomicons/devil 
    pps.setJoinStyle(conductor_pen.joinStyle());
    return pps.createStroke(path());
}

----

En augmentant la valeur de QPainterPathStroker setWidth , l’étiquette du conductor peut être déplacée davantage.
Dans le fichier sources/qetgraphicsitem/conductor.cpp
À la ligne 891 ; pps.setWidth(120);
à  ; pps.setWidth(1300);    nomicons/smile

----

By increasing the value of QPainterPathStroker setWidth, the conductor label can be moved further.

In the file sources/qetgraphicsitem/conductor.cpp

At line 891; pps.setWidth(120);
to pps.setWidth(1300); nomicons/smile



Erik

Bonjour,

@scorpio810 (Laurent)
Merci
Thanks

Erik

Bonjour,

@scorpio810

Pouvez-vous créer une programmation de forum?
Il est prévu que d’autres personnes puissent coopérer et donner des conseils avec le code source.

Pouvez-vous changer le topic Compiter ; Compile QET (Bar Fourre-tout) de moi dans aboutqet.cpp et le déplacer vers la programmation du forum.

-------------------
Can you create a forum programming?
It is intended that other people can cooperate and give tips with the source code.
Can you change the topic Compiter ; Compile QET(Bar Fourre-tout) of me in aboutqet.cpp and move it to the forum programming.

Erik

85

(5 replies, posted in Code)

@scorpio810 : Have you tried it on litle screen ?

Yes, (Qui) nomicons/smile

16:9 screen (écran)

1280 X 720 ; HD-ready = tv



16:10 screen ( écran)
 
1680 X 1050 ; my maximum screen size ; ma taille d'écran maximale
1440 X 900
1280 X 800

86

(5 replies, posted in Code)

Photo 2, Picture 2

87

(5 replies, posted in Code)

j'ai changer le withsize dans sources/aboutqet.ccp
voir les photos
Dans le fichier aboutqet.cpp, les éléments suivants ont été modifiés.
À la ligne 37; setFixedSize (700, 600); photo 1
à setFixedSize (1200, 600); photo 2

Dans la ligne 61; scrollArea->setFixedSize (590, 590); photo 1
à scrollArea->setFixedSize (1090, 590); photo 2

---------------------------------------------------------------
i have change the withsize in sources/aboutqet.cpp
see pictures

in the file aboutqet.cpp the following has changed.
In line 37; setFixedSize (700, 600); picture 1
to setFixedSize (1200, 600); picture 2

In line 61; scrollArea->setFixedSize (590, 590); picture 1
To scrollArea->setFixedSize (1090, 590); picture 2
----------------------------------------------------------------
photo 1, picture 1

Hi Nuri,

You can install deb files in ubuntu
https://www.cyberciti.biz/faq/ubuntu-li … -packages/
This is in terminal

I see that you no problems have in debian.
There are two QET v0.6 debian files.
https://qelectrotech.org/download.html
I advise you to take Debian packages and not HiDPI packages.

The file QET v0.5 is also not for Hidpi and it works for you.

Hi Nuri,

i hope that dit can help you.

xdpyinfo | grep dots

https://www.pcworld.com/article/2911509 … plays.html

You can set the dpi dots and the scaling factor.


use Unity-tweak-tool
https://www.debugpoint.com/2016/05/how- … ial-xerus/

Use gnome-tweak-tool
gnome
https://askubuntu.com/questions/60044/h … i-settings
https://www.onetransistor.eu/2014/09/ch … buntu.html
https://www.makeuseof.com/tag/configure … weak-tool/

HI Nuri,

Can you check your display resolution ?

1980X1080 is not fulHD but 1920X1080 ( 16:9 )

This is in the elements editor
When I right click with the mouse on the terminal a menu opens.
Unfortunately, it is not here to input the text.
In the information widget , the text input and the text x and y coördinates are also not there.
Can this be added?
Is this done,then I think that the problem is solved.

92

(8 replies, posted in Elements)

Bonjour,

Lors de la génération de listes de câbles et de listes de câbles et de listes de borniers, cela pose toujours un problème.
Vous avez toujours un problème avec le générateur de bornier.

C'est parce que le problème est avec les éléments.
Le texte qui appartient au terminal n'est pas lié.
C'est un texte à un seul état.

Par conséquent, l'éditeur d'éléments doit être ajusté.


Si vous avez un élément comme disjoncteur magnéto thermique GV avec 6 bornes.
Un élément comme référence a également un terminal
Le texte doit être lié au terminal et non pas en tant que texte unique.
visible ou invisible.

J'ai déjà mentionné ce problème.
voir
https://qelectrotech.org/forum/viewtopic.php?id=1007
Re: Des idées pour résoudre la création de blocs terminaux
2017-02-20 23:53:34

https://qelectrotech.org/forum/viewtopic.php?id=1011
et sujet: l'éditeur d'élément


Il n'y a pas de problème avec KiCad.
Installez ce programme une fois.
Ensuite, vous voyez ce que je veux dire


-----------


When generating cable lists and wire lists and terminal block lists, this still causes a problem.
You still have a problem with the terminal block generator.

This is because the problem is with the elements.
The text that belongs to the terminal is not linked.
It is a single-state text.

Therefore, the element editor must be adjusted.


If you have an element as a magneto thermal circuit breaker GV with 6 terminals.
An element as reference also has a terminal
The text must be linked to the terminal and not as a single text.
visible or invisible.

I have already mentioned this problem.
see
https://qelectrotech.org/forum/viewtopic.php?id=1007
Re: Ideas to solve Terminal Blocks creation
2017-02-20 23:53:34

https://qelectrotech.org/forum/viewtopic.php?id=1011
and Topic: l'éditeur d'élément


There is no problem in KiCad.
Install this program once.
Then you see what I mean


Erik

Ceci est un exemple de raccourcis sur un bureau Windows.

Bonjour,
Bonsoir,

Tuto Windows 7

https://www.youtube.com/watch?v=3MwySsMMxus


Tuto Windows 10
https://www.youtube.com/watch?v=qOqUJI6y_qU

95

(554 replies, posted in News)

Bonjour,
Bonsoir,


QET est un programme de dessin et non un programme de base de données.

Vous créez une grande base de données.
Cette information peut être mieux saisie dans un autre programme.

libre Calc
genumeric
...............

le nom du FABRICANT, la référence, le numéro , ..............

Joshua écrit

Ok je n'avais pas compris qu'il était question du code.
Pour ma part, je développe QET avec QtCreator, qui dispose d'un outil de recherche assez puissant (par mots, mais aussi recherché les classes, fonctions de classe, enum etc....).

--------------------

A partir de maintenant, j'utilise aussi QtCreator.
QtCreator est un outil très puissant.
L'éditeur peut également être utilisé pour les fichiers communs.

.csv , .xml , ........

@scorpio810 :

Merci pour votre explication.

@ Joshua ,

Vous devez voir le " texte " dans un sens différent.

Vous avez un grand programme qui n'est pas écrit par vous-même.
Mais aussi par d'autres personnes.

Il faut aller chercher une variable dans le grand programme.
Mais on ne sait pas où cela se trouve.



Allez donner quelques exemples:

J'ai des problèmes avec mes yeux et je veux agrandir la taille de la police.
Par conséquent, j'utilise des mots pour rechercher la cyfre. ( 0,1,2,3......)

diagramsize , font_size , set font , set font size , text_size , textsize , 
Voici tous un nombre pour

Erik

Bonjour ,

Installez  : Geany
Ouvrir : Geany
Allez dans Rechercher dans la barre de menu et ouvrez-le.
Aller à la recherche dans les fichiers et l'ouvrir
Remplissez les détails.
Vérifiez également Daal dans les sous-dossiers.

-----------------

Malheureusement, je ne peux pas vous le montrer.
Je n'ai pas la langue française.

Bonjour,
@scorpio810 :

Merci pour votre explication.

Maintenant, je vois que qt5.9.2 est pour le bit 64 et n'est pas encore pour le bit 32