61 Commits

Author SHA1 Message Date
Simon De Backer
4ed33109f4 Improve code style, Wrap code for better readability 2020-08-16 14:21:55 +02:00
Simon De Backer
d4ee161c07 Mod doc set style de same 2020-08-16 11:19:36 +02:00
Simon De Backer
90417ae509 Fix Copyright indentation 2020-08-16 09:40:14 +02:00
Simon De Backer
fe4552200b Add compiler message @TODO 2020-07-19 22:06:42 +02:00
Laurent Trinques
e10ae8ce2e Update Copyright date 2020-06-15 17:42:53 +02:00
Simon De Backer
2ec018a4e9 fix deprecated warning QString::SplitBehavior
enum QString::SplitBehavior This enum is obsolete.

Use Qt::SplitBehavior instead.
This enum was introduced or modified in Qt 5.14.
2020-06-12 05:52:50 +02:00
Martin Marmsoler
d1742d5685 when model is not yet loaded, but the element editor should be opened, a segmentation fault occurs. Do not set current index when m_model is not yet loaded 2020-06-09 10:01:32 +02:00
Claveau Joshua
f297e28b64 Loading elements collections doesn't freeze gui anymore. 2020-01-19 11:53:40 +01:00
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
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
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
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
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
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
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
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
blacksun
3b2f5abc30 Bugfix : can't add element dragged from an embedded collection
New element panel, D&D : the pixmap of dragged element is used instead of the Qt default pixmap 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4498 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-22 14:51:09 +00:00
blacksun
8dd3e7394a New Element Wizard : tree view only display directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4484 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-15 14:46:01 +00:00
blacksun
3261809227 NewElementWizard class : remove the use of ElementsCategoriesWidget and ElementsCategory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4483 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-14 17:10:03 +00:00
scorpio810
025fa64f67 Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 17:40:36 +00:00
blacksun
5f93966984 ElementsCategoryEditor : remove the use of ElementsCategory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4475 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-12 15:41:55 +00:00
blacksun
168467abb0 Improve the way how an element is updated in the new element panel.
Now Qet only use the new embbeded collection (XmlElementCollection).
No need to reload the old element panel for add a new element created by the new element panel
Elements are always imported to the embbeded collection of a project


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4468 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-05 13:31:04 +00:00