Debug: 1 QRegularExpression("^project([0-9]+)\\+(embed:\\/\\/.*)$", QRegularExpression::PatternOptions("CaseInsensitiveOption")) "project0+embed://import/new_element.elmt" (../qet/sources/ElementsCollection/elementslocation.cpp:247, void ElementsLocation::setPath(const QString&))
Debug: B false (../qet/sources/ElementsCollection/elementslocation.cpp:248, void ElementsLocation::setPath(const QString&))

in

QRegularExpression rx
                ("^project([0-9]+)\\+(embed:\\/\\/.*)$",
                 QRegularExpression::CaseInsensitiveOption);
        qDebug()<<"1"<<rx<<tmp_path;
        qDebug()<<"B"<<rx.match(tmp_path).hasPartialMatch();
        if (rx.match(tmp_path).hasPartialMatch())

=>

"^project([0-9]+)\\+(embed:\\/\\/.*)$"
"project0+embed://import/new_element.elmt"

Hello,
git SHA1 id

f21cdb4040940c02b4de9d201890db55de14e6b4

i have made some changes to QRegExp.
and probably it went wrong there...

update at git SHA1 id

0a46b83dca7c4f26064a9b0101b9eeeddddaf4e3

203

(90 replies, posted in Code)

scorpio810 wrote:

Great news Simon, I hope KF5 build again.

Is the have KF5 absolutely necessary?
this provides 2 function
-kbuttoncolor
-backup

if we can do this without it, it is easier for cl

GitHub wrote:

Welcome to the code scanning beta
Your account, De-Backer, is off the waitlist—you're all set to start using code scanning on public repositories!

Learn more about code scanning.

Run failed for master (08a8250)
Repository: De-Backer/qelectrotech-source-mirror
Workflow: CodeQL
Duration: 1 minute and 50.0 seconds
Finished: 2020-09-09 20:28:18 UTC

View results

Jobs:
Analyze (cpp) failed (1 annotation)

:-/

204

(90 replies, posted in Code)

Currently, the Qt 6.0 development timeline is planned to be the following:

Structure and platform freeze at 30th June
Feature Freeze at 31st August
Alpha Release at 14th September
Beta 1 Release at 1st October
Release Candidate at 17th November
Final Release 1st December

Qt 6 requires C++17    =>mod  pro file of qelectrotech
the build system (move from qmake to cmake as Qt's internal build system) => we can still use qmake, but qmake may disappear in the future
https://wiki.qt.io/CMake_Port


and for qelectrotech:
built on Alpha fail
- KWidgetsAddons KCoreAddons: built on Alpha fail => I have temporarily deleted it on my disk for further testing
- QPrinter => I am now working on it

https://wiki.qt.io/Checklist_for_Qt_6.0_inclusion

Qt XML
Status Summary    Not Ready
Cmake port    Done
Jira backlog    N/A (assessment for Qt 6 not done yet)
Recent CI SHA    yes
gitmodules/submodule bot    N/A (qtbase)
Comments/Circumstance   
Qt XML Patterns
Note, this module is deprecated in Qt 5.15 and therefore may no longer be shipped in Qt 6.

not  possible. Unless you put my patch in the code and compile the code to a program.

do you mean this
https://qelectrotech.org/forum/viewtopic.php?id=1751

1.
https://download.qelectrotech.org/qet/m … _type.html

Text: Text field content to be displayed at folio. ( V left blank ==> no labels)

https://youtu.be/ayTymbefGDo

209

(22 replies, posted in Code)

- Maybe we should revise the Code style to the GNU?
  QElectroTech Code style on the right
  a GNU Code style on the left and center

- And why is the code(QElectroTech) not placed in libraries?

When a application is too large, You want to separate your program in different module. Module that can be independant and you can reuse in other application. So you could write it like that lib/LibraryForLogging, lib/LibraryForDatabase etc... It is easier to manage than if it was mixed with all the source code.


  eg: qtceator:
             +src <== Source files for the root-level application project.
             +app <== Contains the component files in which your application logic and data are defined.
             +libs  <== Contains your library project's logic and data. Like an application project,
                              a library project can contain components, services, modules, directives, and pipes.
QElectroTech:
        +QElectroTech
             +sources == src
see Project Directorie

an example


from https://horizon-eda.org/
https://horizon-eda.readthedocs.io/en/latest/_images/pool_diagramm_full.png
from https://librepcb.org/
https://developers.librepcb.org/library_structure.png
more info https://developers.librepcb.org/df/d4f/doc_library.html


I ask the users to draw up a list and a database model, only then does the discussion come up with the developer(s)

Joshua wrote:

In the official collection there is a lot of visually identical element with different names, reference etc... personally I'm not ok with that, ...

We can tackle this if we can link the symbols to the manufacturer's data.

First draw up a good plan, test it, make it.

versie 1.0??

Joshua, don't take on too much, see the DebConf20
https://tweakers.net/nieuws/172052/debi … nodig.html

Many of the current developers would take too much on their shoulders, feeling that no one else would do it.

Laurent, are you answering the next user who complains about qet's slow startup?
windows 7 is still widely used..
even windows XP is still used.

Anyway Rasec makes a good point, I was planning to change the elements now you can't add extra info, it's a standard list. (kindInformations)

part 1

element: (symbol)
-a uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF

-a name(s)
 -name lang = en var = Coil
 
-some terminals
 -terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF x="0" y="-21" orientation="n"
 -terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF x="5" y="-45" orientation="n"
 -terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF x="10" y="21" orientation="s"
 -terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF x="20" y="21" orientation="s"

-some rect, line, type, ...

part 2 (element info, terminal name, extras)

- a manufacturer
- info of manufacturer
- element uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF  (symbol)
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 11
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 22
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 13
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 23
  - info of element
- element uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF  (symbol)
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 31
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 42
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 33
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 43
  - info of element
- element uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF  (symbol)
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 1
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 4
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 3
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 5
  - info of element
- element uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF  (symbol)
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 41
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 64
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 43
  - terminal uuid = 9B67FD6A-14B9-4C0D-9EE1-54C568973CDF name = 55
  - info of element

and link the 2 parts together

you make a good point, in fact the elements have to be completely reworked, it takes too long in windows to load, reason: too many files, possible solution multiple elements in one file.
In short, we should list what elements should look like.
And adjust the code.

216

(317 replies, posted in News)

scorpio810 wrote:

- Log -----------------------------------------------------------------
commit dce83f480c96010f2c8587a8f94c73ff3ca66b14
Author: Simon De Backer <simondebacker@>
Date:   Mon Sep 7 22:35:49 2020 +0200

    Add name to Terminal
   
    now it is possible to enter the terminal name

it is not really the solution yet, one should be able to adjust the Terminal in the schematic, but then the xml in the .qet file must be heavily modified.

217

(317 replies, posted in News)

scorpio810 wrote:

- Log -----------------------------------------------------------------
commit 87c957a06269153f8511c02597b63515a7843a91
Author: Simon De Backer <simondebacker@>
Date:   Sat Sep 5 00:27:24 2020 +0200

    Add user warning on startup

"<p><b>ATTENTION: This application version is UNSTABLE!</b></p>"
+
+                "<p>Everything you do with this application can break your "
+                "workspace, libraries or projects! Saved files will not be "
+                "readable with stable releases of QElectroTech. It's highly "
+                "recommended to create a backup before proceeding. If you are "
+                "unsure, please download an official stable release instead.</p>"
+
+//                "<p>For details, please take a look at QElectroTech's "
+//                "<a href=\"%1\">versioning concept</a>.</p>"
+
+                "<p>Are you really sure to continue with the risk of breaking your "
+                "files?!</p>","this text is not finished yet, expect changes!")


