Commit Graph

2170 Commits

Author SHA1 Message Date
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
xavier
3bbf9fc6b8 Got rid of the default "system menu" added by Qt on MDI subwindows (tabs or windows).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1914 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-15 13:17:32 +00:00
xavier
f8c3df7b5f Removed the double frame border caused by the view-in-tabs imbrication.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1913 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-15 13:01:08 +00:00
xavier
b20e982cf9 Circumvented a display bug occuring when moving the current diagram from the elements panel.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1912 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-15 13:01:04 +00:00
xavier
14096b7f85 Now ask whether to save the project when the diagrams order is changed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1910 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-13 17:34:34 +00:00
xavier
0c85acee54 Improved the look of the closing dialog when no diagram were modified.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1909 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-13 17:34:31 +00:00
xavier
baca3db621 Fixed strings related to "save" and "save current diagram" buttons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1908 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-13 14:01:12 +00:00
xavier
00d158856a Reworked the way project saving is presented to users.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1907 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-13 07:21:19 +00:00
xavier
069387a58e Project tabs now have a close button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1903 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-08 13:32:38 +00:00
xavier
2505d6170f Added a "+" button to add a new diagram to an edited project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-08 13:00:14 +00:00
xavier
e0d23abd91 Projects are now displayed with a [Modified] tag after their properties were edited.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1901 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-07 19:45:32 +00:00
xavier
c693ea1371 Fixed a bug when comparing two ConductorProperties objects.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1899 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-07 19:45:29 +00:00
xavier
1fe9a2bce1 Reworked methods related to project saving in order to optimize the "save all" feature.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1897 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-05 05:54:45 +00:00
xavier
616a96ff58 Diagrams are now updated after project-wide properties were changed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1896 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-05 05:54:42 +00:00
xavier
94b9db6570 The project title is now made available to child diagrams as %projecttitle.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1893 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-02 06:34:40 +00:00
xavier
d5efc331a1 Introduced project-wide properties, i.e. key/value pairs defined at the project scope available in all child diagrams.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1892 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:07 +00:00
xavier
317d149c89 Updated the TitleBlockProperties class following DiagramContext improvements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1891 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:06 +00:00
xavier
dd93f59b26 Improved the DiagramContext class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1890 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:05 +00:00
xavier
47ea8fef37 Bugfix: existing project files could end up saving application-wide default template properties.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1889 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:03 +00:00
xavier
8ebdfbc5a4 DiagramContextWidget: fixed margins.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1888 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:02 +00:00
xavier
9819490dcd TitleBlockPropertiesWidget: moved the table used for custom variables into a new DiagramContextWidget class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1887 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:00 +00:00
xavier
f97bc8cf21 Fixed a typo in comments.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1886 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:26:29 +00:00
xavier
d685c56f21 ConductorPropertiesWidget: fixed a UI consistency bug.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1885 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:47 +00:00
xavier
4a01fed0ba Reworked the DiagramContext class to sort custom variables.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1884 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:46 +00:00
xavier
805ee08e1b The TitleBlockPropertiesWidget class was unable to load a diagram context apart from the one passed to the constructor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1883 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:43 +00:00
xavier
70dd359f25 Converted the "project properties" dialog to ConfigDialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1882 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:41 +00:00
xavier
00affb107e Minor refactoring: moved the Qt:Sheet window flag into the ConfigPage constructor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1881 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:39 +00:00
xavier
4ce3c89e1d BorderProperties class: made setEditedBorder() public.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1880 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:37 +00:00
xavier
c6a50220dc Trivial indentation fix.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1879 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:36 +00:00
xavier
dee29ac8cb Moved the ConfigPage class to a separated, dedicated header file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1878 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:34 +00:00
xavier
7a587a7d36 Refactored the ConfigDialog class to make it more generic.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1877 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:32 +00:00
xavier
1539628f24 Fixed a bug preventing the storage of custom variables in Configure QElectroTech > New Diagram.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1876 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:30 +00:00
xavier
488cb69a7c Elements panel: added a "switch to this project" action to the context menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1873 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-25 06:27:24 +00:00