- 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:
+5
-1
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "Distance.h"
|
||||
|
||||
#include <QListView>
|
||||
#include <QSettings>
|
||||
#include <QStringList>
|
||||
|
||||
@@ -87,6 +88,9 @@ namespace glabels
|
||||
static QStringList searchCategoryList();
|
||||
static void setSearchCategoryList( const QStringList& searchCategoryList );
|
||||
|
||||
static QListView::ViewMode templatePickerMode();
|
||||
static void setTemplatePickerMode( QListView::ViewMode viewMode );
|
||||
|
||||
static QStringList recentTemplateList();
|
||||
static void addToRecentTemplateList( const QString& name );
|
||||
|
||||
@@ -94,7 +98,7 @@ namespace glabels
|
||||
static QStringList recentFileList();
|
||||
static void addToRecentFileList( const QString& filePath );
|
||||
|
||||
|
||||
|
||||
private:
|
||||
static Settings* mInstance;
|
||||
static const int mMaxRecentFiles{5};
|
||||
|
||||
Reference in New Issue
Block a user