Commit Graph

89 Commits

Author SHA1 Message Date
scorpio810 3ed7a4e63b Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-13 16:56:12 +00:00
blacksun 58ef54090e Element panel : elements can be searched by their name but also with by all their informations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5698 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-04 22:06:34 +00:00
blacksun c64b74d328 Fix : On windows when user drag and drop an element from the common elements collection to the custom elements collection,
the element file stay in read only mode, and so user can't save the element



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5648 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-13 21:39:44 +00:00
scorpio810 eb1028ec9a Add other country names
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5554 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-12 00:21:04 +00:00
scorpio810 6842abcf9a Add Translator, contributor
Add Turkish Unicode binary character name


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5553 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-11 23:37:56 +00:00
blacksun e6d73977c1 1-Use the "implicite shared" of Qt for the QPicture and QPixmap of element (https://doc.qt.io/qt-5/implicit-sharing.html).
This avoid to parse the same element definition each time user drop the same element in the diagram.
Only the first element build the picture, all other get the created picture which is shared.

2- For use the "implicite shared" QPicture and QPixmap of element, now this isn't the element who build her picture, but a dedicated class who made only this job : build the QPicture and QPixmap of elements.

3- With the two previous novelty, the class CustomElement and GhostElement are became useless, and so was removed.
Some few member function of CustomElement was moved to Element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-23 19:41:58 +00:00
scorpio810 30bee81432 Revert r5449 and disable r5452 momentary : Load time from elements is
very slow


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-30 15:24:29 +00:00
scorpio810 b97b01d63c Apply clang-tidy's modernize-use-auto
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 16:27:20 +00:00
scorpio810 e4b1ba9797 Apply clang-tidy's performance-unnecessary-value-param, performance-for-
range-copy


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5448 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 14:14:31 +00:00
scorpio810 3f1a33a179 Fix bug #162
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5439 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-16 14:23:54 +00:00
scorpio810 bfa706ca29 Fix some Debian lintian spelling errors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5262 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 13:38:41 +00:00
scorpio810 12edbf93be Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5155 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 12:38:08 +00:00
scorpio810 8ef41fdadd Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5154 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 01:38:19 +00:00
scorpio810 6a4520a4a1 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5153 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 01:17:17 +00:00
scorpio810 bcb84831a5 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5152 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 00:33:25 +00:00
scorpio810 308430351d Improve latest commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5151 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-08 23:43:37 +00:00
scorpio810 f63bfd6185 Add Thread Count in progress bar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5150 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-08 23:01:48 +00:00
nuri fc4ecb5587 icon theme: add missing icons in size 16x16px
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5115 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 21:13:56 +00:00
nuri dd2c45ab64 icon theme: add dedicated icons for actions "show only this folder" and "show all folders" in the collection panel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5110 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 04:54:31 +00:00
scorpio810 31f36b8625 Modernize-use-override refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5009 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:10:01 +00:00
scorpio810 9f9b127c04 Modernize-use-nullptr refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:06:59 +00:00
blacksun 1a9c27b017 Improve last comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4955 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-01 16:22:34 +00:00
blacksun 310ce75089 Minor fix : Elements collection widget doesn't load automatically when the parent dock widget is detached
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4954 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-01 15:47:28 +00:00
blacksun a12198294f Re-enable the button "find element in panel".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4953 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-01 11:42:55 +00:00
blacksun 0e003b27a5 Fix crash : Qet crash when we save a project and the element collection is not loaded.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4951 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-04-29 17:51:55 +00:00
scorpio810 41659fa6fd Revert r4900
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-05 16:18:50 +00:00
scorpio810 6422dd096f Replace foreach function by for, please try and report problem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-04 21:43:23 +00:00
scorpio810 54c85db29c Minor update Copyright year
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4860 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-20 10:55:49 +00:00
blacksun 6f498977c5 Bad behavior fix : in element collection tree, when user drop a directory into itself, this directory is copied in recursive way infinitely.
See bug report N° 121


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4831 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-03 16:47:39 +00:00
blacksun ce638c770d Display the name of the current hovered element of the element collection tree, in the status bar.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4773 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-10 19:49:33 +00:00
blacksun e1ea01bd81 Elements collection widget: add entry 'directory propertie' in the context menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4743 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-15 13:39:02 +00:00
scorpio810 9fe3f85d06 Improve latest commit for MAC OS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4732 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-04 10:37:02 +00:00
scorpio810 f15664cc8f Fix bug 0000086: Unable to open elements directory with the elements
panel in new KF5 with  
QUrl("file:///" translated to smb://


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4731 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-04 00:54:13 +00:00
blacksun 9536a965fd Minor fix: Unable to open elements directory with the elements panel in windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4698 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-10 15:16:35 +00:00
blacksun dde2ac145a Bug fix : Crash when drag an item from the element panel, which represent an element embedded by a project, and drop it in a folio of another project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4629 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-16 20:25:27 +00:00
blacksun 72b613f348 When add a new project, load only items of project, instead of reload every items owned by the model
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4616 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-10 05:23:48 +00:00
blacksun 371b8cb591 Allow copy of elements from a project to another with the actions copy/paste
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4581 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-18 17:37:02 +00:00
blacksun df1db0adc3 ElementsCollectionModel : model use multithreading itself for load collections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4576 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-14 11:58:56 +00:00
blacksun 518f0efd46 Project embedded collection, Clean unused elements and empty directory work again
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4568 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-09 18:24:40 +00:00
dfochi 522759e8b3 Element autonumbering. New tab inside autonumbering menu to assign formulas to element label. XML containing elements labels according ISO/IEC 81346 (./elements/10_electric/qet_labels.xml
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-05 20:14:14 +00:00
blacksun 438ce78c4f element collection widget : highlight unused element in a project.
the feature "clean project" does not clean unused elements yet


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4561 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-30 09:12:25 +00:00
scorpio810 50686f112b Fix clang FTBFS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4557 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-19 20:19:28 +00:00
blacksun 32c6d00bce Element panel widget : Add item to the QTreeView when create a new element or a new directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4556 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-17 09:09:46 +00:00
blacksun 18f56b6540 Element panel widget : improve how an item is updated or added after editing an element with the Qet Element Editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4555 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-17 08:41:09 +00:00
blacksun e2e0aad9bc Elements collection widget : improve the search
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4550 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-10 16:20:01 +00:00
blacksun 646f9e7dc6 Fix crash when open Qet with a .qet file has argument
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4543 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-06 19:07:13 +00:00
blacksun 2ec0278213 Use multithreading for loading the element collection
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4542 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-06 18:34:34 +00:00
blacksun e6c2ed8d5f Minor change to be able to compile with Qt < 5.4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4541 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-05 19:55:41 +00:00
blacksun 1b00a457d7 elements collection model : use QStandardItemModel has base class instead of QAbstractItemModel.
Add minor improvement.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4538 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-05 16:34:46 +00:00
blacksun 8f83131852 Element panel search field : add the "+" character used for search multicritere
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4536 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-31 09:06:04 +00:00