Barcode tweaks.

- Add capability to disable text in glbarcode UPC/EAN barcodes. (#79)
- Add backend name to display text in BarcodeMenuButton.
This commit is contained in:
Jim Evins
2019-12-08 17:07:10 -05:00
parent bd92e6f238
commit af607ca4af
5 changed files with 57 additions and 29 deletions
+18
View File
@@ -20,6 +20,8 @@
#include "Style.h"
#include "Backends.h"
namespace glabels
{
@@ -116,6 +118,22 @@ namespace glabels
}
///
/// Full Name Property Getter
///
QString Style::fullName() const
{
if ( mBackendId == "" )
{
return mName;
}
else
{
return Backends::backendName(mBackendId) + " / " + mName;
}
}
///
/// Can Text Property Getter
///