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:
@@ -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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user