Resolved issue #439. Widen Formula Dialog.
(grafted from 5a638f3f6092284070e985b98debbd155a48d96d) --HG-- branch : develop
This commit is contained in:
parent
a8f97c8fdb
commit
9e9689e16a
|
@ -5,6 +5,7 @@
|
|||
- [#325] Check pattern for inverse compatibility.
|
||||
|
||||
# Version 0.4.2
|
||||
- [#439] Widen Formula Dialog.
|
||||
- Fixed broken tool dialogs "Intersection arcs" and "Point from arc and tangent".
|
||||
- [#442] 'Broken Formula' error when using Intersect Circles tool.
|
||||
|
||||
|
|
|
@ -307,6 +307,19 @@ void DialogEditWrongFormula::closeEvent(QCloseEvent *event)
|
|||
DialogTool::closeEvent(event);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogEditWrongFormula::showEvent(QShowEvent *event)
|
||||
{
|
||||
DialogTool::showEvent( event );
|
||||
if ( event->spontaneous() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
setMaximumSize(QSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX));
|
||||
setMinimumSize(QSize(0, 0));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogEditWrongFormula::SetFormula(const QString &value)
|
||||
{
|
||||
|
|
|
@ -79,6 +79,7 @@ public slots:
|
|||
protected:
|
||||
virtual void CheckState() Q_DECL_OVERRIDE;
|
||||
virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
|
||||
virtual void showEvent( QShowEvent *event ) Q_DECL_OVERRIDE;
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogEditWrongFormula)
|
||||
Ui::DialogEditWrongFormula *ui;
|
||||
|
|
Loading…
Reference in New Issue
Block a user