Commit Graph

48 Commits

Author SHA1 Message Date
gitlost e8daa8aa48 Fix readImageFile to set mSvg, use in drawShadow also 2019-08-23 09:27:14 +01:00
gitlost 98038e34e7 Make absolute image filename more Windows friendly 2019-08-23 00:56:31 +01:00
gitlost 010879fa71 Add root to images search path, readImageFile svg; unit tests 2019-08-21 15:04:52 +01:00
gitlost 2444cacb74 UserVariables branch merge 2019-08-21 03:37:56 +01:00
Jim Evins 6a789c9632 Save/restore file paths as relative to project file. 2019-08-18 21:56:37 -04:00
Jim Evins 3fedb16c2c Look for image files from substitution fields relative to project file. 2019-08-04 23:32:50 -04:00
Jim Evins f41461ef26 Added color variable type. 2019-08-03 17:16:14 -04:00
Jim Evins 6fda0246a8 Implement fields in ModelImageObject. 2019-07-30 21:26:16 -04:00
Jim Evins 57cbf18039 Added variables expansion to TextNode and ColorNode. 2019-07-27 22:00:05 -04:00
Jim Evins cd0af020c6 Added default cases to switch statements. 2019-07-21 19:26:03 -04:00
Jim Evins 5b9eba9af9 Tweaked look of image object placeholders. 2019-07-21 13:17:45 -04:00
gitlost 6ab3a12b92 Share Model merge; Merge initializers; undo/redo descs (#65)
- use "shared" pointer between Model and undo/redo instances
- adds missing initializers to Merge and Text classes
- adds checkpoints for mouse resize, barcode, and image reset.
- renames the position dialog checkpoint from Move -> Position to differentiate it from a mouse move.
- adds the Undo/Redo action descriptions to the menu items.
- adds unit tests for the Merge and Model change, and for ColorNode, RawText and TextNode.
2019-07-20 14:41:01 -04:00
gitlost 850c62ddd0 Make lockAspectRatio (sizeAspectCheck) per-object (#63)
* Make lockAspectRatio (sizeAspectCheck) per-object
* Added unit tests for XmlLabelCreator and XmlLabelParser.
2019-07-13 22:18:30 -04:00
Jim Evins 3256c407fb Make version numbers of snapshots more meaningful. 2019-05-05 14:45:44 -04:00
Jim Evins 54a66dfd8f Increment per item, not per merge record. 2019-03-24 22:33:40 -04:00
Jim Evins efbb052856 Implemented variables in merge print jobs. 2019-03-24 20:22:12 -04:00
Jim Evins 37f0a8890d Implemented variable substitution in simple print jobs. 2019-03-24 17:49:41 -04:00
Jim Evins 3a425f932a Include variables in glabels project file. 2019-03-17 22:38:45 -04:00
Jim Evins 6255939f39 Closed MVC loop for VariablesView. 2019-03-16 18:12:17 -04:00
Jim Evins c9e26c45fb Prototype of VariableView and EditVariableDialog user interface. 2019-03-05 21:35:11 -05:00
Jim Evins ff9188f7e7 Added File->"Open Recent" menu.
Initially based on pull request #40 by hochwasser <oo.o+github@windbuechse.samba-tng.org>, with refactoring.
2019-01-28 12:28:45 -05:00
Jim Evins 0e60c52d4c Added ReportBugDialog to Help menu.
- Also renamed "File" toolbar to "Quick Access" toolbar (#13).
2019-01-27 21:46:56 -05:00
Jim Evins 212578c380 Ideal template for Dymo 30334/11345 for testing. 2019-01-22 22:14:22 -05:00
Jim Evins e19e0dd3d9 QList.size() returns int, not unsigned int. 2018-12-19 23:53:04 -05:00
Jim Evins fe6dcd6a7f Cleanup of CMakeLists.txt files.
- Bumped required cmake version to 3.9.
 - Added Appveyor CI YAML file for Windows builds
2018-12-19 23:23:59 -05:00
Jim Evins 7e142bb57d Automatically generate a more informative version string. 2018-12-04 22:56:51 -05:00
Jim Evins 316f3915bd Merge branch 'hochwasser-parser_for_fileformat_3' 2018-12-02 16:52:24 -05:00
hochwasser ba3c60216f Implemented compatablility import of glabels-3 project files (#39). 2018-12-02 16:36:02 -05:00
Jim Evins e5cb97441d Merge branch 'ContinuousRollLabels' 2018-11-30 21:04:41 -05:00
Jim Evins 467ca9fc62 Implement continuous tape labels and path-based label shapes.
- Added "roll" as a special paper id
- Added roll_width attribute to draw tape in previews
- Updated Brother QL-500/* label templates
- Preserve print dialog settings between print jobs.
- Added path based labels for arbitrary shaped labels.
- Fleshed out implementation of continuous labels.
2018-11-30 20:30:10 -05:00
Jim Evins 1cdb3979ab Fixes to model::XmlUtil. Added unit tests for model::XmlUtil. 2018-11-19 23:00:28 -05:00
Yuri Chornoivan 76c370bf52 Fix minor typos (#37) 2018-11-13 19:01:14 -05:00
Jim Evins 12b02d2521 Implemented text auto shrink feature. 2018-07-08 20:39:14 -04:00
Jim Evins 0832acabf5 Added wrap mode attribute to text box. 2018-07-04 20:58:03 -04:00
Jim Evins 03a8e29396 Expand barcode merge fields. (#18) 2018-07-03 21:46:21 -04:00
Jim Evins a0e1dae5cf Implemented TemplateDesigner. 2018-04-07 22:24:09 -04:00
Jim Evins 931294a0f9 Validate "encoding" attribute of "image/png" file nodes. 2018-02-10 16:06:01 -05:00
Jim Evins 2b5ad625e4 Initialize previously uninitialized members. 2018-02-03 21:29:29 -05:00
Jim Evins b2859d47bb Correctly override ModelObject::can*() virtual methods. 2018-01-01 19:42:39 -05:00
Jim Evins 9a135f8971 Use auto to reduce some verbosity. 2017-12-30 21:41:02 -05:00
Jim Evins b11754462f Replace trivial constructors and destructors with defaults. 2017-12-30 17:43:03 -05:00
Jim Evins 7f903f5a68 Added some initial CPack support. 2017-12-29 19:13:48 -05:00
Jim Evins c6c52a8895 Minor code cleanup. 2017-11-25 16:54:37 -05:00
Jim Evins 32cde7cb1d Made zlib an optional dependency.
Only needed to read legacy files, which is not fully supported yet.  Hopefully
this will make it easier to build on Windows.
2017-11-25 03:18:39 -05:00
Jim Evins a48a929006 Run model unit tests in virtual X fb. 2017-11-24 16:53:03 -05:00
Jim Evins c9f2b91daf Removed C++17 nested namespace definitions. Should build on trusty again. 2017-11-24 15:49:26 -05:00
Jim Evins 4821e103bc CMake 3.2 does not support cxx_std_11 target_compile_feature. 2017-11-23 22:52:13 -05:00
Jim Evins b8ee5e1f73 Restructuring directory layout. Move towards "Modern CMake" usage. 2017-11-23 22:15:24 -05:00