Initial implementation of barcode backends db and barcode menu item.

This commit is contained in:
Jim Evins
2014-07-05 21:31:43 -04:00
parent e1e666fa3d
commit 8c781ee1d4
7 changed files with 423 additions and 0 deletions
+12
View File
@@ -31,6 +31,7 @@ namespace glabels
///
BarcodeStyle::BarcodeStyle ()
: mId( "" ),
mBackendId( "" ),
mName( "" ),
mCanText( false ),
mTextOptional( false ),
@@ -47,6 +48,7 @@ namespace glabels
/// Constructor From Data
///
BarcodeStyle::BarcodeStyle ( const QString& id,
const QString& backendId,
const QString& name,
bool canText,
bool textOptional,
@@ -56,6 +58,7 @@ namespace glabels
bool canFreeform,
int preferedN )
: mId( id ),
mBackendId( backendId ),
mName( name ),
mCanText( canText ),
mTextOptional( textOptional ),
@@ -77,6 +80,15 @@ namespace glabels
}
///
/// Backend ID Property Getter
///
const QString& BarcodeStyle::backendId() const
{
return mBackendId;
}
///
/// Name Property Getter
///