- 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:
@@ -24,8 +24,6 @@
|
||||
|
||||
#include "ui_SelectProductDialog.h"
|
||||
|
||||
#include <QBasicTimer>
|
||||
|
||||
|
||||
namespace glabels
|
||||
{
|
||||
@@ -60,17 +58,12 @@ namespace glabels
|
||||
void onPageSizeCheckClicked();
|
||||
void onCategoryRadioClicked();
|
||||
void onCategoryCheckClicked();
|
||||
void onViewModeButtonClicked();
|
||||
void onTemplatePickerSelectionChanged();
|
||||
void onSelectButtonClicked();
|
||||
void onCancelButtonClicked();
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Events
|
||||
/////////////////////////////////
|
||||
protected:
|
||||
void timerEvent(QTimerEvent *event) override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Private methods
|
||||
/////////////////////////////////
|
||||
@@ -82,14 +75,12 @@ namespace glabels
|
||||
// Private data
|
||||
/////////////////////////////////
|
||||
private:
|
||||
QBasicTimer mTimer;
|
||||
|
||||
QMap<QCheckBox*,QString> mCheckToCategoryMap;
|
||||
QList<QCheckBox*> mCheckList;
|
||||
QStringList mCategoryIdList;
|
||||
|
||||
bool mCanceled;
|
||||
|
||||
bool mHasSelection { false };
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user