Mouse wheel handling in InputField

This commit is contained in:
jriegel
2013-12-16 00:02:31 +01:00
parent 16c6fe2470
commit 122c548bfd
2 changed files with 26 additions and 1 deletions

View File

@@ -129,6 +129,7 @@ Q_SIGNALS:
protected Q_SLOTS:
void newInput(const QString & text);
void wheelEvent ( QWheelEvent * event ) ;
protected:
virtual void contextMenuEvent ( QContextMenuEvent * event );
@@ -142,6 +143,8 @@ private:
Base::Quantity actQuantity;
Base::Unit actUnit;
double actUnitValue;
QString actUnitStr;
double Maximum;
double Minimum;