summaryrefslogtreecommitdiff
path: root/src/libs/modelinglib
Commit message (Collapse)AuthorAgeFilesLines
* Compile fix for Qt 5.94.1hjk2017-09-041-1/+1
| | | | | | | | | | | | This here is a trivial backport of 991f5eb6a5699 which doesn't apply cleanly due to renamings in that area. It is meant to help regression testing Qt Creator over a wider range of versions bridging the source compatibility breakage in change 821390b7c3a9438 in Qt Core. Change-Id: Ib6d06927dbe16f94b21caca0993f524b282f167a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ModelEditor: Fix translations in templatesRobert Loehning2016-08-301-2/+3
| | | | | | | Change-Id: I176bcc60d70609c9623000aaa9cceb33454ad2c5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Jochen Becher <jochen_becher@gmx.de> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ModelEditor: Avoid corrupt diagrams after moving end of relationJochen Becher2016-07-042-0/+11
| | | | | Change-Id: If0a2a62d3ef7e59242b244d6892e83bb71315164 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* ModelEditor: Avoid chrashes if model is brokenJochen Becher2016-07-044-9/+82
| | | | | | | | Add some debugging code checking integrity of diagrams. Based on the analysis avoid chrashes if ends of relations on diagrams are gone. Change-Id: I86da4a6d422de5d51e551b44e7842e992590958c Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* ModelEditor: Implement zoom of diagrams.Jochen Becher2016-06-246-47/+7
| | | | | | | | | | All elements of a zoomed diagram must be dran anti-aliased. This change removes the extra handling of drawing vertical or horizontal lines without anti-alias. The complete graphics view is drawn anti-aliased instead. Change-Id: I6fc041b6d70da5a7a7bcb8e97d07990517380b90 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* qbs build: Remove some differences to qmake build results.Christian Kandeler2016-05-171-1/+1
| | | | | | | | | | | - Install library symlinks. - Do not create symlinks for plugins. - Skip some translations. - Rename some binaries. - Do not install the ptracepreload library. Change-Id: I0faa98034154e3840cd2695cab14b72c34cfc5c3 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Merge remote-tracking branch 'origin/4.0'Eike Ziller2016-05-032-3/+6
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/debugger/debuggerruncontrol.cpp src/plugins/projectexplorer/projectwizardpage.cpp src/plugins/projectexplorer/xcodebuildparser.h src/plugins/qmldesigner/qmldesignerplugin.cpp src/tools/clangbackend/ipcsource/translationunits.cpp Change-Id: Ibf0857cf8dbf95fc9ac13d5c2112b3f4a2ca7de6
| * ModelEditor: Avoid crash if an illegal relation is placed on a diagram.Jochen Becher2016-05-032-3/+6
| | | | | | | | | | Change-Id: I0e62f4665c8530095d1beedc2c263d6212aa53e7 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* | Wholesale conversion to #pragma oncehjk2016-03-30177-710/+177
|/ | | | | | | Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Fix i18nJochen Becher2016-03-112-1/+3
| | | | | Change-Id: I6e81e22f031055c6e700e1816653f26f196dfe25 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Remove unfinished relation when focus is lostJochen Becher2016-03-112-3/+14
| | | | | | Change-Id: Iee1031095845512bc69a31cbde7585e2f74ef805 Task-number: QTCREATORBUG-15799 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Modeling: Compile fix for Qt without SVGhjk2016-03-041-1/+1
| | | | | | Change-Id: Ia3ce41df63850e253643922fe5537375a4b57c3d Reviewed-by: Jochen Becher <jochen_becher@gmx.de> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Modeling: Fix build with/without SVGJochen Becher2016-02-263-55/+16
| | | | | Change-Id: I5152571010fecaf91986a16ca71bf7b89fada064 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Export diagram as image, pdf or svgJochen Becher2016-02-244-9/+48
| | | | | Change-Id: I19be1de5f0c8414b4d76dbbbb68e71183b7ce08e Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Destructor shall not throwJochen Becher2016-02-181-2/+2
| | | | | | Change-Id: I2a565095e841c2a6e70b04ace2cf6f7a2955b583 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* ModelEditor: Introduce factory for properties view classJochen Becher2016-02-183-4/+14
| | | | | | | | The factory allows usage of inherited view class for easy properties extensions. Change-Id: I73303a9c6f96df48dea508eadb9e829af32cdbe5 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Support resorting of propertiesJochen Becher2016-02-182-37/+100
| | | | | | | The feature is not yet used but will be in one of the next changes. Change-Id: I02fa5e3649fd7c067fae89a3ff4d99610c3386b6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* ModelEditor: Fix translatabilityJochen Becher2016-02-187-24/+32
| | | | | Change-Id: I32d4573d24f30347de2f3753b973cf8e454d3378 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-19300-5382/+3912
| | | | | | | * Update remaining files in src Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: move 3rd_party/modeling into libs/modelinglibJochen Becher2016-01-11328-11/+44979
| | | | | | | | Only moved the files and adapted .pro and .qbs files accordingly. Change-Id: I7c17c2ebf246595c104edf60013bf78379955aa7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* QBS files: fix modelinglib build on WindowsYuchen Deng2016-01-061-0/+1
| | | | | | Change-Id: Ifcfe529e239f92a787997778b61c8efcdaccef1d Reviewed-by: Jochen Becher <jochen_becher@gmx.de> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* ModelEditor: Make item names in-place editableJochen Becher2016-01-051-0/+2
| | | | | Change-Id: Ie686e570307dcc4a980174c6b07ce5d8b7929334 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Modellinglib: Fix linking for msvc.David Schulz2015-11-162-1/+2
| | | | | | | | The Utils dependecy wasn't explicitly added to the project dependencies. Change-Id: I8f294cb2b220105c0cd83a3205594d00a051679e Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* ModelEditor: Introduce newest version of qtserialization frameworkJochen Becher2015-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | This change unfortunately contains many single changes because it is an update of the 3rd party component: * Introduce new Parameter class for better serialization of containers and other future enhancements * Delete dead code * Introduce user data in base archive class * Fix minor source code issues and typos in comments * Remove unused and conceptionally broken support of forward refernces * Fix a memory leak in QXmlInArchive * prefer load()/save() methods over stream operators * throw exception on unsuported forward references in QXmlOutArchive * refactor serialization of pointer types into own header * remove unneeded specialisation for serialization of free functions * check for default value of serialization using a getter Change-Id: Ic197a92b00b22b85dab4a1b88c431cf4da8b3c3b Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Remove unused DiagramReferenceSerializerJochen Becher2015-10-131-2/+0
| | | | | Change-Id: Ia5226234c54d1d6b2a5acc5f91ef4b5b02d2734d Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Add modeling libraryJochen Becher2015-09-163-0/+375
Modeling library implements the entities, diagrams and widget Ui for ModelEditor plugin and tools. This is a 3rdparty library not following the QtCreator coding style. Change-Id: I981e38a10fff1c1792f285d5837553aa7596cd2f Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>