I think the messageBox should rather encourage our users to report issues to us and that the development version adds a lot of new great features, but sometimes, which is rare, it can be unstable. And off course don't mix QET version in your project.

For me this message scares even those who have always used the devel version..

see "this text is not finished yet, expect changes!"
I shouldn't have pushed this to master,  i will remove it and make another warning.

/AppData/Roaming/qet/

note: QElectroTech deletes log files of 7 days old

219

(5 replies, posted in Bar Fourre-tout)

M.2 for laptop

220

(10 replies, posted in Code)

see
https://qelectrotech.org/forum/viewtopic.php?id=1725

221

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

python 3.5 ??

https://git.tuxfamily.org/qet/qet.git/t … .cpp#n2310

if you meant the version

222

(1 replies, posted in Code)

De-Backer wrote:

- that the xml always changes in the file.qet (the order) => using git for project is impossible

https://geidav.wordpress.com/2013/02/27 … s-in-qt-5/

223

(22 replies, posted in Code)

fun to view: Seven Ineffective Coding Habits of Many Programmers
https://www.youtube.com/watch?v=ZsHMHukIlJY

it looks like we can still improve the code.

224

(3 replies, posted in Code)

https://de-backer.github.io/qelectrotec … 149f03a14f
https://de-backer.github.io/qelectrotech-source-mirror/html/d7/df8/class_q_e_t_app_a08cfc89ca24a11bf90e50a149f03a14f_icgraph.png

it looks like the KiCAD has started from null. (2017) footprints
they have never used "git filter-branch"

Author: Oliver <oliver.henry.walters@gmail.com>  2017-07-11 02:53:49
Committer: Oliver <oliver.henry.walters@gmail.com>  2017-07-11 02:53:49
Child:  a9b5e170d22074538054b52bacda3a9d2a82d638 (Update README.md)
Branches: master, remotes/server/dev_Heatsink_ALLOYSEED_1144, remotes/server/dev_TO220-3_mod, remotes/server/dev_din_rail, remotes/server/master, remotes/server/working
Follows: 
Precedes: 5.0.0-rc1

    Initial commit

same for the code:

Author: plyatov <Unknown>  2007-05-06 18:03:28
Committer: plyatov <Unknown>  2007-05-06 18:03:28
Child:  822b90f48e6716d78351a0f78b3e048ff9415340 (Initial import of interface translations with russian (not complete) added.)
Branches: master, remotes/origin/4.0, remotes/origin/5.0, remotes/origin/5.1, remotes/origin/drc, remotes/origin/master, remotes/origin/tom-drc-jun13
Follows: 
Precedes: April-2010-release, copy-of-subversion-repo

    Initial import of KiCad.