Commit Graph

905 Commits

Author SHA1 Message Date
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
xavier
cb7cbbf0e1 Diagram editor: fixed a text position bug that occurred only when dropping elements onto diagrams.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1866 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-27 15:18:22 +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
5aae1d61a0 Removed a call to a function unavailable in Qt 4.6.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1863 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-25 09:06:55 +00:00
xavier
5868cf9b34 Fixed a forgotten slash.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1862 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-25 08:57:15 +00:00
xavier
515311db04 Dropping a file onto a main window now opens that file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1861 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-24 17:27:15 +00:00
xavier
81c0532fc2 The elements cache now expects the element mtime to be equal to the one stored in the cache entry.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1841 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-14 19:23:30 +00:00
xavier
7878773874 Fixed a typo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1835 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-13 10:48:29 +00:00
xavier
82388d80fe Changed email address for Remi Collet.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1834 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-13 10:41:20 +00:00
xavier
afb8254fe2 Modified displayedVersion and splash screen to prepare 0.3a tag
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1829 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 23:24:20 +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
7af1431105 Added Antun to the "About QET" dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1824 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 19:52:23 +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
0c961cb884 TBT editor: logos manager: added a "Close" button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1804 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 17:47:42 +00:00
xavier
3e4b948fd6 TBT editor: logos manager: added an "export" button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1803 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 17:47:38 +00:00