Commit Graph

251 Commits

Author SHA1 Message Date
Jim Evins 7a910ba14e Use QLineEdit's built-in clear button instead of our own in SelectProductDialog.
- Clear button was introduced in Qt 5.2
2018-04-13 23:07:24 -04:00
Jim Evins 93d01302ba Use 48x48 icon in template designer. 2018-04-08 18:07:25 -04:00
Jim Evins 9e2c65bf98 Unified icon/logo style. 2018-04-08 14:43:36 -04:00
Jim Evins a0e1dae5cf Implemented TemplateDesigner. 2018-04-07 22:24:09 -04:00
Jim Evins af3b953de3 Fixed semantics of enabling alignment verbs. 2018-03-03 12:09:02 -05:00
Jim Evins 9aff6c2e2f Push temporary color list down into ColorHistory. 2018-02-11 16:21:35 -05:00
Jim Evins 6e6a1fab72 Minor performance cleanup. 2018-02-11 15:51:30 -05:00
Jim Evins 0cc3be205f Avoid temporary container. 2018-02-10 15:30:12 -05:00
Jim Evins 267c5384cc Use constFirst() on temporaries. 2018-02-10 14:39:41 -05:00
Jim Evins 2b5ad625e4 Initialize previously uninitialized members. 2018-02-03 21:29:29 -05:00
Jim Evins 26f10d7faf Check dynamic casts for null. 2018-01-02 03:03:59 -05:00
Jim Evins 9a135f8971 Use auto to reduce some verbosity. 2017-12-30 21:41:02 -05:00
Jim Evins c7a6ed4917 Remove unnecessary typedefs or replace with using. 2017-12-30 18:42:26 -05:00
Jim Evins 5e9f8355b9 Updated prerequisites and build instructions. Updated Windows install. 2017-12-13 17:09:20 -05:00
Jim Evins 25872eb32c Tweak layout of AboutDialog. 2017-12-03 21:44:31 -05:00
Jim Evins 9917e9d4c2 Don't use tr() in static initialization. 2017-11-26 14:34:26 -05:00
Jim Evins c6c52a8895 Minor code cleanup. 2017-11-25 16:54:37 -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
Jim Evins 8bec3594ec Fleshed out SubstitutionField spec and implementation.
- Added newline modifier to spec and implementation
- Does not belong in Merge, so moved back to glabels
- Incorporated SubstitutionField into RawText
2017-11-22 13:33:30 -05:00
Jim Evins 8bcec37d7c Created SubstitutionField class. 2017-11-18 22:36:43 -05:00
Jim Evins 7b36ab4943 Tweaked layout of SelectProductDialog.
- Tweaks to layout so that it resizes without artifacts.
- Removed parent window so that window manager will not center dialog on parent,
  which makes resizing difficult depending on size and location of parent window.
2017-11-06 22:35:59 -05:00
Jim Evins e970301680 Fixed old cut&paste artifact. 2017-11-04 12:36:50 -04:00
Jim Evins a31484700c Initial implementation of glabels-batch.
Note: must currently use QGuiApplication instead of QCoreApplication to
support QFont.  Unfortunately, this means that glabels-batch must run
within a windowing system.  Ideally, it would not have this requirement.
2017-10-02 23:15:43 -04:00
Jim Evins 179103ef05 Finished fleshing out Zint barcode backend. 2017-06-03 12:52:04 -04:00
Jim Evins 3e2b40c000 Initial implementation of Zint barcode backend. 2017-06-02 22:39:44 -04:00
Jim Evins cb9013cdd5 Finished fleshing out GNU Barcode backend. 2017-06-01 22:58:11 -04:00
Jim Evins 4ca02e7a40 Fleshed out GNU Barcode EAN barcodes. 2017-05-31 23:16:47 -04:00
Jim Evins 9601541614 Removed use of deprecated Qt APIs. 2017-05-29 21:19:47 -04:00
Jim Evins e0992db6b6 Initial implementation of GNU Barcode backend. 2017-05-29 20:43:10 -04:00
Jim Evins 52edeaff83 Some name cleanup to QrEncode backend. 2017-05-24 19:46:32 -04:00
Jim Evins 662d7a9ef5 Added FindGnuBarcode cmake module. 2017-05-24 19:33:39 -04:00
Jim Evins df5b977853 Created QrEncode barcode backend. 2017-05-22 22:26:28 -04:00
Jim Evins 8e2905727a Moved EnumUtil functionality to XmlUtil. 2017-05-19 23:18:19 -04:00
Jim Evins 28f11da8d9 Update cached editor layouts in constructor. 2017-05-19 23:17:30 -04:00
Jim Evins 438dccd28f Construct objects in XmlLabelParser atomically. 2017-05-19 21:06:16 -04:00
Jim Evins 629c32b90f Improvements to placeholder barcode rendering in editor. 2017-05-13 20:25:32 -04:00
Jim Evins 446d580f13 Correctly handle invalid barcode data cases in label editor. 2017-05-13 15:37:16 -04:00
Jim Evins 276756a317 Read and write barcodes in glabels project files. 2017-05-07 22:21:29 -04:00
Jim Evins 56c2930db7 Finished hooking up barcode style controls in object editor. 2017-05-07 19:09:36 -04:00
Jim Evins 409ca1bf57 Added RawText type for text and barcode objects. 2017-05-06 20:08:17 -04:00
Jim Evins 6d764bbf4d Render barcode placeholder for invalid data in label editor. 2017-05-04 21:58:29 -04:00
Jim Evins c2052abf43 Hooked up barcode data controls in object editor. 2017-05-03 22:20:09 -04:00
Jim Evins 0b9609493a Started hooking up barcode to object editor. 2017-04-30 22:56:34 -04:00
Jim Evins fdce71b042 Fixed include directory search. 2017-04-29 20:34:33 -04:00
Jim Evins cf000a5d5c Initial implementation of barcode object. 2017-04-29 19:12:20 -04:00
Jim Evins 02630aec19 Fix label parsing and creation issues.
- Parse rotate attribute of Objects node.
- Create proper page size when creating template.
2017-04-22 00:14:51 -04:00
Jim Evins cc354d06da Modifications to build successfully with -Werror -Wall -Wpedantic. 2017-04-07 20:37:25 -04:00
Jim Evins dc09478b63 Parse command line options and open files from command line. 2017-04-02 22:04:27 -04:00
Jim Evins a80b76343b Added QT translator. 2017-04-02 17:16:44 -04:00