Laurent Trinques
bf32219154
Fix previous workaround
...
Now the shortcut for the rotate action is key_space and use key_R to
rotate terminal on the fly before placing it in the drawing.
2022-05-25 17:39:49 +02:00
Laurent Trinques
6a669f1399
Fix previous workaround
...
Because strange behaviour with Qt::key_space if used for keyPressEvent
and also in shortcut.
Now the shortcut for the rotate action is ctrl + R and key_space to
rotate terminal on the fly before placing it in the drawing.
2022-05-25 13:47:22 +02:00
joshua
4ab1ed7fc9
Fix previous workaround
...
The rotate action shortcut was 'space' before this commit and so the
keyPressEvent with space key was never propagated because always grabbed
by the rotate action.
Now the shortcut for the rotate action is ctrl + space.
Note that even if rotate exist in element editor, this doesn't work well
because the rotation is not well managed by the save/load from elmt
file.
2022-05-22 21:05:54 +02:00
Laurent Trinques
89d03e5503
Element editor : Workaround for Qt::Key_Space event not working
...
Use of ALT key as a replacement to rotate terminal on the fly before
placing it in the drawing.
Fix bug #262
https://qelectrotech.org/bugtracker/view.php?id=262
2022-05-21 23:28:44 +02:00
Laurent Trinques
9a6e1d2a61
Editor commands: change the rotation with the space key on the keyboard
...
from 90° to 15° for more precision for part lines, polygons, texts, arcs
and circles.
2022-05-20 10:18:37 +02:00
Laurent Trinques
fad6983cf1
Element::Thumbnail fix for BOM pages
2022-05-16 09:30:32 +02:00
Laurent Trinques
daeec311b2
Element::Thumbnail WIP
2022-05-16 08:59:25 +02:00
Laurent Trinques
db8c76c184
Element::Thumbnail WIP
2022-05-15 14:29:01 +02:00
Laurent Trinques
2ec7e6aa45
In 99_assembly_plan directory change link_type="simple" by link_type="thumbnail"
2022-05-15 06:28:20 +02:00
joshua
021aea1d8b
Add the new element type : thumbnail
...
This type must be used for element who goal is to display a
thumbnail/front view of an element, notably used for cabinet contents
view and placement.
2022-05-13 20:02:29 +02:00
Laurent Trinques
1f4dfdba3f
Add QPrinter::HighResolution
2022-05-05 13:37:24 +02:00
joshua
f0694f0daf
Merge branch 'terminal_strip'
...
* terminal_strip:
Remove terminal strip widget
Several terminals can be removed or moved from strip in one shot
2022-05-04 18:48:46 +02:00
joshua
baf412614c
Remove terminal strip widget
...
Since this commit, the terminals can't be moved from the tree widget,
instead we need to use the "move in" widget to move one or several
selected terminals in the table view.
2022-05-04 18:38:45 +02:00
Laurent Trinques
e1865fec62
Update Ewon elements, thanks Vbxler
2022-04-28 13:31:31 +02:00
Laurent Trinques
1e255af3be
Update SingleApplication and pugixml to latest upstream release
2022-04-27 13:52:41 +02:00
Laurent Trinques
1c99cb5c2d
Add Qt::AA_UseHighDpiPixmaps
2022-04-27 09:14:13 +02:00
Laurent Trinques
4ca21a3bff
Add new ewon elements, thanks Vbxler
2022-04-26 13:26:07 +02:00
Laurent Trinques
189d92f2a9
Minor
2022-04-26 08:15:20 +02:00
Laurent Trinques
34a7e0f3fe
Minor : machineinfo change RAM informations MB to GB
2022-04-26 07:54:41 +02:00
joshua
17290ae3b3
Try to fix fail to build for old Qt version
2022-04-25 18:24:43 +02:00
Laurent Trinques
8b65d240db
Add new example found on www
2022-04-23 13:37:36 +02:00
joshua
bce6a43427
Several terminals can be removed or moved from strip in one shot
2022-04-10 13:52:45 +02:00
joshua
1c52cd71a9
Merge branch 'terminal_strip'
...
* terminal_strip:
Minor fix : wrong variable name
9-dev-2022/04/22
2022-04-09 16:35:02 +02:00
joshua
898edb6c12
Minor fix : wrong variable name
2022-04-09 16:34:30 +02:00
joshua
de3fa988b1
Fix some clazy warning
2022-04-09 13:07:47 +02:00
joshua
b42aec7bdf
Minor
...
Block database signal when a project is currently being deleted.
Among other things, this avoid the multiple show of the dialog "table
limitation".
2022-04-09 12:46:07 +02:00
joshua
ea46a92f3f
Merge branch 'terminal_strip'
...
* terminal_strip:
Several real terminal can be added to terminal strip in one shot
Minor : avoid unnecessary multiple function call
The free terminal properties can be edited by batch.
Change made inside the free terminal table can be applied
Hide/show apply/reset buttons according to current displayed widget
Edited data of terminal strip can be applied
Change terminal strip editor class
Add free terminal editor widget
Add toolbar and buttons
Start to move terminal strip editor from QDialog to QMainWindow
Add table widget and item model for free terminal
Revamp code
Improve undo command when add/move/remove terminal in/from/to terminal strip
Revamp code.
Revamp code, make it more simple
Remove the real terminal uuid, and use instead the uuid of the terminal element itself
RealTerminal is created by the TerminalElement itself
Change relationship betwen classes RealTerminal PhysicalTerminald and TerminalElement
QTreeWidget "terminal explorer" : improve item text
minor : remove unused code
2022-04-09 11:54:58 +02:00
joshua
6197d0215a
Several real terminal can be added to terminal strip in one shot
...
User can select several real terminals in the free terminal editor
and add it with one operation on a terminal strip.
2022-04-08 20:48:32 +02:00
Laurent Trinques
6fd342e265
Fix typo
2022-04-07 17:01:23 +02:00
Laurent Trinques
395d968ab5
Minor
2022-04-07 16:48:37 +02:00
Laurent Trinques
e41b7f7d6c
Machine_info add disk and partition informations
2022-04-07 16:33:20 +02:00
Laurent Trinques
fabf0109ff
Remove element surpresseur_mono_hyd.elmt
2022-04-02 19:58:29 +02:00
Laurent Trinques
cabfdc0a54
Add reworked pneumatic symbols, thanks Vbxler
2022-04-02 19:52:17 +02:00
joshua
6f4122f65c
Fix a funny bug
...
When we create a summary table and uncheck the option "adjust the size
of the table to the folio" an infinity of new diagram are added to the
project.
2022-04-01 20:41:07 +02:00
joshua
ce21a812c0
Fix bug 244
...
I was thinking that the commit 5a51f6bace
fix the bug 244, but not they only fix this bug :
https://qelectrotech.org/forum/viewtopic.php?pid=16022#p16022
This commit really fix the bug 244
2022-04-01 20:04:17 +02:00
joshua
5a51f6bace
Fix crash
...
See bug N°244
https://qelectrotech.org/bugtracker/view.php?id=244
2022-03-31 19:05:45 +02:00
joshua
a38d97896d
Minor : avoid unnecessary multiple function call
...
TerminalStripTreeDockWidget::on_m_tree_view_currentItemChanged
call setCurrentStrip only when current strip changed, and not every time
when user click in another item on the tree view.
2022-03-30 20:30:57 +02:00
joshua
c4b0c1435c
The free terminal properties can be edited by batch.
2022-03-25 19:49:31 +01:00
joshua
a4445c411d
Change made inside the free terminal table can be applied
2022-03-25 19:25:46 +01:00
joshua
e92bd36f9b
Hide/show apply/reset buttons according to current displayed widget
2022-03-25 19:00:09 +01:00
Laurent Trinques
61ff8884e0
Minor
2022-03-24 06:25:28 +01:00
Laurent Trinques
b8af2e9d1d
Minor : add informations in aboutqetdialog widget
2022-03-24 06:13:03 +01:00
joshua
8084fa8f29
Edited data of terminal strip can be applied
2022-03-23 21:18:22 +01:00
plc-user
1066e55262
rework and new elements (Hager)
2022-03-21 05:19:01 +01:00
joshua
edfb23be23
Change terminal strip editor class
...
Change parent class from QDialog to QWidget.
Terminal strip editor is now embedded in TerminalStripEditorWindow.
2022-03-20 18:25:25 +01:00
plc-user
516a1a7826
more cleanup, rework and new elements
2022-03-19 15:18:29 +01:00
plc-user
be1d87c5d4
cleanup, rework and new elements
2022-03-17 08:38:38 +01:00
joshua
b48ba939de
Add free terminal editor widget
2022-03-16 22:44:08 +01:00
joshua
b1ad16d482
Add toolbar and buttons
...
Add 'add terminal strip' button.
Add 'remove terminal strip' button
Add 'reload' button
2022-03-16 18:58:36 +01:00
joshua
ceb54fbc6a
Start to move terminal strip editor from QDialog to QMainWindow
2022-03-14 17:56:18 +01:00