scorpio810
c71ed69342
Updated Copyright 2006-2013
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2288 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-18 11:10:19 +00:00
scorpio810
0ab769d8c2
qetelementeditor: added warnings when close editor if primitives seem to be out of the element bordenow and change method
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2276 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-16 05:36:57 +00:00
scorpio810
461d8fe16e
element editor: remove the possible bypass action by close window when save element
...
if seem to be out of the element bordenow, now check and don't save same if user responds yes,
it now close editor and don't save element .
Cette ligne, et les suivantes ci-dessous, seront ignorées--
M sources/editor/qetelementeditor.cpp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2273 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-15 16:40:41 +00:00
scorpio810
595a2e00d4
Fix compil error
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2271 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-15 09:33:18 +00:00
scorpio810
eb920104d5
Refresh qetelementeditor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2267 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-14 08:27:11 +00:00
scorpio810
2822c7c51f
qetelementeditor check element if it seem to be out of the element border and set all actions save to disable.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2261 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-13 11:36:19 +00:00
scorpio810
7058fcfd87
Added warnings if disable every save if a primitive is out of the hospot
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2250 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 18:56:30 +00:00
blacksun
929c185525
element editor: disable every save if a primitive is out of the hospot
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2248 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 16:48:15 +00:00
scorpio810
fdcf1e3608
Refresh qetelementeditor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2247 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 16:27:16 +00:00
scorpio810
03672b8046
Add method to don't save, save as save to file a element if it seem to be out of the element border (hotspot).
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2246 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 16:15:29 +00:00
scorpio810
a830d61bd8
Add method to don't save a element if it seem to be out of the element border (hotspot).
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2244 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 10:30:01 +00:00
scorpio810
25d3622d63
Add dashdotted_style for line in symbol editor.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2193 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-01 16:09:58 +00:00
scorpio810
ed235184ee
Refresh customelementgraphicpart.cpp and update .TS files
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2188 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-31 14:29:08 +00:00
scorpio810
4b969c2323
Add basic color line in symbol editor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2187 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-31 13:30:50 +00:00
scorpio810
3a3732add3
Minor change.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2185 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-30 15:42:46 +00:00
scorpio810
36a7d81ce6
Minor change and updated TS file
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2182 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-29 13:29:53 +00:00
scorpio810
005107cb4d
Add basic color for filling symbols
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2181 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-29 09:02:26 +00:00
blacksun
b837ffa0b1
element editor and diagram view, now can move view by holding wheel click and drag mouse
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2153 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-11 18:20:26 +00:00
scorpio810
d78a6ca56c
Delete icons "zoom in/out in menubar in elementEditor && in diagramview, it 's now obsolete because: the MidButton click set selection or visualisation mode.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2116 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-16 12:36:24 +00:00
cfdev
5dc829569e
Clean wheelEvent in diagramview and add the same system to element Editor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2115 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-16 12:00:41 +00:00
blacksun
c932a0f57b
delete unnecessary code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2111 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-15 12:07:59 +00:00
blacksun
aae0c96689
revert the way of scaling operations before rev 2108 except for vertical and horizontal line
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2110 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-14 19:36:02 +00:00
scorpio810
e6b68ebb0c
Revert the way scaling operations get rounded for fix move/scale line primitive if horizontal or vertical
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2108 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-14 12:53:39 +00:00
xavier
5af8573960
Element editor: changed the way scaling operations get rounded.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2058 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-06 18:51:29 +00:00
xavier
d36820ca2b
Element editor: removed the "circle" tool because it was incompatible with non 1:1 scaling operations.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2039 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 21:45:51 +00:00
xavier
d69130f3aa
Element editor: the decorator now relies on sceneGeometricRect() instead of sceneBoundingRect().
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2036 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 18:35:16 +00:00
xavier
ec6ea11d0d
Element editor: introduced CustomElementPart::sceneGeometricRect(), which provides a margin-less equivalent to sceneBoundingRect().
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2035 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 18:35:13 +00:00
xavier
036b2657a7
Element Editor does not apply the "paste offset" the first time cut content is pasted.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2032 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-09 19:46:14 +00:00
xavier
af3e9c7c04
Element editor: keyboard shortcuts work again.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2031 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-09 19:07:08 +00:00
xavier
47f9c5ebe6
ElementEditor: decorator: got rid of calls to grabKeyboard()
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2030 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:22 +00:00
xavier
e78b0d5804
Element editor: revamped ElementScene::zItems() to fulfil the needs of ElementScene::managePrimitivesGroups()
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2029 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:20 +00:00
xavier
1ba32a5b27
The primitive decorator now handles keyboard-driven movements.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2028 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:18 +00:00
xavier
2bed00fd25
Implemented a primitive decorator, allowing groups of primitives to be easily resized.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2027 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:15 +00:00
xavier
73fa01c7b9
Added startUserTransformation() and handleUserTransformation() methods to the CustomElementPart class and all of its subclasses.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2026 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:12 +00:00
xavier
c2b69dd6da
Refactored command classes related to the element editor by adding a common base class.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2025 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:08 +00:00
xavier
59e262b152
Prevented multiple messages from being displayed when opening a recent file.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1998 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-03 21:53:26 +00:00
cfdev
0b1d3a32c7
add warning message if recent file doesn't exists.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1997 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-03 17:26:08 +00:00
xavier
160ccec733
Translated all comments found in header files (*.h) from French to English.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1960 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-09 21:09:24 +00:00
xavier
800aa588bf
Element editor: fixed a text position bug that occurred when changing font size.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1865 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-27 15:18:21 +00:00
xavier
fa5ec6f597
Element editor: fixed yet another bug in the zValue choice for newly added parts.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1827 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 22:03:07 +00:00
xavier
df4edf60e5
Replaced a QMultiMap-based sort with a cleaner qSort().
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1807 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 21:38:50 +00:00
xavier
b7feb25dbd
Element editor: fixed a bug when determining the zValue for a newly added part.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1806 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 21:27:31 +00:00
xavier
603c2ba63e
Element editor: new parts are now added with a zValue higher than other non-terminal parts.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1798 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 05:41:40 +00:00
xavier
f1dd11b903
CR characters in elements and TBT extra information field are now stripped.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1641 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 01:03:11 +00:00
xavier
318df55a37
Implemented QET::writeXmlFile() to handle every XML file generation in a single place.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1640 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 01:03:08 +00:00
xavier
8f07be7312
Elements static texts can now be either black or white.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1616 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 22:48:40 +00:00
xavier
def111cb3f
Fixed zoom fit when opening an element.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1583 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-17 22:36:58 +00:00
xavier
87d3021bd3
Implemented QETMainWindow::firstActivation, used it to fit view when editing an element.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1573 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-16 18:01:32 +00:00
xavier
271ee23116
Various improvements for RTL languages.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1527 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-24 21:26:24 +00:00
xavier
55cfef61b8
QETElementEditor now inherits from QETMainWindow.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1505 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:13:19 +00:00