Improvements to SelectTemplateDialog (#109 and #142)

- 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:
Jaye Evins
2025-05-26 19:23:36 -04:00
parent 43cbc8fc3c
commit 4c0ce1146a
26 changed files with 1073 additions and 376 deletions
+11 -1
View File
@@ -39,11 +39,21 @@ namespace glabels
public:
static const int SIZE = 80;
/////////////////////////////////
// Life Cycle
/////////////////////////////////
public:
TemplatePickerItem( model::Template *tmplate, QListWidget *parent = nullptr );
TemplatePickerItem( model::Template* tmplate,
QListView::ViewMode mode,
QListWidget* parent = nullptr );
/////////////////////////////////
// Manipulate widget
/////////////////////////////////
public:
void setMode( QListView::ViewMode mode );
/////////////////////////////////