mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-06 00:06:00 -04:00
0.4.0.9 Beta 07/27/2014
0.4.0.9 Beta 07/27/2014 --User Changes Properly set tab order on all controls. Calculate and report iters/second in the final render dialog. Immediately draw yellow dot on xform mouse down on previously unselected xform. --Bug Fixes Fix GlynnSim1, GlynnSim2, GlynnSim3 and juliaNab by ensuring the first argument to pow() is >= 0. Ensure OpenCL platform and device combo boxes in the final render dialog expand as needed. --Code Changes Make VariationTreeSpinbox take its parent VariationTreeWidgetItem as a constructor argument. This makes SetupVariationTree() and VariationSpinBoxValueChanged() more efficient. Make Interference2 and ho use fabs().
This commit is contained in:
@ -260,6 +260,7 @@ private:
|
||||
void InitXformsXaosUI();
|
||||
void InitPaletteUI();
|
||||
void InitLibraryUI();
|
||||
void SetTabOrders();
|
||||
|
||||
//Embers.
|
||||
bool HaveFinal();
|
||||
@ -446,5 +447,19 @@ static void SetupSpinner(QTableWidget* table, const QObject* receiver, int& row,
|
||||
row++;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Wrapper around QWidget::setTabOrder() to return the second widget.
|
||||
/// This makes it easy to chain multiple calls without having to retype
|
||||
/// all of them if the order changes or if a new widget is inserted.
|
||||
/// </summary>
|
||||
/// <param name="parent">The parent widget that w1 and w2 belong to</param>
|
||||
/// <param name="w1">The widget to come first in the tab order</param>
|
||||
/// <param name="w2">The widget to come second in the tab order</param>
|
||||
static QWidget* SetTabOrder(QWidget* parent, QWidget* w1, QWidget* w2)
|
||||
{
|
||||
parent->setTabOrder(w1, w2);
|
||||
return w2;
|
||||
}
|
||||
|
||||
//template void Fractorium::SetupSpinner<SpinBox, int> (QTableWidget* table, const QObject* receiver, int& row, int col, SpinBox*& spinBox, int height, int min, int max, int step, const char* signal, const char* slot, bool incRow, int val, int doubleClickZero, int doubleClickNonZero);
|
||||
//template void Fractorium::SetupSpinner<DoubleSpinBox, double>(QTableWidget* table, const QObject* receiver, int& row, int col, DoubleSpinBox*& spinBox, int height, double min, double max, double step, const char* signal, const char* slot, bool incRow, double val, double doubleClickZero, double doubleClickNonZero);
|
||||
|
Reference in New Issue
Block a user