126

(317 replies, posted in News)

Joshua wrote:

Oui j'ai supprimé les éléments car en doublons uniquement pour des références. Alors bien sur je comprend que cela fait gagné beaucoup de temps donc un dépôt contrib est la bonne solution.
Je ferais un PR sur le nouveau dépôts si je supprime d'autre éléments.

joshua, can I have a look to create svg in the element
and further customize the element
to a graphic and a data lib?

I would therefore remove the elements from the repo
splits the repo into the source code and elements
but this idea still needs some time..


draft: convert script

# make submodule qelectrotech-elements of the qelectrotech-source
git clone https://github.com/De-Backer/qelectrotech-source-mirror.git qelectrotech-elements
 
cd qelectrotech-elements
 
# remove all (git and file's) except elements dir
# note! see: https://git-scm.com/docs/git-filter-branch
git filter-branch --prune-empty --subdirectory-filter elements/ -- master
 
git remote add https://github.com/De-Backer/qelectrotech-elements.git
 
git push qelectrotech-elements master
 
cd .

to create a submodule for the elements I'm still in doubt, why: "git filter-branch" is a git history rewrite tool

see: https://github.com/De-Backer/qelectrote … its/master
for the result

instead of 1 repo with elements I want to extend this to multiple repo's

eg: https://docs.librepcb.org/#gettingstart … ries-local


a repo then contains elements and manufacturers data eg:

data elements
- uuid
- svg =>line... (svg file)
- dynamic_text
  * orientation
  * X
  * Y
  * uuid
- terminal
  * orientation
  * X
  * Y
  * uuid
data manufacturers
- uuid element
  * uuid manufacturer
    ° names
    ° elementInformations
    ° uuid dynamic_text
      > data
    ° uuid terminal
      > naam
  * uuid manufacturer
    ° names
    ° elementInformations
    ° uuid dynamic_text
      > data
    ° uuid terminal
      > naam

update

if you store the "uuid manufacturer" in the schematic
then you can link everything

or:

data elements
- uuid
- svg =>line...(svg file)
data manufacturers
- uuid manufacturer
  *uuid element
    ° names
    ° elementInformations
    ° dynamic_text
      > uuid
      > orientation
      > X
      > Y
      > data
    ° terminal
      > uuid
      > orientation
      > X
      > Y
      > naam
- uuid manufacturer
  *uuid element
    ° names
    ° elementInformations
    ° dynamic_text
      > uuid
      > orientation
      > X
      > Y
      > data
    ° terminal
      > uuid
      > orientation
      > X
      > Y
      > naam

link the elements => master slave
https://youtu.be/Mh8jiuTkFC0

and you still have to be patient for the cable harness.

it is one of the goals of the developers.
see:

Joshua wrote:

