Single-click selection of product.

It was clumsy to first select the product and then click the select
button.
This commit is contained in:
Jim Evins
2016-03-31 22:06:05 -04:00
parent c2aef0b738
commit 9f6697376d
3 changed files with 21 additions and 39 deletions
+9 -1
View File
@@ -22,6 +22,7 @@
#define SelectProductDialog_h
#include "ui_SelectProductDialog.h"
#include <QBasicTimer>
///
@@ -53,14 +54,21 @@ private slots:
void onSearchClearButtonClicked();
void onPageSizeCheckClicked();
void onTemplatePickerSelectionChanged();
void onSelectButtonClicked();
void onCancelButtonClicked();
/////////////////////////////////
// Events
/////////////////////////////////
protected:
void timerEvent(QTimerEvent *event);
/////////////////////////////////
// Private data
/////////////////////////////////
private:
QBasicTimer mTimer;
bool mCanceled;
};