Fix crash. Redefine updating list of variables.
--HG-- branch : develop
This commit is contained in:
parent
ff3b3d8797
commit
0c42eb06b2
|
@ -294,3 +294,13 @@ void DialogDetail::DeleteItem()
|
|||
qint32 row = ui.listWidget->currentRow();
|
||||
delete ui.listWidget->item( row );
|
||||
}
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogDetail::UpdateList()
|
||||
{
|
||||
/*
|
||||
* Does nothing. We redefine this slot because it is only one now way block update list of variable.
|
||||
* This dialog doesn't work with formula. Don't delete. Help avoid crash.
|
||||
*/
|
||||
}
|
||||
|
|
|
@ -50,13 +50,14 @@ public slots:
|
|||
/** TODO ISSUE 79 : create real function
|
||||
* @brief DialogApply apply data and emit signal about applied dialog.
|
||||
*/
|
||||
virtual void DialogApply(){}
|
||||
virtual void DialogApply(){}
|
||||
void BiasXChanged(qreal d);
|
||||
void BiasYChanged(qreal d);
|
||||
void ClickedSeams(bool checked);
|
||||
void ClickedClosed(bool checked);
|
||||
void ObjectChanged(int row);
|
||||
void DeleteItem();
|
||||
virtual void UpdateList();
|
||||
private:
|
||||
|
||||
/** @brief ui keeps information about user interface */
|
||||
|
|
|
@ -210,3 +210,12 @@ void DialogHeight::PointNameChanged()
|
|||
ChangeColor(ui->labelSecondLinePoint, color);
|
||||
CheckState();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogHeight::UpdateList()
|
||||
{
|
||||
/*
|
||||
* Does nothing. We redefine this slot because it is only one now way block update list of variable.
|
||||
* This dialog doesn't work with formula. Don't delete. Help avoid crash.
|
||||
*/
|
||||
}
|
||||
|
|
|
@ -68,6 +68,7 @@ public slots:
|
|||
*/
|
||||
virtual void DialogApply(){}
|
||||
virtual void PointNameChanged();
|
||||
virtual void UpdateList();
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogHeight)
|
||||
|
||||
|
|
|
@ -132,6 +132,15 @@ void DialogLine::PointNameChanged()
|
|||
CheckState();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogLine::UpdateList()
|
||||
{
|
||||
/*
|
||||
* Does nothing. We redefine this slot because it is only one now way block update list of variable.
|
||||
* This dialog doesn't work with formula. Don't delete. Help avoid crash.
|
||||
*/
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogLine::ShowVisualization()
|
||||
{
|
||||
|
|
|
@ -64,6 +64,7 @@ public slots:
|
|||
*/
|
||||
virtual void DialogApply(){}
|
||||
virtual void PointNameChanged();
|
||||
virtual void UpdateList();
|
||||
protected:
|
||||
virtual void ShowVisualization();
|
||||
private:
|
||||
|
|
|
@ -254,6 +254,15 @@ void DialogLineIntersect::PointNameChanged()
|
|||
CheckState();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogLineIntersect::UpdateList()
|
||||
{
|
||||
/*
|
||||
* Does nothing. We redefine this slot because it is only one now way block update list of variable.
|
||||
* This dialog doesn't work with formula. Don't delete. Help avoid crash.
|
||||
*/
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @brief CheckState check state of dialog. Enable or disable button ok.
|
||||
|
|
|
@ -72,6 +72,7 @@ public slots:
|
|||
void P1Line2Changed( int index);
|
||||
void P2Line2Changed( int index);
|
||||
virtual void PointNameChanged();
|
||||
virtual void UpdateList();
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogLineIntersect)
|
||||
|
||||
|
|
|
@ -147,6 +147,15 @@ void DialogPointOfIntersection::PointNameChanged()
|
|||
CheckState();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogPointOfIntersection::UpdateList()
|
||||
{
|
||||
/*
|
||||
* Does nothing. We redefine this slot because it is only one now way block update list of variable.
|
||||
* This dialog doesn't work with formula. Don't delete. Help avoid crash.
|
||||
*/
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @brief setFirstPointId set id of first point
|
||||
|
|
|
@ -62,6 +62,7 @@ public slots:
|
|||
*/
|
||||
virtual void DialogApply(){}
|
||||
virtual void PointNameChanged();
|
||||
virtual void UpdateList();
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogPointOfIntersection)
|
||||
|
||||
|
|
|
@ -81,6 +81,15 @@ void DialogSinglePoint::DialogAccepted()
|
|||
emit DialogClosed(QDialog::Accepted);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogSinglePoint::UpdateList()
|
||||
{
|
||||
/*
|
||||
* Does nothing. We redefine this slot because it is only one now way block update list of variable.
|
||||
* This dialog doesn't work with formula. Don't delete. Help avoid crash.
|
||||
*/
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @brief setData set name and point
|
||||
|
|
|
@ -54,7 +54,8 @@ public slots:
|
|||
/** TODO ISSUE 79 : create real function
|
||||
* @brief DialogApply apply data and emit signal about applied dialog.
|
||||
*/
|
||||
virtual void DialogApply(){}
|
||||
virtual void DialogApply(){}
|
||||
virtual void UpdateList();
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogSinglePoint)
|
||||
|
||||
|
|
|
@ -156,6 +156,15 @@ void DialogSpline::PointNameChanged()
|
|||
CheckState();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogSpline::UpdateList()
|
||||
{
|
||||
/*
|
||||
* Does nothing. We redefine this slot because it is only one now way block update list of variable.
|
||||
* This dialog doesn't work with formula. Don't delete. Help avoid crash.
|
||||
*/
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @brief setKCurve set coefficient curve
|
||||
|
|
|
@ -74,6 +74,7 @@ public slots:
|
|||
*/
|
||||
virtual void DialogApply(){}
|
||||
virtual void PointNameChanged();
|
||||
virtual void UpdateList();
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogSpline)
|
||||
|
||||
|
|
|
@ -210,6 +210,15 @@ void DialogSplinePath::KAsm2Changed(qreal d)
|
|||
item->setData(Qt::UserRole, QVariant::fromValue(p));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogSplinePath::UpdateList()
|
||||
{
|
||||
/*
|
||||
* Does nothing. We redefine this slot because it is only one now way block update list of variable.
|
||||
* This dialog doesn't work with formula. Don't delete. Help avoid crash.
|
||||
*/
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @brief NewItem add point to list
|
||||
|
|
|
@ -62,6 +62,7 @@ public slots:
|
|||
void Angle2Changed( qreal index );
|
||||
void KAsm1Changed(qreal d);
|
||||
void KAsm2Changed(qreal d);
|
||||
virtual void UpdateList();
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogSplinePath)
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ public slots:
|
|||
void PutHere();
|
||||
void PutVal(QListWidgetItem * item);
|
||||
virtual void ValChenged(int row);
|
||||
void UpdateList();
|
||||
virtual void UpdateList();
|
||||
virtual void PointNameChanged(){}
|
||||
protected:
|
||||
Q_DISABLE_COPY(DialogTool)
|
||||
|
|
|
@ -78,6 +78,15 @@ void DialogUnionDetails::DialogAccepted()
|
|||
emit DialogClosed(QDialog::Accepted);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogUnionDetails::UpdateList()
|
||||
{
|
||||
/*
|
||||
* Does nothing. We redefine this slot because it is only one now way block update list of variable.
|
||||
* This dialog doesn't work with formula. Don't delete. Help avoid crash.
|
||||
*/
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @brief CheckObject check if detail contain this id
|
||||
|
|
|
@ -56,7 +56,8 @@ public slots:
|
|||
/** TODO ISSUE 79 : create real function
|
||||
* @brief DialogApply apply data and emit signal about applied dialog.
|
||||
*/
|
||||
virtual void DialogApply(){}
|
||||
virtual void DialogApply(){}
|
||||
virtual void UpdateList();
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogUnionDetails)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user