4,051

(554 replies, posted in News)

galexis wrote:

Crash de QET lors de l'export ....

Les crashs lors de l'export DXF sont  provoqués par les pages sommaires, il suffit de les décocher ou les supprimer et les re générer avant l'export.

4,052

(554 replies, posted in News)

  Revision: 5794
Author:   blacksun
Date:     2019-03-16 20:13:46 +0100 (Sat, 16 Mar 2019)
Log Message:
-----------
Fix DXF export

4,053

(554 replies, posted in News)

We added KCoreAddons dependency in latest source code.

Revision: 5788
Author:   blacksun
Date:     2019-03-16 11:50:30 +0100 (Sat, 16 Mar 2019)
Log Message:
-----------
Use KAutoSaveFile for the backup system, instead of home made function.

For mainstream packagers or for compiling sources you need libkf5coreaddons-dev/kf5-kcoreaddons-devel libs.

Btw, macOS build fails with latest frameworks, 5.56 like this issue : https://github.com/KDE-mac/homebrew-kde/issues/285


t/5.12.1/lib -framework QtSvg -framework QtWidgets -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework QtPrintSupport -L/usr/local/Cellar/kf5-kwidgetsaddons/5.56.0_1/lib -lKF5WidgetsAddons -framework QtNetwork -framework QtXml -framework QtSql -framework QtConcurrent -L/usr/local/Cellar/kf5-kcoreaddons/5.56.0_1/lib -lKF5CoreAddons -framework OpenGL -framework AGL   
Undefined symbols for architecture x86_64:
  "KColorButton::setColor(QColor const&)", referenced from:
      ConductorPropertiesWidget::setProperties(ConductorProperties const&) in conductorpropertieswidget.o
      ShapeGraphicsItemPropertiesWidget::updateUi() in shapegraphicsitempropertieswidget.o
      DynamicTextFieldEditor::updateForm() in dynamictextfieldeditor.o
      TextEditor::updateForm() in texteditor.o
  "KColorButton::KColorButton(QWidget*)", referenced from:
      Ui_ConductorPropertiesWidget::setupUi(QWidget*) in conductorpropertieswidget.o
      Ui_ShapeGraphicsItemPropertiesWidget::setupUi(QWidget*) in shapegraphicsitempropertieswidget.o
      Ui_DynamicTextFieldEditor::setupUi(QWidget*) in dynamictextfieldeditor.o
      Ui_TextEditor::setupUi(QWidget*) in texteditor.o
  "KAutoSaveFile::allStaleFiles(QString const&)", referenced from:
      QETApp::checkBackupFiles() in qetapp.o
  "KAutoSaveFile::KAutoSaveFile(QUrl const&, QObject*)", referenced from:
      QETProject::setFilePath(QString const&) in qetproject.o
  "KColorButton::color() const", referenced from:
      ConductorPropertiesWidget::properties() const in conductorpropertieswidget.o
      ShapeGraphicsItemPropertiesWidget::associatedUndo() const in shapegraphicsitempropertieswidget.o
  "KAutoSaveFile::managedFile() const", referenced from:
      QETApp::checkBackupFiles() in qetapp.o
      QETDiagramEditor::openBackupFiles(QList<KAutoSaveFile*>) in qetdiagrameditor.o
      QETProject::QETProject(KAutoSaveFile*, QObject*) in qetproject.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [qelectrotech.app/Contents/MacOS/qelectrotech] Error 1

Btw, backup files is stored on ~.local/share/stalefiles/QElectroTech on Linux.
C:\Users\username\AppData\Local\stalefiles\QElectroTech on Windows
/Users/username/Library/Application Support/stalefiles/QElectroTech/ on macOS
 

En fait tu as l'outil auto-connexion qui fais déjà le boulot.
C'est tres pratique pour relier automatiquement les contacts contacteurs sous leurs départ moteurs par exemple...

L'outil "free hand" n'as pas été prévu pour cela  -> il connecte toutes bornes sélectionnées, donc il n'est pas conseillé pour connecter des éléments bipolaire, tripolaire, etc. entre eux.

Nuri wrote:

vu ta dernière capture d'écran, j'ai l'impression que tu dessines un élément pour un bornier complet.
Il aurait mieux fallu créer un élément pour une borne, c'est beaucoup plus facile à l'utilisation.

Exemple sur ce projet ou le plug-in n'existait pas encore, chaque borne de bornier est un élément :

https://download.qelectrotech.org/qet/s … a_bois.pdf

Une autre question ; est-il possible, avec les textes composés, de faire une opération mathématique?

Non, ce n'est pas possible, ce n'est vu que comme du texte simple.

En fait ça n'est pas le bornier généré par Qet (que je ne connais pas, la honte!) 

