Commit Graph

2170 Commits

Author SHA1 Message Date
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
scorpio810
a6bd88be8e Add Danish language
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4391 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-21 15:22:45 +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
scorpio810
efcf9c57f8 Enable High Dpi Scaling for QT_VERSION >= 5.6.0
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4384 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-18 16:34:55 +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
scorpio810
c66a1b6fc4 Fix DXF save and read file config
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4366 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-01 19:02:20 +00:00
scorpio810
9ab713844d Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4365 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-01 18:03:18 +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
scorpio810
f7eb6e0105 slot_openDxf fix Windows path
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4363 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-28 18:54:49 +00:00
scorpio810
f0ea22c060 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4361 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-28 16:44:25 +00:00
scorpio810
3113cd4efc Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4360 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-28 16:16:51 +00:00
scorpio810
78720fb2b4 Run dxf converter as a external program
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4359 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-28 14:50:14 +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
183ef362ba Shape item propertie widget : hide filling group box when shape is a line or an opened polyline
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4344 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-15 16:15:05 +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
bc7f75c1da Elements collection cache can fully fetch and cache element data from elementLocation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4323 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-14 16:09:28 +00:00
blacksun
a6b3980f92 QetShapeItem : shapes can be filled with some patterns and colors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4315 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-12 14:02:34 +00:00
blacksun
cc898b7478 Forget file from previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4313 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-08 17:44:55 +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
scorpio810
fc8b4b974d Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4311 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-08 02:15:04 +00:00
blacksun
99e35d407e Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4308 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-05 14:56:44 +00:00
scorpio810
f9f06e60b4 Restore m_size_dsb setRange values
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4306 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-03 18:35:51 +00:00
blacksun
471fdb8de0 Fix minor bug about the size of qpen stored in a xml
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4305 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-03 18:26:30 +00:00
scorpio810
d96bf1f9e8 Bug fix : change m_size_dsb setRange values
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4304 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-03 16:59:29 +00:00
blacksun
07b81e4106 QetShapeItem : add color and improve the GUI,.
the xml saving is break from previous version. 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4303 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-03 13:45:30 +00:00
scorpio810
5c2ddfafa5 Minor :replace XML attribute name "shape_size" by "size"in Basic shapes
Properties


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4302 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-03 04:53:09 +00:00
scorpio810
fd4cce9a6f Minor : add accelerated and wrapping mode cursor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4298 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-01 04:17:45 +00:00
scorpio810
6297d75276 Refresh widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4297 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-01-01 03:01:21 +00:00
scorpio810
396e2cf0f2 Improve Basic shapes Properties size function replace QSpinBox by QDoublespinBox, int to double
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4296 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-30 20:04:17 +00:00
scorpio810
f93e2eb3e0 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4295 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-30 13:53:20 +00:00
scorpio810
917f6dadda Improve Basic shapes Properties size function
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-30 13:47:21 +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
scorpio810
72c65f80ad Minor : Force single line symbols specific conductor to 1 pixel,
even if the thickness of the conductor is superior than 1 pixel


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4292 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-28 15:19:55 +00:00
scorpio810
47996a8028 For common properties for every conductors at the same potential,
add color and size type on related Potential Conductors


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4290 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-23 22:13:03 +00:00