joshua
ded4ea555f
Terminal element can be removed from a terminal strip
2021-05-11 18:20:46 +02:00
joshua
f07f4cb150
Fix drag and drop bug
2021-05-11 18:20:46 +02:00
joshua
dbb21373e1
Read terminal strip from xml
2021-05-11 18:20:46 +02:00
joshua
89f3ce1eb3
terminal strip can be saved to xml
2021-05-11 18:20:46 +02:00
joshua
36068abce7
Add a reload push button
...
Add a reload push button to quickly reload/update the gui according to
the current state of the terminal strip.
2021-05-11 18:20:46 +02:00
joshua
d551c8e6b9
Improve undo command when remove a terminal strip
2021-05-11 18:20:46 +02:00
joshua
2572e1c25d
Display terminals owned by terminal strip in the tree view
2021-05-11 18:20:46 +02:00
joshua
b158984464
Set parent terminal strip of terminal element
...
Call the method :
void TerminalElement::setParentTerminalStrip(TerminalStrip *strip)
when a terminal element is added to a terminal strip.
2021-05-11 18:20:46 +02:00
joshua
256d42d030
Add and move terminal element to strip is managed by undo
2021-05-11 18:20:46 +02:00
joshua
171e95fb17
Enable drag and drop of terminal tree widget item
2021-05-11 18:20:46 +02:00
joshua
d3ad490b84
Initial comit to use drag and drop
2021-05-11 18:20:46 +02:00
joshua
df07f373d8
Terminal strip add/remove is managed by undo stack
2021-05-11 18:20:46 +02:00
joshua
5d17461c6e
Add RemoveTerminalStripCommand class
2021-05-11 18:20:46 +02:00
joshua
2cf5ea11fd
Fix : undo code is executed in redo function and vice versa
...
Need to sleep ?
2021-05-11 18:20:46 +02:00
joshua
573c0c236a
Add undo command for add/remove a terminal strip
2021-05-11 18:20:46 +02:00
joshua
63429ab087
Terminal strip editor display the free terminal elements
2021-05-11 18:20:46 +02:00
joshua
00846c1418
Add "parent terminal" strip member to TerminalElement class
2021-05-11 18:20:46 +02:00
joshua
a3f776b7db
Add 'comment' to terminal strip
2021-05-11 18:20:46 +02:00
joshua
91db58bb64
Add dialog to create terminal strip + display existing terminal strip
2021-05-11 18:20:46 +02:00
joshua
0a2ec297bf
Minor
2021-05-11 18:20:46 +02:00
joshua
bbfe9ed377
Add terminal strip editor widget
2021-05-11 18:20:46 +02:00
joshua
39aee4ad07
Add terminal strip data class
2021-05-11 18:20:46 +02:00
joshua
49674e7d33
Add terminal strip class
2021-05-11 18:20:46 +02:00
joshua
12c0dbd8d1
Minor gui change
2021-05-11 18:20:19 +02:00
artgg7300
734e70ffb1
translated hungarian lang files
2021-05-11 06:11:43 +02:00
Laurent Trinques
480066cc6d
Update *TS files
9-dev-2021/05/09
2021-05-09 12:46:47 +02:00
joshua
74dcf96e4b
Element editor: make element text option "keep visual rotation" editable.
2021-05-08 22:14:15 +02:00
Laurent Trinques
222c86f550
Minor update README.md
2021-05-06 23:34:18 +02:00
Laurent Trinques
b255423245
Update README.md
2021-05-06 23:27:09 +02:00
joshua
09c0929040
Element editor gui fix
...
When select a primitive an unparented windows appear and can't be
deleted. Fix it.
0.9-dev-2021/05
2021-04-30 20:27:24 +02:00
Laurent Trinques
7312d06cc4
Minor
2021-04-30 11:52:44 +02:00
Laurent Trinques
5c75bc4194
OSX update qet_tb_generator PATH to python 3.9
2021-04-30 11:34:32 +02:00
Laurent Trinques
760a1f6c43
Try to improve HIGHDPI_SCALING
2021-04-21 09:38:48 +02:00
joshua
b6cfc8c755
Improve element collection loading time
...
According to Qt creator flame graph, call QSettings take lot of time.
When loading the element collection, each items of the collection get
the current language by calling the function QString
QETApp::langFromSetting().
This function instantiate a QSettings object each time and take a lot of
time.
Now the QSettings is instantiate only at the first call, and the value
is stored in memory, then all other call of the function don't
instantiate a QSettings, but just return the value in memory.
2021-04-18 20:03:13 +02:00
sdeffaux
820a01cb7d
add symbol
2021-04-17 16:15:10 +02:00
sdeffaux
bfd7c1ea7c
Update symbols and examples
2021-04-17 16:15:10 +02:00
Laurent Trinques
b8d9d38d31
Minor
2021-04-12 06:40:59 +02:00
Laurent Trinques
c05d76c633
Flatpak update org.qelectrotech.QElectroTech.json
2021-04-12 06:36:16 +02:00
joshua
5a8197b2b3
Element query widget : make code more readable
2021-04-11 14:08:21 +02:00
joshua
c1169f0e04
Element nomenclature sql query minor fix
...
Filter "is empty" don't work for any case :
We must to filter for NULL and empty string then replace the sql
sentence "value IS NULL" by "(value IS NULL OR value = '')"
2021-04-11 14:03:02 +02:00
joshua
794af49a3a
Element nomenclature SQL query : minor fix
...
the filter "is not empty" in nomenclature don't work for every case.
Replace SQL sentence "IS NULL" by "!= ''" because an empty string is not
a NULL value string, but a NULL value string is like an empty string
2021-04-11 12:39:38 +02:00
Laurent Trinques
8ef0d0b2f0
Flatpak fix location patch
2021-04-09 16:22:41 +02:00
Laurent Trinques
3729bec350
Flatpak update flatpak/org.qelectrotech.QElectroTech.json
2021-04-09 16:15:26 +02:00
Laurent Trinques
157377e1c1
Faltpak update org.qelectrotech.QElectroTech.json
...
see :https://github.com/flathub/flathub/pull/2146
2021-04-09 16:01:14 +02:00
joshua
7cb47f3b9e
Fix unwanted moving part in element editor.
...
Fix an unwanted behavior when the properties dock widget is displayed :
1 there is no selection
2 the dock widget width is set to minimum
3 select a part, the dock widget gain new widgets used to edit the
current selected part and the width of the dock grow so the width of the
QGraphicsView is reduced and cause a mouse move event.
When this case occur the part is moved but they should not.
2021-04-07 12:56:43 +02:00
joshua
9db15f91e7
Improve gui layout for low resolution screen
2021-04-07 12:34:56 +02:00
plc-user
c54ee9b66d
Bug-Fixing on an element
2021-04-07 01:05:42 +02:00
Laurent Trinques
7a2c62d4d2
Minor: update readme.md files
2021-04-04 17:21:50 +02:00
joshua
7f5b446fc9
Use QStringLiteral and QLatin1String.
2021-04-02 19:16:32 +02:00
Laurent Trinques
bba1f07f57
Revert "Flatpak add --socket=cups for work with LAN printers"
...
This reverts commit d32c322e5a .
2021-03-31 16:16:41 +02:00