81 Commits

Author SHA1 Message Date
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
blacksun
9a6764ae08 Remove the use of ElementsCollectionItem and ElementDefinition from qetelementeditor class
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4413 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-31 17:28:44 +00:00
blacksun
d85a7fd53a After editing an element (opened from the new element panel by double clic, or context menu),
new element panel update the content of the item who represent the edited element (pixmap and name)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4399 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-24 10:35:00 +00:00
blacksun
3192c8ccd7 New element panel : add status tip when mouse over an item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4370 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-04 13:03:39 +00:00
blacksun
4de433898a New element panel, fix crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4364 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-29 20:18:17 +00:00
blacksun
bb840a3aa9 Minor change when reset the search in element collection
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4356 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-28 11:02:30 +00:00
blacksun
52b588ea50 New element panel : add a "show only this dir" Qaction.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4355 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-26 09:58:55 +00:00
blacksun
7ead0b64b0 Element collection : improve drag and drop behavior
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4325 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-16 14:25:20 +00:00
blacksun
4f222d2843 New element panel can read the embedded collection of project (only at opening, other fonctionnality isn't created yet)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4287 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-16 17:16:15 +00:00
blacksun
ed28d06d9d Improve the remove of an item in the new panel. No need to reload the collection, use QAbstractItemModel::removeRows instead.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4285 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-12 11:09:31 +00:00
blacksun
6bf52bb525 Enable the drag and drop inside the new element panel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4284 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-09 20:27:31 +00:00
blacksun
827fba8ce4 Add new element panel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4283 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-08 16:52:10 +00:00