- Added side pane for product preview and information - Product selection is done with a separate pushbutton, so that user gets a chance to preview the complete product information before committing to the selection - Supports two view modes: Grid View and List View - View mode is automatically stored in Settings, so it will default to the user's prefered mode - Should address most concerns in #109 and #142
This commit is contained in:
@@ -52,6 +52,7 @@ namespace glabels
|
||||
/////////////////////////////////
|
||||
public:
|
||||
void setTemplate( const model::Template *tmplate );
|
||||
void setShowArrow( bool showArrow );
|
||||
void setRotate( bool rotateFlag );
|
||||
|
||||
|
||||
@@ -77,10 +78,11 @@ namespace glabels
|
||||
// Private Data
|
||||
/////////////////////////////////
|
||||
private:
|
||||
const model::Template* mTmplate;
|
||||
bool mRotateFlag;
|
||||
const model::Template* mTmplate { nullptr };
|
||||
bool mShowArrow { false };
|
||||
bool mRotateFlag { false };
|
||||
|
||||
QGraphicsScene* mScene;
|
||||
QGraphicsScene* mScene { nullptr };
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user