Commit Graph

6 Commits

Author SHA1 Message Date
Jochen Becher
53335c2fda ModelEditor: Apply some source code formatting rules
1. Reduce 2 or more empty lines to a single empty line
2. Remove duplicate access specifiers
3. Remove lots of single empty lines between member declarations
4. Remove braces around single lines
5. List base classes on same line as class declaration
6. Ensure opening brace of class declaration is on next line
7. Add comment to end of namespace block

Change-Id: I95e2efa3abea806683e0943d54d6f203ad4af0e4
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-17 18:06:50 +00:00
Jochen Becher
5d3812af28 ModelEditor: Apply naming convention to getters
Change-Id: If9eaaf0dc54e26e4b7e2b8952efd951a9113f104
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-11 09:07:53 +00:00
Jochen Becher
212f607768 ModelEditor: Apply naming convention to variables
This change applies the naming convention to function parameters and local variables.

Change-Id: Ifa495c70520923f14ba6791513d3691bfa7694f6
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-09 21:17:32 +00:00
Jochen Becher
06821596f0 ModelEditor: Apply naming convention to attributes
Change-Id: Ife37a542be9b9e721e988cb11d9498469b2226f0
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-09 21:10:09 +00:00
Jochen Becher
64760f0a8d ModelEditor: Remove diagram's specific document and editor
Only one document is created per .qmodel file and only one editor is
opened (splitting is not yet supported). The editor shows one diagram,
another diagram can be shown from the model tree.

Change-Id: Icd8211c14cb09203c52769a8ea1c90edb741ae51
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-09-30 17:54:08 +00:00
Jochen Becher
64e2ba87ef Add modeling library
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>
2015-09-16 12:13:17 +00:00