Commit Graph

452 Commits

Author SHA1 Message Date
xavier
83c51334cb Diagrma editor: removed the upper limit of 99px imposed by the UI when setting the width/height of diagrams columns/rows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2041 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-12 18:55:56 +00:00
xavier
62688aa0da Diagram editor: added "Find in panel" and "Edit" actions to the context menu.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2040 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-12 18:37:08 +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
blacksun
cf063e0a6c fixed a bug with the size of propertie project windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2038 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 21:30:32 +00:00
xavier
2af5eb54b1 Diagram editor: conductors can now be rendered with a solid, dashed or dashed-and-dotted style.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2037 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 18:35:18 +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
1c140ea0ad Fixed previous commit so the directory opening also works on Windows with paths that contain spaces.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2024 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-03 21:15:26 +00:00
xavier
6ea0a96bd4 Elements panel: added contextual actions so users can easily find elements, title block templates and projects on their filesystem.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2023 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-03 19:25:02 +00:00
xavier
9c32815887 Elements panel: added methods to easily get the underlying filepath for a particular item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2022 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-03 19:22:58 +00:00
xavier
0796587a63 Added hasFilePath() and filePath() methods to TitleBlockTemplatesCollection and its derived classes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2021 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-03 19:21:13 +00:00
xavier
fb0aefc452 Improved the way the GenericPanel class detects it is being displayed for the first time.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2019 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-02 23:57:14 +00:00
xavier
70b7cd7d16 Ensured events were processed regularly while the elements panel is being reloaded.
Also disabled the "Reload" button during that same process.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2018 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-29 23:03:09 +00:00
scorpio810
930a308cbb Add compilation's informations in about dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2016 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-29 16:42:58 +00:00
cfdev
0c153d1a3f Add function to have the possibility to sort the table.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2014 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-27 16:34:34 +00:00
xavier
65a6bdc739 ElementsPanel: removed the old, error-prone, thread-based implementation of ElementsPanel::reloadCollections().
Reverted rev2011 to prevent memory leak.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2013 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-27 15:48:14 +00:00
xavier
cd4c78bcff Fixed minor formatting issues.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2012 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-27 15:46:38 +00:00
cfdev
ccbda05dc1 Fix bug on categories reload, and add compilation's informations in about dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2011 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-27 10:34:30 +00:00
xavier
c37d401f38 Fixed a bug in QETDiagramEditor::viewForFile() which prevented the display of an error message when trying to open a non-existent file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1999 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-04 14:11:03 +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
51d34d21ae Added Eduard Amoros to the "About QET" dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1985 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-06 10:57:51 +00:00
scorpio810
15ca43ce3c Refresh the list of elements after copy .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1968 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-13 09:29:01 +00:00
cfdev
78ff0b5906 Refresh the list of elements after moving
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1966 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-12 21:11:07 +00:00
cfdev
371c929962 Replace icon QET::Icons::arrowleft by QET::Icons::Start
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1964 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-10 16:33:51 +00:00
cfdev
42e0715fde dateNow to date_now
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1963 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-10 16:04:51 +00:00
cfdev
d829cbf2ce git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1962 bfdf4180-ca20-0410-9c96-a3a8aa849046 2012-11-10 15:41:21 +00:00
cfdev
71f79ccce6 try to clean the code...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1961 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-10 15:35:15 +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
cfdev
75c37aa029 Title block properties: added a "Set to current date" button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1959 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-07 21:26:09 +00:00
xavier
0ef85e5b97 Conductor properties: sometimes the PEN button was erroneously enabled.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1958 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-05 18:19:25 +00:00
xavier
808ea1f494 Fixed ghost elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1944 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-09-27 18:59:16 +00:00
xavier
6ea73a0218 Fixed a bug causing some settings to be saved under printer-related sections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1935 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-12 20:32:56 +00:00
xavier
540f0c13ea Resized single line symbols to improve readability.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1934 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-12 20:32:55 +00:00
xavier
b5430118e4 Conductor properties: added the "PEN" option, which enables users to merge neutral and ground symbols.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1933 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-12 20:32:53 +00:00
xavier
eb2acce3b6 Diagram editor: added the "zoom content" action.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1932 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-12 11:46:42 +00:00
xavier
857476c7dd Project closing dialog: fixed "Action" header alignment
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1927 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 17:15:01 +00:00
xavier
c6c74b9db8 Slightly improved the project closing diagram.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1926 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 17:10:59 +00:00
xavier
5ce0632beb Fixed full page restore.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1921 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 00:32:39 +00:00
xavier
ba8cd22326 Page setup parameters are now saved in the application configuration after the user has accepted the print preview and restored before the user has chosen a printer.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1920 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 00:23:13 +00:00
laupion
6e0f89cd57 Replace space by tabulation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1917 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-20 21:34:16 +00:00
laupion
3433083170 Change the word <tevenin> by <thevenin> into the QET collection
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1916 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-20 20:32:44 +00:00