-Voici comment je souhaite l’avenir de QElectrotech :
Dans un premier temps, finir les fonctionnalités de base c'est à dire :
-Générateur de bornier (c'est que je code pour la 0.9)
-Gestion et générateur de câble.
-Structure de projet selon la norme la norme IEC 81346.

-Management and cable generator.

it was requested to develop the functionality as quickly as possible
and then rewrite the code.

it is required to know QET and how the new functionality should work, this is not possible for new developers

and that is why development is so slow

topic
https://qelectrotech.org/forum/viewtopic.php?id=706

129

(8 replies, posted in Code)

update:
I got info from Joshua for the future of QET and I will adjust this further
- the structure of a project from 1 qet file to a zipped folder project
- ....
I will further adapt the inner workings to allow this new concept of zip file

Datafile (Memory mapped file) QT wikipedia

file

130

(317 replies, posted in News)

it would appear that Laurent has released the release candidate

https://git.tuxfamily.org/qet/qet.git/c … 865f67776a
https://git.tuxfamily.org/qet/qet.git/tag/?id=0.8.rc

Last chance to find bugs.

131

(90 replies, posted in Code)

the current Cmake file

cmake_minimum_required(VERSION 3.5)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(KF5WidgetsAddons)

find_package(
    QT
   NAMES
    Qt6
    Qt5
   COMPONENTS
    Widgets
    Concurrent
    Xml
    Svg
    Network
    Sql
    PrintSupport
   REQUIRED
   )
find_package(
    Qt${QT_VERSION_MAJOR}
   COMPONENTS
    Widgets
    Concurrent
    Xml
    Svg
    Network
    Sql
    PrintSupport
   REQUIRED
   )
qt_wrap_ui(
  autoNum/ui/autonumberingdockwidget.cpp
  autoNum/ui/autonumberingdockwidget.h
  autoNum/ui/autonumberingdockwidget.ui)
qt_wrap_ui(
  autoNum/ui/autonumberingmanagementw.cpp
  autoNum/ui/autonumberingmanagementw.h
  autoNum/ui/autonumberingmanagementw.ui)
qt_wrap_ui(
  autoNum/ui/folioautonumbering.cpp
  autoNum/ui/folioautonumbering.h
  autoNum/ui/folioautonumbering.ui)
qt_wrap_ui(
  autoNum/ui/formulaautonumberingw.cpp
  autoNum/ui/formulaautonumberingw.h
  autoNum/ui/formulaautonumberingw.ui)
qt_wrap_ui(
  autoNum/ui/numparteditorw.cpp
  autoNum/ui/numparteditorw.h
  autoNum/ui/numparteditorw.ui)
qt_wrap_ui(
  autoNum/ui/selectautonumw.cpp
  autoNum/ui/selectautonumw.h
  autoNum/ui/selectautonumw.ui)
qt_wrap_ui(
  dataBase/ui/elementquerywidget.cpp
  dataBase/ui/elementquerywidget.h
  dataBase/ui/elementquerywidget.ui)
qt_wrap_ui(
  dataBase/ui/summaryquerywidget.cpp
  dataBase/ui/summaryquerywidget.h
  dataBase/ui/summaryquerywidget.ui)
qt_wrap_ui(
  editor/ui/dynamictextfieldeditor.cpp
  editor/ui/dynamictextfieldeditor.h
  editor/ui/dynamictextfieldeditor.ui)
qt_wrap_ui(
  editor/ui/elementpropertieseditorwidget.cpp
  editor/ui/elementpropertieseditorwidget.h
  editor/ui/elementpropertieseditorwidget.ui)
qt_wrap_ui(
  editor/ui/ellipseeditor.cpp
  editor/ui/ellipseeditor.h
  editor/ui/ellipseeditor.ui)
qt_wrap_ui(
  editor/ui/lineeditor.cpp
  editor/ui/lineeditor.h
  editor/ui/lineeditor.ui)
qt_wrap_ui(
  editor/ui/polygoneditor.cpp
  editor/ui/polygoneditor.h
  editor/ui/polygoneditor.ui)
qt_wrap_ui(
  editor/ui/rectangleeditor.cpp
  editor/ui/rectangleeditor.h
  editor/ui/rectangleeditor.ui)
qt_wrap_ui(
  editor/ui/texteditor.cpp
  editor/ui/texteditor.h
  editor/ui/texteditor.ui)
qt_wrap_ui(
  ElementsCollection/ui/renamedialog.cpp
  ElementsCollection/ui/renamedialog.h
  ElementsCollection/ui/renamedialog.ui)
qt_wrap_ui(
  factory/ui/addtabledialog.cpp
  factory/ui/addtabledialog.h
  factory/ui/addtabledialog.ui)
qt_wrap_ui(
  NameList/ui/namelistdialog.cpp
  NameList/ui/namelistdialog.h
  NameList/ui/namelistdialog.ui)
qt_wrap_ui(
  NameList/ui/namelistwidget.cpp
  NameList/ui/namelistwidget.h
  NameList/ui/namelistwidget.ui)
qt_wrap_ui(
  print/projectprintwindow.cpp
  print/projectprintwindow.h
  print/projectprintwindow.ui)
qt_wrap_ui(
  PropertiesEditor/propertieseditordockwidget.cpp
  PropertiesEditor/propertieseditordockwidget.h
  PropertiesEditor/propertieseditordockwidget.ui)
qt_wrap_ui(
  qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.cpp
  qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.h
  qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.ui)
qt_wrap_ui(
  qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.cpp
  qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.h
  qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.ui)
#qt_wrap_ui()
qt_wrap_ui(
  SearchAndReplace/ui/replaceadvanceddialog.cpp
  SearchAndReplace/ui/replaceadvanceddialog.h
  SearchAndReplace/ui/replaceadvanceddialog.ui)
qt_wrap_ui(
  SearchAndReplace/ui/replaceconductordialog.cpp
  SearchAndReplace/ui/replaceconductordialog.h
  SearchAndReplace/ui/replaceconductordialog.ui)
qt_wrap_ui(
  SearchAndReplace/ui/replaceelementdialog.cpp
  SearchAndReplace/ui/replaceelementdialog.h
  SearchAndReplace/ui/replaceelementdialog.ui)
qt_wrap_ui(
  SearchAndReplace/ui/replacefoliowidget.cpp
  SearchAndReplace/ui/replacefoliowidget.h
  SearchAndReplace/ui/replacefoliowidget.ui)
qt_wrap_ui(
  SearchAndReplace/ui/searchandreplacewidget.cpp
  SearchAndReplace/ui/searchandreplacewidget.h
  SearchAndReplace/ui/searchandreplacewidget.ui)
qt_wrap_ui(
  ui/aboutqetdialog.cpp
  ui/aboutqetdialog.h
  ui/aboutqetdialog.ui)
qt_wrap_ui(
  ui/alignmenttextdialog.cpp
  ui/alignmenttextdialog.h
  ui/alignmenttextdialog.ui)
qt_wrap_ui(
  ui/bomexportdialog.cpp
  ui/bomexportdialog.h
  ui/bomexportdialog.ui)
qt_wrap_ui(
  ui/borderpropertieswidget.cpp
  ui/borderpropertieswidget.h
  ui/borderpropertieswidget.ui)
qt_wrap_ui(
  ui/compositetexteditdialog.cpp
  ui/compositetexteditdialog.h
  ui/compositetexteditdialog.ui)
qt_wrap_ui(
  ui/conductorpropertiesdialog.cpp
  ui/conductorpropertiesdialog.h
  ui/conductorpropertiesdialog.ui)
qt_wrap_ui(
  ui/conductorpropertieswidget.cpp
  ui/conductorpropertieswidget.h
  ui/conductorpropertieswidget.ui)
qt_wrap_ui(
  ui/configsaveloaderwidget.cpp
  ui/configsaveloaderwidget.h
  ui/configsaveloaderwidget.ui)
qt_wrap_ui(
  ui/diagramcontextwidget.cpp
  ui/diagramcontextwidget.h
  ui/diagramcontextwidget.ui)
qt_wrap_ui(
  ui/diagramselection.cpp
  ui/diagramselection.h
  ui/diagramselection.ui)
qt_wrap_ui(
  ui/dialogwaiting.cpp
  ui/dialogwaiting.h
  ui/dialogwaiting.ui)
qt_wrap_ui(
  ui/dynamicelementtextitemeditor.cpp
  ui/dynamicelementtextitemeditor.h
  ui/dynamicelementtextitemeditor.ui)
qt_wrap_ui(
  ui/elementinfopartwidget.cpp
  ui/elementinfopartwidget.h
  ui/elementinfopartwidget.ui)
qt_wrap_ui(
  ui/elementinfowidget.cpp
  ui/elementinfowidget.h
  ui/elementinfowidget.ui)
qt_wrap_ui(
  ui/formulaassistantdialog.cpp
  ui/formulaassistantdialog.h
  ui/formulaassistantdialog.ui)
qt_wrap_ui(
  ui/imagepropertieswidget.cpp
  ui/imagepropertieswidget.h
  ui/imagepropertieswidget.ui)
qt_wrap_ui(
  ui/importelementdialog.cpp
  ui/importelementdialog.h
  ui/importelementdialog.ui)
qt_wrap_ui(
  ui/importelementtextpatterndialog.cpp
  ui/importelementtextpatterndialog.h
  ui/importelementtextpatterndialog.ui)
qt_wrap_ui(
  ui/inditextpropertieswidget.cpp
  ui/inditextpropertieswidget.h
  ui/inditextpropertieswidget.ui)
qt_wrap_ui(
  ui/linksingleelementwidget.cpp
  ui/linksingleelementwidget.h
  ui/linksingleelementwidget.ui)
qt_wrap_ui(
  ui/marginseditdialog.cpp
  ui/marginseditdialog.h
  ui/marginseditdialog.ui)
qt_wrap_ui(
  ui/masterpropertieswidget.cpp
  ui/masterpropertieswidget.h
  ui/masterpropertieswidget.ui)
qt_wrap_ui(
  ui/multipastedialog.cpp
  ui/multipastedialog.h
  ui/multipastedialog.ui)
qt_wrap_ui(
  ui/potentialselectordialog.cpp
  ui/potentialselectordialog.h
  ui/potentialselectordialog.ui)
qt_wrap_ui(
  ui/reportpropertiewidget.cpp
  ui/reportpropertiewidget.h
  ui/reportpropertiewidget.ui)
qt_wrap_ui(
  ui/shapegraphicsitempropertieswidget.cpp
  ui/shapegraphicsitempropertieswidget.h
  ui/shapegraphicsitempropertieswidget.ui)
qt_wrap_ui(
  ui/titleblockpropertieswidget.cpp
  ui/titleblockpropertieswidget.h
  ui/titleblockpropertieswidget.ui)
qt_wrap_ui(
  ui/xrefpropertieswidget.cpp
  ui/xrefpropertieswidget.h
  ui/xrefpropertieswidget.ui)
qt_wrap_ui(
  ui/configpage/generalconfigurationpage.cpp
  ui/configpage/generalconfigurationpage.h
  ui/configpage/generalconfigurationpage.ui)

add_executable(
  ${PROJECT_NAME}
  borderproperties.cpp
  borderproperties.h
  bordertitleblock.cpp
  bordertitleblock.h
  conductorautonumerotation.cpp
  conductorautonumerotation.h
  conductornumexport.cpp
  conductornumexport.h
  conductorprofile.cpp
  conductorprofile.h
  conductorproperties.cpp
  conductorproperties.h
  conductorsegment.cpp
  conductorsegment.h
  conductorsegmentprofile.h
  configdialog.cpp
  configdialog.h
  configpage.h
  configpages.cpp
  configpages.h
  createdxf.cpp
  createdxf.h
  diagramcommands.cpp
  diagramcommands.h
  diagramcontent.cpp
  diagramcontent.h
  diagramcontext.cpp
  diagramcontext.h
  diagram.cpp
  diagram.h
  diagramposition.cpp
  diagramposition.h
  diagramview.cpp
  diagramview.h
  elementdialog.cpp
  elementdialog.h
  elementprovider.cpp
  elementprovider.h
  elementscategoryeditor.cpp
  elementscategoryeditor.h
  elementscollectioncache.cpp
  elementscollectioncache.h
  elementsmover.cpp
  elementsmover.h
  elementspanel.cpp
  elementspanel.h
  elementspanelwidget.cpp
  elementspanelwidget.h
  elementtextpattern.cpp
  elementtextpattern.h
  elementtextsmover.cpp
  elementtextsmover.h
  exportdialog.cpp
  exportdialog.h
  exportproperties.cpp
  exportproperties.h
  exportpropertieswidget.cpp
  exportpropertieswidget.h
  genericpanel.cpp
  genericpanel.h
  machine_info.cpp
  machine_info.h
  main.cpp
  newelementwizard.cpp
  newelementwizard.h
  projectconfigpages.cpp
  projectconfigpages.h
  projectview.cpp
  projectview.h
  qetapp.cpp
  qetapp.h
  qetarguments.cpp
  qetarguments.h
  qet.cpp
  qetdiagrameditor.cpp
  qetdiagrameditor.h
  qet.h
  qeticons.cpp
  qeticons.h
  qetinformation.cpp
  qetinformation.h
  qetmainwindow.cpp
  qetmainwindow.h
  qetmessagebox.cpp
  qetmessagebox.h
  qetproject.cpp
  qetproject.h
  qetregexpvalidator.cpp
  qetregexpvalidator.h
  qetresult.cpp
  qetresult.h
  qetxml.cpp
  qetxml.h
  qfilenameedit.cpp
  qfilenameedit.h
  qgimanager.cpp
  qgimanager.h
  qtextorientationspinboxwidget.cpp
  qtextorientationspinboxwidget.h
  qtextorientationwidget.cpp
  qtextorientationwidget.h
  recentfiles.cpp
  recentfiles.h
  titleblockcell.cpp
  titleblockcell.h
  titleblockproperties.cpp
  titleblockproperties.h
  titleblocktemplate.cpp
  titleblocktemplate.h
  titleblocktemplaterenderer.cpp
  titleblocktemplaterenderer.h

  autoNum/assignvariables.cpp
  autoNum/assignvariables.h
  autoNum/numerotationcontextcommands.cpp
  autoNum/numerotationcontextcommands.h
  autoNum/numerotationcontext.cpp
  autoNum/numerotationcontext.h
  autoNum/ui/autonumberingdockwidget.cpp
  autoNum/ui/autonumberingdockwidget.h
  autoNum/ui/autonumberingmanagementw.cpp
  autoNum/ui/autonumberingmanagementw.h
  autoNum/ui/folioautonumbering.cpp
  autoNum/ui/folioautonumbering.h
  autoNum/ui/formulaautonumberingw.cpp
  autoNum/ui/formulaautonumberingw.h
  autoNum/ui/numparteditorw.cpp
  autoNum/ui/numparteditorw.h
  autoNum/ui/selectautonumw.cpp
  autoNum/ui/selectautonumw.h

  dataBase/projectdatabase.cpp
  dataBase/projectdatabase.h

  dataBase/ui/elementquerywidget.cpp
  dataBase/ui/elementquerywidget.h
  dataBase/ui/summaryquerywidget.cpp
  dataBase/ui/summaryquerywidget.h

  diagramevent/diagrameventaddelement.cpp
  diagramevent/diagrameventaddelement.h
  diagramevent/diagrameventaddimage.cpp
  diagramevent/diagrameventaddimage.h
  diagramevent/diagrameventaddshape.cpp
  diagramevent/diagrameventaddshape.h
  diagramevent/diagrameventaddtext.cpp
  diagramevent/diagrameventaddtext.h
  diagramevent/diagrameventinterface.cpp
  diagramevent/diagrameventinterface.h

  dvevent/dveventinterface.cpp
  dvevent/dveventinterface.h

  editor/arceditor.cpp
  editor/arceditor.h
  editor/editorcommands.cpp
  editor/editorcommands.h
  editor/elementcontent.h
  editor/elementitemeditor.cpp
  editor/elementitemeditor.h
  editor/elementprimitivedecorator.cpp
  editor/elementprimitivedecorator.h
  editor/elementscene.cpp
  editor/elementscene.h
  editor/elementview.cpp
  editor/elementview.h
  editor/graphicspart
  editor/qetelementeditor.cpp
  editor/qetelementeditor.h
  editor/styleeditor.cpp
  editor/styleeditor.h
  editor/terminaleditor.cpp
  editor/terminaleditor.h

  editor/esevent/eseventaddarc.cpp
  editor/esevent/eseventaddarc.h
  editor/esevent/eseventadddynamictextfield.cpp
  editor/esevent/eseventadddynamictextfield.h
  editor/esevent/eseventaddellipse.cpp
  editor/esevent/eseventaddellipse.h
  editor/esevent/eseventaddline.cpp
  editor/esevent/eseventaddline.h
  editor/esevent/eseventaddpolygon.cpp
  editor/esevent/eseventaddpolygon.h
  editor/esevent/eseventaddrect.cpp
  editor/esevent/eseventaddrect.h
  editor/esevent/eseventaddterminal.cpp
  editor/esevent/eseventaddterminal.h
  editor/esevent/eseventaddtext.cpp
  editor/esevent/eseventaddtext.h
  editor/esevent/eseventinterface.cpp
  editor/esevent/eseventinterface.h

  editor/graphicspart/abstractpartellipse.cpp
  editor/graphicspart/abstractpartellipse.h
  editor/graphicspart/customelementgraphicpart.cpp
  editor/graphicspart/customelementgraphicpart.h
  editor/graphicspart/customelementpart.cpp
  editor/graphicspart/customelementpart.h
  editor/graphicspart/partarc.cpp
  editor/graphicspart/partarc.h
  editor/graphicspart/partdynamictextfield.cpp
  editor/graphicspart/partdynamictextfield.h
  editor/graphicspart/partellipse.cpp
  editor/graphicspart/partellipse.h
  editor/graphicspart/partline.cpp
  editor/graphicspart/partline.h
  editor/graphicspart/partpolygon.cpp
  editor/graphicspart/partpolygon.h
  editor/graphicspart/partrectangle.cpp
  editor/graphicspart/partrectangle.h
  editor/graphicspart/partterminal.cpp
  editor/graphicspart/partterminal.h
  editor/graphicspart/parttext.cpp
  editor/graphicspart/parttext.h

  editor/ui/dynamictextfieldeditor.cpp
  editor/ui/dynamictextfieldeditor.h
  editor/ui/elementpropertieseditorwidget.cpp
  editor/ui/elementpropertieseditorwidget.h
  editor/ui/ellipseeditor.cpp
  editor/ui/ellipseeditor.h
  editor/ui/lineeditor.cpp
  editor/ui/lineeditor.h
  editor/ui/polygoneditor.cpp
  editor/ui/polygoneditor.h
  editor/ui/rectangleeditor.cpp
  editor/ui/rectangleeditor.h
  editor/ui/texteditor.cpp
  editor/ui/texteditor.h

  editor/UndoCommand/pastepartscommand.cpp
  editor/UndoCommand/pastepartscommand.h

  ElementsCollection/elementcollectionhandler.cpp
  ElementsCollection/elementcollectionhandler.h
  ElementsCollection/elementcollectionitem.cpp
  ElementsCollection/elementcollectionitem.h
  ElementsCollection/elementscollectionmodel.cpp
  ElementsCollection/elementscollectionmodel.h
  ElementsCollection/elementscollectionwidget.cpp
  ElementsCollection/elementscollectionwidget.h
  ElementsCollection/elementslocation.cpp
  ElementsCollection/elementslocation.h
  ElementsCollection/elementstreeview.cpp
  ElementsCollection/elementstreeview.h
  ElementsCollection/fileelementcollectionitem.cpp
  ElementsCollection/fileelementcollectionitem.h
  ElementsCollection/xmlelementcollection.cpp
  ElementsCollection/xmlelementcollection.h
  ElementsCollection/xmlprojectelementcollectionitem.cpp
  ElementsCollection/xmlprojectelementcollectionitem.h


  ElementsCollection/ui/renamedialog.cpp
  ElementsCollection/ui/renamedialog.h

  factory/elementfactory.cpp
  factory/elementfactory.h
  factory/elementpicturefactory.cpp
  factory/elementpicturefactory.h
  factory/propertieseditorfactory.cpp
  factory/propertieseditorfactory.h
  factory/qetgraphicstablefactory.cpp
  factory/qetgraphicstablefactory.h

  factory/ui/addtabledialog.cpp
  factory/ui/addtabledialog.h

  NameList/nameslist.cpp
  NameList/nameslist.h

  NameList/ui/namelistdialog.cpp
  NameList/ui/namelistdialog.h
  NameList/ui/namelistwidget.cpp
  NameList/ui/namelistwidget.h

  print/projectprintwindow.cpp
  print/projectprintwindow.h

  properties/propertiesinterface.cpp
  properties/propertiesinterface.h
  properties/reportproperties.cpp
  properties/reportproperties.h
  properties/terminaldata.cpp
  properties/terminaldata.h
  properties/xrefproperties.cpp
  properties/xrefproperties.h

  PropertiesEditor/propertieseditordialog.h
  PropertiesEditor/propertieseditordockwidget.cpp
  PropertiesEditor/propertieseditordockwidget.h
  PropertiesEditor/propertieseditorwidget.cpp
  PropertiesEditor/propertieseditorwidget.h

  pugixml/pugiconfig.hpp
  pugixml/pugixml.cpp
  pugixml/pugixml.hpp

  qetgraphicsitem/conductor.cpp
  qetgraphicsitem/conductor.h
  qetgraphicsitem/conductortextitem.cpp
  qetgraphicsitem/conductortextitem.h
  qetgraphicsitem/crossrefitem.cpp
  qetgraphicsitem/crossrefitem.h
  qetgraphicsitem/diagramimageitem.cpp
  qetgraphicsitem/diagramimageitem.h
  qetgraphicsitem/diagramtextitem.cpp
  qetgraphicsitem/diagramtextitem.h
  qetgraphicsitem/dynamicelementtextitem.cpp
  qetgraphicsitem/dynamicelementtextitem.h
  qetgraphicsitem/element.cpp
  qetgraphicsitem/element.h
  qetgraphicsitem/elementtextitemgroup.cpp
  qetgraphicsitem/elementtextitemgroup.h
  qetgraphicsitem/independenttextitem.cpp
  qetgraphicsitem/independenttextitem.h
  qetgraphicsitem/masterelement.cpp
  qetgraphicsitem/masterelement.h
  qetgraphicsitem/qetgraphicsitem.cpp
  qetgraphicsitem/qetgraphicsitem.h
  qetgraphicsitem/qetshapeitem.cpp
  qetgraphicsitem/qetshapeitem.h
  qetgraphicsitem/qgraphicsitemutility.cpp
  qetgraphicsitem/qgraphicsitemutility.h
  qetgraphicsitem/reportelement.cpp
  qetgraphicsitem/reportelement.h
  qetgraphicsitem/simpleelement.cpp
  qetgraphicsitem/simpleelement.h
  qetgraphicsitem/slaveelement.cpp
  qetgraphicsitem/slaveelement.h
  qetgraphicsitem/terminal.cpp
  qetgraphicsitem/terminalelement.cpp
  qetgraphicsitem/terminalelement.h
  qetgraphicsitem/terminal.h

  qetgraphicsitem/ViewItem/projectdbmodel.cpp
  qetgraphicsitem/ViewItem/projectdbmodel.h
  qetgraphicsitem/ViewItem/qetgraphicsheaderitem.cpp
  qetgraphicsitem/ViewItem/qetgraphicsheaderitem.h
  qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp
  qetgraphicsitem/ViewItem/qetgraphicstableitem.h

  qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.cpp
  qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.h
  qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.cpp
  qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.h

  QetGraphicsItemModeler/qetgraphicshandleritem.cpp
  QetGraphicsItemModeler/qetgraphicshandleritem.h
  QetGraphicsItemModeler/qetgraphicshandlerutility.cpp
  QetGraphicsItemModeler/qetgraphicshandlerutility.h

  QPropertyUndoCommand/qpropertyundocommand.cpp
  QPropertyUndoCommand/qpropertyundocommand.h

  QWidgetAnimation/qwidgetanimation.cpp
  QWidgetAnimation/qwidgetanimation.h
#dit kan problemen geven
  richtext/addlinkdialog.ui
  richtext/richtexteditor.cpp
  richtext/richtexteditor_p.h
  richtext/ui_addlinkdialog.h

  SearchAndReplace/searchandreplaceworker.cpp
  SearchAndReplace/searchandreplaceworker.h

  SearchAndReplace/ui/replaceadvanceddialog.cpp
  SearchAndReplace/ui/replaceadvanceddialog.h
  SearchAndReplace/ui/replaceconductordialog.cpp
  SearchAndReplace/ui/replaceconductordialog.h
  SearchAndReplace/ui/replaceelementdialog.cpp
  SearchAndReplace/ui/replaceelementdialog.h
  SearchAndReplace/ui/replacefoliowidget.cpp
  SearchAndReplace/ui/replacefoliowidget.h
  SearchAndReplace/ui/searchandreplacewidget.cpp
  SearchAndReplace/ui/searchandreplacewidget.h

  titleblock/dimension.cpp
  titleblock/dimension.h
  titleblock/dimensionwidget.cpp
  titleblock/dimensionwidget.h
  titleblock/gridlayoutanimation.cpp
  titleblock/gridlayoutanimation.h
  titleblock/helpercell.cpp
  titleblock/helpercell.h
  titleblock/integrationmovetemplateshandler.cpp
  titleblock/integrationmovetemplateshandler.h
  titleblock/movetemplateshandler.h
  titleblock/qettemplateeditor.cpp
  titleblock/qettemplateeditor.h
  titleblock/splittedhelpercell.cpp
  titleblock/splittedhelpercell.h
  titleblock/templatecellsset.cpp
  titleblock/templatecellsset.h
  titleblock/templatecellwidget.cpp
  titleblock/templatecellwidget.h
  titleblock/templatecommands.cpp
  titleblock/templatecommands.h
  titleblock/templatedeleter.cpp
  titleblock/templatedeleter.h
  titleblock/templatelocationchooser.cpp
  titleblock/templatelocationchooser.h
  titleblock/templatelocation.cpp
  titleblock/templatelocation.h
  titleblock/templatelocationsaver.cpp
  titleblock/templatelocationsaver.h
  titleblock/templatelogomanager.cpp
  titleblock/templatelogomanager.h
  titleblock/templatescollection.cpp
  titleblock/templatescollection.h
  titleblock/templateview.cpp
  titleblock/templateview.h
  titleblock/templatevisualcell.cpp
  titleblock/templatevisualcell.h

  ui/aboutqetdialog.cpp
  ui/aboutqetdialog.h
  ui/abstractelementpropertieseditorwidget.cpp
  ui/abstractelementpropertieseditorwidget.h
  ui/alignmenttextdialog.cpp
  ui/alignmenttextdialog.h
  ui/bomexportdialog.cpp
  ui/bomexportdialog.h
  ui/borderpropertieswidget.cpp
  ui/borderpropertieswidget.h
  ui/compositetexteditdialog.cpp
  ui/compositetexteditdialog.h
  ui/conductorpropertiesdialog.cpp
  ui/conductorpropertiesdialog.h
  ui/conductorpropertieswidget.cpp
  ui/conductorpropertieswidget.h
  ui/configsaveloaderwidget.cpp
  ui/configsaveloaderwidget.h
  ui/diagramcontextwidget.cpp
  ui/diagramcontextwidget.h
  ui/diagrampropertiesdialog.cpp
  ui/diagrampropertiesdialog.h
  ui/diagrampropertieseditordockwidget.cpp
  ui/diagrampropertieseditordockwidget.h
  ui/diagramselection.cpp
  ui/diagramselection.h
  ui/dialogwaiting.cpp
  ui/dialogwaiting.h
  ui/dynamicelementtextitemeditor.cpp
  ui/dynamicelementtextitemeditor.h
  ui/dynamicelementtextmodel.cpp
  ui/dynamicelementtextmodel.h
  ui/elementinfopartwidget.cpp
  ui/elementinfopartwidget.h
  ui/elementinfowidget.cpp
  ui/elementinfowidget.h
  ui/elementpropertieswidget.cpp
  ui/elementpropertieswidget.h
  ui/formulaassistantdialog.cpp
  ui/formulaassistantdialog.h
  ui/imagepropertieswidget.cpp
  ui/imagepropertieswidget.h
  ui/importelementdialog.cpp
  ui/importelementdialog.h
  ui/importelementtextpatterndialog.cpp
  ui/importelementtextpatterndialog.h
  ui/inditextpropertieswidget.cpp
  ui/inditextpropertieswidget.h
  ui/linksingleelementwidget.cpp
  ui/linksingleelementwidget.h
  ui/marginseditdialog.cpp
  ui/marginseditdialog.h
  ui/masterpropertieswidget.cpp
  ui/masterpropertieswidget.h
  ui/multipastedialog.cpp
  ui/multipastedialog.h
  ui/potentialselectordialog.cpp
  ui/potentialselectordialog.h
  ui/projectpropertiesdialog.cpp
  ui/projectpropertiesdialog.h
  ui/reportpropertiewidget.cpp
  ui/reportpropertiewidget.h
  ui/shapegraphicsitempropertieswidget.cpp
  ui/shapegraphicsitempropertieswidget.h
  ui/titleblockpropertieswidget.cpp
  ui/titleblockpropertieswidget.h
  ui/xrefpropertieswidget.cpp
  ui/xrefpropertieswidget.h

  ui/configpage/generalconfigurationpage.cpp
  ui/configpage/generalconfigurationpage.h

  undocommand/addelementtextcommand.cpp
  undocommand/addelementtextcommand.h
  undocommand/changeelementinformationcommand.cpp
  undocommand/changeelementinformationcommand.h
  undocommand/changetitleblockcommand.cpp
  undocommand/changetitleblockcommand.h
  undocommand/deleteqgraphicsitemcommand.cpp
  undocommand/deleteqgraphicsitemcommand.h
  undocommand/itemmodelcommand.cpp
  undocommand/itemmodelcommand.h
  undocommand/linkelementcommand.cpp
  undocommand/linkelementcommand.h
  undocommand/rotateselectioncommand.cpp
  undocommand/rotateselectioncommand.h
  undocommand/rotatetextscommand.cpp
  undocommand/rotatetextscommand.h

  utils/conductorcreator.cpp
  utils/conductorcreator.h
  utils/macosxopenevent.cpp
  utils/macosxopenevent.h
  utils/qetutils.cpp
  utils/qetutils.h

)

target_link_libraries(
  ${PROJECT_NAME}
  PUBLIC
   Qt${QT_VERSION_MAJOR}::Xml
   Qt${QT_VERSION_MAJOR}::Svg
   Qt${QT_VERSION_MAJOR}::Network
   Qt${QT_VERSION_MAJOR}::Sql
   Qt${QT_VERSION_MAJOR}::PrintSupport
   KF5::WidgetsAddons
  PRIVATE
   Qt${QT_VERSION_MAJOR}::Widgets
   Qt${QT_VERSION_MAJOR}::Concurrent)

132

(90 replies, posted in Code)

Cmake VS Qmake example:

qmake

QT += core gui
QT += charts
QT += concurrent

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    callout.cpp \
    main.cpp \
    mainwindow.cpp \
    chartview.cpp \
    view.cpp

HEADERS += \
    callout.h \
    mainwindow.h \
    chartview.h \
    view.h

TRANSLATIONS += \
    Thread_data_viewer_nl_BE.ts

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

Cmake

cmake_minimum_required(VERSION 3.5)

project(Thread_data_viewer LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# QtCreator supports the following variables for Android, which are identical to qmake Android variables.
# Check http://doc.qt.io/qt-5/deployment-android.html for more information.
# They need to be set before the find_package(Qt5 ...) call.

#if(ANDROID)
#    set(ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android")
#    if (ANDROID_ABI STREQUAL "armeabi-v7a")
#        set(ANDROID_EXTRA_LIBS
#            ${CMAKE_CURRENT_SOURCE_DIR}/path/to/libcrypto.so
#            ${CMAKE_CURRENT_SOURCE_DIR}/path/to/libssl.so)
#    endif()
#endif()

find_package(
    QT
   NAMES
    Qt6
    Qt5
   COMPONENTS
    Widgets
    Charts
    Concurrent
   REQUIRED
   )
find_package(
    Qt${QT_VERSION_MAJOR}
   COMPONENTS
    Widgets
    Charts
    Concurrent
   REQUIRED
   )

if(ANDROID)
  add_library(
  Thread_data_viewer
  SHARED
    main.cpp
    mainwindow.cpp
    mainwindow.h
    callout.cpp
    callout.h
    chartview.cpp
    chartview.h
    view.cpp
    view.h
  )
else()
  add_executable(
  Thread_data_viewer
    main.cpp
    mainwindow.cpp
    mainwindow.h
    callout.cpp
    callout.h
    chartview.cpp
    chartview.h
    view.cpp
    view.h
  )
endif()

target_link_libraries(
  Thread_data_viewer
  PRIVATE
   Qt${QT_VERSION_MAJOR}::Widgets
   Qt${QT_VERSION_MAJOR}::Charts
   Qt${QT_VERSION_MAJOR}::Concurrent)

note:
- no TRANSLATIONS
i am still working on it, so that it can be applied for qet.
this is going to be difficult.

todo find_package of xml svg network sql printsupport KWidgetsAddons KCoreAddons

see https://github.com/qelectrotech/qelectr … or/pull/98

133

(317 replies, posted in News)

so it would be helpful if the elements are split into an image and data?
emm =» https://qelectrotech.org/forum/viewtopi … 325#p13325

134

(90 replies, posted in Code)

info of Cmake and QT

https://doc-snapshots.qt.io/qt6-dev/cmake-manual.html
https://doc-snapshots.qt.io/qt6-dev/cma … ility.html

(for my reference)

scorpio810 gave me this video:

https://download.qelectrotech.org/qet/f … erter.webm

somewhere in the middle you can see DFXtoQET at work

he asked me to put DFXtoQET in QET code
But without knowledge of DWG this does not seem feasible to me, I will first have to learn the DWG standard. and then I'll give it a try.
reference for me: https://www.codeproject.com/Articles/33 … nge-Format

136

(8 replies, posted in Code)

update

137

(8 replies, posted in Code)

update more proces like

138

(8 replies, posted in Code)

update

139

(8 replies, posted in Code)

update

140

(8 replies, posted in Code)

update

141

(8 replies, posted in Code)

update

142

(8 replies, posted in Code)

update

143

(8 replies, posted in Code)

my intention is to make a graphy presentation of the internal functioning of QET

Theo.jct wrote:

"gravité"

the program is heavy enough nomicons/tongue

but admittedly, the idea is nice.
there are too many what if elements in this proposal
eg:
-when should the text rotate
-all text or just labels
-how should the text align
-determine per element, drawing, project
-...

Note that starting with no knowledge of qt is not the problem.
the problem is getting the packages to work.

KWidgetsAddons
KCoreAddons

must be compiled in OS and be connected to QT SDK

sqlite3-devel is also required but this one is usually pre-compiled and can be downloaded from the distribusie

first start downloading QT
and test if you can run a example.

then https://qelectrotech.org/forum/viewtopi … 484#p13484

i just tested it on VM and it worked (Suse TW)
let us know where you get stuck (if it doesn't work).

146

(20 replies, posted in Elements)

I forgot to say "git reset --hard upstream / master" removes all changes, pay attention to it.

git-stash can be your best friend in some cases
https://git-scm.com/docs/git-stash#_examples

this is necessary if you are doing changes in the local clone repo

147

(20 replies, posted in Elements)

run ones

# clone your repo
git clone git@github.com:plc-user/qelectrotech-source-mirror.git qelectrotech_source
cd qelectrotech_source
# add qelectrotech repo
git remote add upstream https://github.com/qelectrotech/qelectrotech-source-mirror.git

run always

# fetch qelectrotech repo
git fetch upstream
# checkout to your master
git checkout master
# reset your master to == qelectrotech repo master
git reset --hard upstream/master 
# push to your repo
git push origin master --force

done

148

(90 replies, posted in Code)

cool

on a different note
my drawing, of 3 hours long

Qet wrote:

18:28:50.753 Debug: "exporting diagram \"\"" [ Diagram(0x262e9c0) ] (../../qet/sources/qetproject.cpp:859, QDomDocument QETProject::toXml())
18:28:51: The program has unexpectedly finished.
18:28:51: The process was ended forcefully.
18:28:51: /home/simon/GIT/build/qelectrotech-Clone_of_Desktop_Qt_5_15_1_GCC_64bit-Debug/qelectrotech crashed.

damn nomicons/angry

this may already be in there
first line

150

(90 replies, posted in Code)

i am considering rewriting qet_tb_generator in C ++, just too many warnings