62 Commits

Author SHA1 Message Date
scorpio810
9aa62e7546 Add css file style.css
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3174 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-23 15:17:35 +00:00
scorpio810
13cb1c4f8f Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3169 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 18:25:07 +00:00
scorpio810
5d51172933 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3168 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 18:02:09 +00:00
scorpio810
7d4fa4ac38 QTreeViewitem change text color to white
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3167 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 17:54:58 +00:00
scorpio810
7b5b651fd7 QTreeView cosmetic change add item:hover
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3166 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 16:32:12 +00:00
scorpio810
bb23a6f110 QTreeView cosmetic change QTreeView::item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3164 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 15:49:46 +00:00
scorpio810
767d63101f QTreeView cosmetic change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3163 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 15:27:59 +00:00
scorpio810
088c7f85e6 Fix segfault on Windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3162 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 14:42:30 +00:00
scorpio810
efa2854f40 Cosmetic: change gray mode by blue lineargradient
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3161 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 12:48:19 +00:00
scorpio810
7ef5e3fa53 Cosmetic change when not use system color
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3160 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-21 12:17:00 +00:00
scorpio810
3d320d900f Minor change: cosmetic
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3154 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-20 11:58:07 +00:00
scorpio810
e6c32bc057 Background set to use System Palette
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3151 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-19 18:23:16 +00:00
scorpio810
764fe5b75e Change background color
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3150 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-19 15:30:07 +00:00
blacksun
b4999bfafb fix some memory leaks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3012 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-19 12:56:30 +00:00
blacksun
b361788873 Add ability to store informations for element like label, manufacturer, ref etc....
Add widget to edit it, save/load works
Informations are stored in a diagramcontext, this class was modified (new feature) to store information
but keep compatibilty with older version.  


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2850 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-12 17:36:35 +00:00
scorpio810
433ebc7158 Update Copyright to 2014
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2792 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 18:37:45 +00:00
scorpio810
6d1d4e3bb8 Update Copyright
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2780 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-27 03:00:37 +00:00
blacksun
e8475c833e Add widget to select langage, must relauch qet for make change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2762 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-21 19:23:44 +00:00
blacksun
7ff6ac4410 add pattern factory/singletton to create different type of element
add two news class for element type : simple and folio report
add an empty tab for the element report in the element properties widget


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2665 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-20 20:30:55 +00:00
scorpio810
1ec9d9705f Replacing getenv function in Windows, thanks Francisco
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2661 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-19 16:11:52 +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
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
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
15a79881b0 The title block template editor now save its geometry and state when closing.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1650 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 18:56:17 +00:00
xavier
8ba02ef932 QElectroTech is now able to open .titleblock files passed as arguments to the program.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1646 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 15:27:15 +00:00
xavier
4164cf227f Removed Qt translations from the lang/ directory.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1529 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-25 16:44:11 +00:00
xavier
0815332c73 The application now uses right-to-left layouts when required by translations through a special, non-displayed translated string.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1518 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 21:20:34 +00:00
xavier
7661b2f47e Elements collection now have a title and an icon.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1491 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 22:13:39 +00:00
xavier
4adbba85df Added QETApp::collectionCache() for the currently unique SQLite cache to be usable by most classes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1489 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 21:19:58 +00:00
xavier
0345e54512 When editing a diagram, it is now possible to edit and/or duplicate a title block template from the title block properties dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1479 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-25 07:29:50 +00:00
xavier
aa0a83e0d6 Added API to get a valid TitleBlockTemplateLocation from a string.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1468 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 19:26:40 +00:00
xavier
fa11ec59ad Title block template editor: added "Open from file" and "Save to file" actions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1457 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-12 07:04:09 +00:00
xavier
91adb47b88 Implemented the common and custom title block templates collections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1433 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 17:04:34 +00:00
xavier
5ccf015280 Updated copyright notice for year 2012.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1424 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-01 22:51:51 +00:00
xavier
82e6e22a4a The systray icon is now able to manage title block template editors as well.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1412 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-27 01:39:45 +00:00
xavier
5b2a2249af Began implementing a WYSIWYG title block template editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1405 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-25 17:45:39 +00:00
xavier
d431139d57 The application now avoids reading and keeping in memory every element file in the collection.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1366 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-08 21:54:53 +00:00
xavier
cf6ebf8f0f Changed the way the application loads elements collections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1217 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-15 20:06:40 +00:00
xavier
71abf66bfd Updated Copyright notice for 2011 year.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1183 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-02 00:16:40 +00:00
xavier
a3b1ac7b74 Added an "hadjust" XML attribute to title block cells, allowing too long texts to be reduced until they fit the cell.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1150 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-08 06:53:47 +00:00
xavier
649e3de3e6 Added context menu entries and a basic, non-WYSIWYG template editor to add, modify and delete title block templates embedded within a project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1133 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-24 21:00:11 +00:00
xavier
616626cb1c Changed every occurence in the code of the "inset" term to "title block".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1132 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-20 02:45:36 +00:00
xavier
d17d6c492e The Diagram class now renders its usual inset with a template.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1130 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 18:12:56 +00:00
xavier
c3563a8307 Rapatriement dans la branche 0.3 des revisions 870 a 903.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@904 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-28 16:27:48 +00:00
xavier
bb1d4f8910 Introduction de la classe QTextOrientationSPinBoxWidget, qui regroupe un QTextOrientationWidget et un QSpinBox pour faciliter la saisie d'un angle d'orientation pour un texte.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@848 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-09 19:29:55 +00:00
xavier
27e2c052b2 Mise a jour des dates de copyright dans les sources et dans les fichiers de traduction.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@829 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-03 16:25:37 +00:00
xavier
121bd1f432 Rapatriement dans la branche 0.3 de toutes les modifications effectuees dans le trunk depuis la creation de la branche 0.3.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@793 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-22 16:12:22 +00:00
xavier
d14b99937d Amelioration de l'integration de certains dialogues sous MacOS.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@730 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-09 16:43:03 +00:00