--Code changes

Add DoubleSpinBoxTableItemDelegate.h to Fractorium.pro to get it building on Linux.
This commit is contained in:
mfeemster 2015-05-29 21:57:09 -07:00
parent 83ad93aadf
commit c97946c660
4 changed files with 2 additions and 4 deletions

View File

@ -73,7 +73,8 @@ HEADERS += \
../../../Source/EmberCommon/EmberCommon.h \
../../../Source/EmberCommon/JpegUtils.h \
../../../Source/EmberCommon/EmberCommonPch.h \
../../../Source/Fractorium/FractoriumCommon.h
../../../Source/Fractorium/FractoriumCommon.h \
../../../Source/Fractorium/DoubleSpinBoxTableItemDelegate.h
FORMS += \
../../../Source/Fractorium/AboutDialog.ui \

View File

@ -23,7 +23,6 @@ DoubleSpinBox::DoubleSpinBox(QWidget* p, int h, double step)
m_SmallStep = step / 10.0;
setSingleStep(step);
setFrame(false);
//setAttribute(Qt::WA_PaintOnScreen);
setButtonSymbols(QAbstractSpinBox::NoButtons);
setFocusPolicy(Qt::StrongFocus);
setMinimumHeight(h);//setGeometry() has no effect, so must set both of these instead.

View File

@ -18,7 +18,6 @@ void Fractorium::InitXformsVariationsUI()
//Setting dimensions in the designer with a layout is futile, so must hard code here.
tree->setColumnWidth(0, 160);
tree->setColumnWidth(1, 23);
//tree->setAttribute(Qt::WA_PaintOnScreen);
}
/// <summary>

View File

@ -23,7 +23,6 @@ SpinBox::SpinBox(QWidget* p, int h, int step)
m_SmallStep = 1;
setSingleStep(step);
setFrame(false);
//setAttribute(Qt::WA_PaintOnScreen);
setButtonSymbols(QAbstractSpinBox::NoButtons);
setFocusPolicy(Qt::StrongFocus);
setMinimumHeight(h);//setGeometry() has no effect, so set both of these instead.