36 Commits

Author SHA1 Message Date
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
scorpio810
a7d49968a8 Fix FTBFS if QT_VERSION < 0x050400
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4471 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-07 00:52:04 +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
1d9735d0e3 Element dialog : Remove ElementsCategoriesList and use QTreeView with ElementsCollectionModel instead
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4456 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-04-19 09:29:40 +00:00
blacksun
f1ae6c2307 ElementLocation : Fix addToPath.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4435 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-04-09 10:45:15 +00:00
blacksun
eb7ff07feb Fix regression with embedded element collection
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4420 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-04-03 17:01:44 +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
95e309ff18 Minor improvement and remove some use of ElementsCollectionItem and ElementsDefinition
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4407 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-29 17:23:58 +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
10fcaa09d1 Remove Two methods of ElementsLocation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4389 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-20 15:54:28 +00:00
blacksun
4fe4509885 Enable the drag & drop of an element from the element panel (an embedded element of a project) to the folio of another project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4388 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-19 14:18:00 +00:00
blacksun
7d11a356d8 Minor fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4381 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-16 16:39:23 +00:00
blacksun
9a3cc9c3fa Move files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4380 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-16 15:21:46 +00:00
blacksun
111567c072 Bug fix (unable to load element from .qet file)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4379 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-15 18:42:18 +00:00
blacksun
c8fb5c2c9b Forget file from previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4378 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-15 15:48:17 +00:00
blacksun
1170522d9c Remove elementLocation and use elementsLocation instead
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4377 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-15 15:23:11 +00:00
blacksun
c8000d55d9 New element panel : drag and drop an item from a project collection to a files system collection work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4375 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-09 10:17:28 +00:00
blacksun
73e21c408d New element panel : user can drag & drop item from project collection to another project collection
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4371 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-06 14:40:52 +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
a35ce68d7a New elements panel : fix crash at drag and drop due to a wrong use of QAbstractItemModel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4353 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-24 10:43:40 +00:00
blacksun
014f3c8f13 New element panel: User can now drop an item from custom or common collection, inside an item of embedded collection of a project
(drag an item from an embedded collection to another embedded collection don't work yet)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4352 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-21 18:53:40 +00:00
blacksun
90c769c013 Minor fix with the insertion of new item in the new element panel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4351 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-18 16:56:08 +00:00
blacksun
6f6561be01 Change the way how an element or directory is copied, this isn't the role of the new panel to manage the copy.
We must to use elementcollectionhandler instead


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4343 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-13 12:51:56 +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
7fdcb0060c xmlElementCollection : collection can add new item.
elementsCollectionModel : Up to date the content when a new item is added to the embedded collection of a project.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4312 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-08 17:01:51 +00:00
blacksun
313e4b9793 New element panel can display the thumbnail of elements used in a project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-30 09:39:22 +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