Exemple de projet ou les borniers ont été générés par le plug-in  qet_tb_generator, avec ajout de texte dynamiques sur les borniers (en fin de projet) :

 https://download.qelectrotech.org/qet/s … 19.qet.pdf

Bonjour Tristan,

une ou des captures d’écran aiderai a mieux comprendre ton souci.
Ton problème concerne les borniers générés par le plug-in Python ?, si oui il faut passer par l’éditeur d’élément pour modifier les textes statiques, ou si tu as fait des modifs dans tes schémas relancer le générateur de borniers et remplacer les borniers sur tes schémas.

@ Nuri :

It's easy to have SolidLine for basic shape to default.

Patch :

--- sources/qetgraphicsitem/qetshapeitem.cpp
+++ sources/qetgraphicsitem/qetshapeitem.cpp
@@ -45,7 +45,7 @@
  if (type == Polygon) m_polygon << m_P1 << m_P2;
     setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemSendsGeometryChanges);
  setAcceptHoverEvents(true);
- m_pen.setStyle(Qt::DashLine);
+ m_pen.setStyle(Qt::SolidLine);
  //ensure handlers are always above this item
  connect(this, &QetShapeItem::zChanged, [this]()
  {

Other Vidéos you can see :
https://www.youtube.com/user/scorpio8101/videos

Best regards,
Laurent

4,062

(554 replies, posted in News)

All config texts are now in a same config page.
FYI, Underline and Dashed texts now work.
https://download.qelectrotech.org/qet/forum_img/new-config-text.png

Hi, 

you confond conductors and the basic shapes, isn't the same.


See this Videos, they can help you.
https://qelectrotech.org/forum/viewtopic.php?id=1075 

4,064

(7 replies, posted in EN : Help, suggestions, discussions, ...)

Hi, you need to edit your title block with title block editor and add these variable.

4,065

(554 replies, posted in News)

Well, fixed macOS build with new kf5-kwidgetsaddons dependency:
https://github.com/KDE-mac/homebrew-kde

-F/usr/local/Cellar/qt/5.12.1/lib -framework QtSvg -framework QtWidgets -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework QtPrintSupport -L/usr/local/Cellar/kf5-kwidgetsaddons/5.55.0/lib -lKF5WidgetsAddons -framework QtNetwork -framework QtXml -framework QtSql -framework QtConcurrent -framework OpenGL -framework AGL   

4,066

(12 replies, posted in EN : Help, suggestions, discussions, ...)

can i set for default size?

Yes, see in config for next dynamic text added.

https://download.qelectrotech.org/qet/forum_img/text_config.png

4,067

(554 replies, posted in News)

FYI, Joshua just added some kdeframeworks librairies dependencies in the last trunk commits (0.7-devel).
For compiling sources you need libkf5widgetsaddons-dev/kf5-kwidgetsaddons-devel libs.
I think is perhaps a good point for future devellopement and new features, like add some good librairies found at https://inqlude.org/ (KArchive, QFTp, KIO).

For AppImage I return to Qt 5.7.1 version, I don't want to compil all kdeframeworks dependencies with my latest Qt 5.12.1 install.
For MXE Windows cross-compiler I use a MXE fork https://github.com/vpinon/mxe.git, thanks Vincent.
For Mac OS, I don't found a solution yet.

Revision: 5756
Author:   blacksun
Date:     2019-03-04 16:34:42 +0100 (Mon, 04 Mar 2019)
Log Message:
-----------
Diagram editor : dock used to edit the shape item, can now edit several items in the same time

Have you inspected your hardware on this machine?, now it's very difficult to crash QET.
What your distro?

4,070

(7 replies, posted in EN : Help, suggestions, discussions, ...)

No, these variables was added only on 0.7-dev, not on the 0.6, sorry.

You could try 0.7-dev  version : autosaving 

* QET create a backup file, use to restore the project when a crash occur.
* User can enable and edit autosave timer.

You can try 0.7-dev AppImage, just wget and make it executable (chmod a+x QElectroTech_0.*.AppImage) and click for launching..

https://download.qelectrotech.org/qet/builds/AppImage/

4,072

(7 replies, posted in EN : Help, suggestions, discussions, ...)

Hi,

yes you can add on your titleblock this variable (0.7-dev after Revision: 5664) :

%{previous-folio-num}
%{next-folio-num}

https://download.qelectrotech.org/qet/forum_img/next-folio.png
https://download.qelectrotech.org/qet/forum_img/next-folio2.png

Hi,

no solution for now, nothing is coded for that yet.

4,074

(11 replies, posted in Code)

nomicons/smile

4,075

(2 replies, posted in EN : Help, suggestions, discussions, ...)

In settings -> display:  see if "Cell properties" is checked.