Commit Graph

85 Commits

Author SHA1 Message Date
blacksun
d773581bdd Clean some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4264 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-11-16 08:59:43 +00:00
blacksun
1a7e3ac8e1 Fix warning about QSettings: now QSettings use native format for windows osx and other unix. See Qt documentation for more information.
http://doc.qt.io/qt-5/qsettings.html#details


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4206 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-16 15:11:13 +00:00
blacksun
9fce7717ea Fix wrong typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3920 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-04-25 08:54:54 +00:00
blacksun
cf7ffb5452 Allow user to select common or custom title block as default title block for a new project / diagram in project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3912 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-04-17 11:36:28 +00:00
nuri
a287de4b40 Made a more distinctive use of french words "projet", "schéma" and "folio" in the GUI
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3837 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-21 10:43:39 +00:00
scorpio810
68014ed352 Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3790 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-02 22:28:21 +00:00
scorpio810
84dfc12111 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3788 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-02 22:09:34 +00:00
scorpio810
81c684ca49 Merge Qt5 branch sources folder to trunk
-Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    sources/aboutqet.cpp
M    sources/bordertitleblock.cpp
M    sources/conductorproperties.h
M    sources/configdialog.cpp
M    sources/configpages.cpp
M    sources/configpages.h
M    sources/createdxf.h
M    sources/diagram.cpp
M    sources/diagram.h
M    sources/diagramcommands.cpp
M    sources/diagramcommands.h
M    sources/diagramprintdialog.cpp
M    sources/diagramprintdialog.h
M    sources/diagramschooser.cpp
M    sources/diagramschooser.h
M    sources/diagramview.cpp
M    sources/diagramview.h
M    sources/dvevent/dveventaddimage.cpp
M    sources/dvevent/dveventaddshape.cpp
M    sources/editor/arceditor.cpp
M    sources/editor/arceditor.h
M    sources/editor/editorcommands.cpp
M    sources/editor/editorcommands.h
M    sources/editor/elementitemeditor.h
M    sources/editor/elementprimitivedecorator.cpp
M    sources/editor/elementscene.cpp
M    sources/editor/elementscene.h
M    sources/editor/elementview.cpp
M    sources/editor/ellipseeditor.cpp
M    sources/editor/ellipseeditor.h
M    sources/editor/esevent/eseventaddtext.cpp
M    sources/editor/esevent/eseventaddtextfield.cpp
M    sources/editor/esevent/eseventinterface.cpp
M    sources/editor/graphicspart/customelementpart.h
M    sources/editor/graphicspart/parttext.cpp
M    sources/editor/graphicspart/parttext.h
M    sources/editor/graphicspart/parttextfield.cpp
M    sources/editor/graphicspart/parttextfield.h
M    sources/editor/lineeditor.cpp
M    sources/editor/lineeditor.h
M    sources/editor/polygoneditor.cpp
M    sources/editor/qetelementeditor.cpp
M    sources/editor/qetelementeditor.h
M    sources/editor/rectangleeditor.cpp
M    sources/editor/rectangleeditor.h
M    sources/editor/styleeditor.cpp
M    sources/editor/styleeditor.h
M    sources/editor/terminaleditor.cpp
M    sources/editor/terminaleditor.h
M    sources/editor/texteditor.cpp
M    sources/editor/texteditor.h
M    sources/editor/textfieldeditor.cpp
M    sources/editor/textfieldeditor.h
M    sources/editor/ui/elementpropertieseditorwidget.cpp
M    sources/elementdefinition.cpp
M    sources/elementdeleter.cpp
M    sources/elementdeleter.h
M    sources/elementdialog.cpp
M    sources/elementscategorieslist.h
M    sources/elementscategorieswidget.cpp
M    sources/elementscategorieswidget.h
M    sources/elementscategory.cpp
M    sources/elementscategorydeleter.cpp
M    sources/elementscategorydeleter.h
M    sources/elementscategoryeditor.cpp
M    sources/elementscategoryeditor.h
M    sources/elementscollection.cpp
M    sources/elementscollectioncache.cpp
M    sources/elementspanel.cpp
M    sources/elementspanel.h
M    sources/elementspanelwidget.cpp
M    sources/elementspanelwidget.h
M    sources/elementtextsmover.h
M    sources/exportdialog.cpp
M    sources/exportdialog.h
M    sources/exportproperties.cpp
M    sources/exportpropertieswidget.cpp
M    sources/exportpropertieswidget.h
M    sources/genericpanel.cpp
M    sources/integrationmoveelementshandler.cpp
M    sources/integrationmoveelementshandler.h
M    sources/interactivemoveelementshandler.cpp
M    sources/nameslistwidget.cpp
M    sources/nameslistwidget.h
M    sources/newelementwizard.cpp
M    sources/newelementwizard.h
M    sources/nomenclature.cpp
M    sources/nomenclature.h
M    sources/projectconfigpages.cpp
M    sources/projectview.cpp
M    sources/projectview.h
M    sources/qet.cpp
M    sources/qetapp.cpp
M    sources/qetapp.h
M    sources/qetdiagrameditor.cpp
M    sources/qetdiagrameditor.h
M    sources/qetgraphicsitem/conductor.cpp
M    sources/qetgraphicsitem/conductortextitem.cpp
M    sources/qetgraphicsitem/customelement.cpp
M    sources/qetgraphicsitem/diagramimageitem.cpp
M    sources/qetgraphicsitem/diagramtextitem.cpp
M    sources/qetgraphicsitem/diagramtextitem.h
M    sources/qetgraphicsitem/element.cpp
M    sources/qetgraphicsitem/ghostelement.cpp
M    sources/qetgraphicsitem/qetshapeitem.cpp
M    sources/qetgraphicsitem/terminal.cpp
M    sources/qetgraphicsitem/terminal.h
M    sources/qeticons.cpp
M    sources/qeticons.h
M    sources/qetmainwindow.cpp
M    sources/qetmessagebox.cpp
M    sources/qetmessagebox.h
M    sources/qetprintpreviewdialog.cpp
M    sources/qetprintpreviewdialog.h
M    sources/qetproject.cpp
M    sources/qetsingleapplication.cpp
M    sources/qettabbar.h
M    sources/qfilenameedit.cpp
M    sources/qtextorientationspinboxwidget.cpp
M    sources/qtextorientationspinboxwidget.h
M    sources/qtextorientationwidget.cpp
M    sources/qtextorientationwidget.h
M    sources/richtext/richtexteditor.cpp
M    sources/richtext/richtexteditor_p.h
M    sources/richtext/ui_addlinkdialog.h
M    sources/titleblock/dimensionwidget.h
M    sources/titleblock/gridlayoutanimation.h
M    sources/titleblock/helpercell.h
M    sources/titleblock/integrationmovetemplateshandler.cpp
M    sources/titleblock/integrationmovetemplateshandler.h
M    sources/titleblock/qettemplateeditor.cpp
M    sources/titleblock/qettemplateeditor.h
M    sources/titleblock/templatecellsset.h
M    sources/titleblock/templatecellwidget.cpp
M    sources/titleblock/templatecellwidget.h
M    sources/titleblock/templatecommands.cpp
M    sources/titleblock/templatedeleter.cpp
M    sources/titleblock/templatedeleter.h
M    sources/titleblock/templatelocationchooser.cpp
M    sources/titleblock/templatelocationchooser.h
M    sources/titleblock/templatelocationsaver.cpp
M    sources/titleblock/templatelocationsaver.h
M    sources/titleblock/templatelogomanager.cpp
M    sources/titleblock/templatelogomanager.h
M    sources/titleblock/templateview.cpp
M    sources/titleblock/templatevisualcell.h
M    sources/titleblockcell.cpp
M    sources/titleblocktemplate.cpp
M    sources/treecoloranimation.h
M    sources/ui/conductorpropertieswidget.cpp
M    sources/ui/diagrampropertiesdialog.cpp
M    sources/ui/diagramselection.cpp
M    sources/ui/dialogautonum.cpp
M    sources/ui/dialogwaiting.cpp
M    sources/ui/elementpropertieswidget.cpp
M    sources/ui/elementselectorwidget.cpp
M    sources/ui/linksingleelementwidget.cpp
M    sources/ui/masterpropertieswidget.cpp
M    sources/ui/potentialtextsdialog.cpp
M    sources/ui/projectpropertiesdialog.cpp
M    sources/ui/selectautonumw.cpp
M    sources/ui/titleblockpropertieswidget.cpp
M    sources/ui/xrefpropertieswidget.cpp
M    sources/undocommand/changeelementinformationcommand.cpp


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3783 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-02 20:14:56 +00:00
scorpio810
eaff56b669 Update copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3734 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-20 14:56:22 +00:00
scorpio810
ac3cf9478c Add Copyright forget part 3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2795 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 19:24:11 +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
xavier
75f6df7628 Got rid of a stray comma before a semicolon to please gcc-4.8.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2045 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-23 12:53:15 +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
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
xavier
5997bdb36f Removed all non-ASCII characters from source code.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1787 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-10 06:13:23 +00:00
xavier
cdfd49a5a3 Improved an informative text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1784 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 21:48:37 +00:00
xavier
d5a3dbc461 TBT editor: added informative texts regarding labels and values.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1783 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 21:17:12 +00:00
xavier
a8b0d63a5c TBT editor: logo manager: added icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1776 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 12:56:18 +00:00
xavier
7c75e2f0bf TBT editor: logos manager: minor improvements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1775 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:46 +00:00
xavier
d42a9ad176 Title block template editor: added a menu entry to manage logos.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1773 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:43 +00:00
xavier
dd237b148e Title block template editor: added tooltips to helper cells to ensure their content remains readable even when their size is reduced.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1772 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:41 +00:00
xavier
f54e3bb90b Fixed a bug in the dimension widget used in the title block editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1771 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:40 +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
83ca44e6b9 Fixed a forgotten tr().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1644 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 11:55:26 +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
6ab83f3517 TBT editor: fixed "Save as" icon.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1639 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:48 +00:00
xavier
7c89f95d8a TBT editor: added toolbars
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1638 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:46 +00:00
xavier
acbbf01cf4 TBT editor: added menu entries to add rows/columns at the end of the grid.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1637 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:43 +00:00
xavier
ba7e030d9f Title block templates: improved span management
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1636 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:40 +00:00
xavier
d995d9e6a9 Fixed a bug preventing the user from dropping an already-integrated titleblock template onto a diagram.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1628 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-04 16:13:08 +00:00
xavier
500c75603d Fixed two source strings not in the usual source language.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1619 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-01 20:13:44 +00:00
xavier
8b1e7904c4 The title block template editor now supports pasting multiple cells.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1597 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-25 16:34:53 +00:00
xavier
e31a8a375e Minor refactoring: added TitleBlockTemplateView::pastedCells().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1596 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-25 16:34:49 +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
8daa1bebce Cut/Copy/Paste menu entries are now enabled/disabled according to the current state of editor, selection and clipboard.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:48 +00:00
xavier
9bf900ca29 Minor refactoring within TBT commands.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1562 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:46 +00:00
xavier
f6b2037fb9 Title block template editor: implemented cut operation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1561 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:43 +00:00
xavier
ab3caba9ef Title block template editor: implemented paste operation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1560 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:40 +00:00
xavier
e7d724ebde Fixed a typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1557 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:27 +00:00
xavier
1f192b26c7 Title block template editor: implemented copy operation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1556 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:22 +00:00
xavier
9f62655914 Added a forgotten Q_UNUSED statement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1550 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-05 22:15:27 +00:00
xavier
b189c72fd9 Title block template editor: the "Merge cells" and "Splti cell" actions are now enabled and disabled depending on what is currently selected.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1546 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-04 18:27:37 +00:00
xavier
6bdd166e57 Title block templates now embed a free field for extra information.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1541 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-02 17:55:27 +00:00
xavier
fac0fea239 The title block template editor now displays a tooltip with the edited template's minimum and maximum widths.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1540 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-28 18:54:34 +00:00
xavier
ef2958eab1 Title block template editor: percentage are now bound within 1-100 range
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1539 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-27 18:31:47 +00:00
xavier
f7d27f25a1 Title block template editor: now write the preview width to application settings.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1538 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-27 18:20:33 +00:00