--User changes

-Add variations filter/selection dialog.

--Bug fixes
 -Fix summary window not properly indicating the presence of pose affine.
 -Remove a file named Fractorium.aps which had been erroneously committed a year ago.

--Code changes
 -Use qobject_cast instead of dynamic_cast where appropriate.
 -Add more override keyword where appropriate.
 -Add variations list to settings for filter dialog.
This commit is contained in:
mfeemster
2015-07-23 18:16:36 -07:00
parent 2019dcb605
commit e16c6a825f
25 changed files with 668 additions and 38 deletions

View File

@ -77,7 +77,7 @@ void Fractorium::ForEachXformCheckbox(std::function<void(int, QCheckBox*)> func)
while (QLayoutItem* child = m_XformsSelectionLayout->itemAt(i))
{
if (auto* w = dynamic_cast<QCheckBox*>(child->widget()))
if (auto* w = qobject_cast<QCheckBox*>(child->widget()))
{
func(i, w);
}
@ -97,7 +97,7 @@ bool FractoriumEmberController<T>::XformCheckboxAt(int i, std::function<void(QCh
{
if (QLayoutItem* child = m_Fractorium->m_XformsSelectionLayout->itemAt(i))
{
if (auto* w = dynamic_cast<QCheckBox*>(child->widget()))
if (auto* w = qobject_cast<QCheckBox*>(child->widget()))
{
func(w);
return true;