Additional changes for the issue #303.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-06-25 10:05:19 +03:00
parent da4d47c7ac
commit edc8664f3f
74 changed files with 98 additions and 427 deletions

View File

@ -65,6 +65,10 @@ DialogAboutApp::DialogAboutApp(QWidget *parent) :
FontPointSize(ui->label_contrib_label, 11);
FontPointSize(ui->label_Valentina_Built, 11);
FontPointSize(ui->label_QT_Version, 11);
adjustSize();
setMaximumSize(size());
setMinimumSize(size());
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -19,18 +19,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>583</width>
<height>524</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>583</width>
<height>524</height>
</size>
</property>
<property name="cursor">
<cursorShape>ArrowCursor</cursorShape>
</property>

View File

@ -73,6 +73,10 @@ DialogIndividualMeasurements::DialogIndividualMeasurements(VContainer *data, con
&DialogIndividualMeasurements::CheckState);
connect(ui->toolButtonOpenExist, &QToolButton::clicked, this, &DialogIndividualMeasurements::OpenTable);
connect(ui->toolButtonOpenNew, &QToolButton::clicked, this, &DialogIndividualMeasurements::NewTable);
adjustSize();
setMaximumSize(size());
setMinimumSize(size());
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -13,18 +13,6 @@
<height>295</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>505</width>
<height>295</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>505</width>
<height>295</height>
</size>
</property>
<property name="windowTitle">
<string>Individual measurements</string>
</property>

View File

@ -58,6 +58,10 @@ DialogLayoutProgress::DialogLayoutProgress(int count, QWidget *parent)
setModal(true);
this->setWindowFlags(Qt::Dialog | Qt::WindowTitleHint | Qt::CustomizeWindowHint);
adjustSize();
setMaximumSize(size());
setMinimumSize(size());
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -13,18 +13,6 @@
<height>119</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>566</width>
<height>119</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>566</width>
<height>119</height>
</size>
</property>
<property name="windowTitle">
<string>Create a Layout</string>
</property>

View File

@ -74,6 +74,10 @@ DialogLayoutSettings::DialogLayoutSettings(VLayoutGenerator *generator, QWidget
QPushButton *bRestoreDefaults = ui->buttonBox->button(QDialogButtonBox::RestoreDefaults);
connect(bRestoreDefaults, &QPushButton::clicked, this, &DialogLayoutSettings::RestoreDefaults);
adjustSize();
setMaximumSize(size());
setMinimumSize(size());
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>345</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>661</width>
<height>345</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>661</width>
<height>345</height>
</size>
</property>
<property name="windowTitle">
<string>Create a layout</string>
</property>
@ -558,7 +546,7 @@
</connection>
</connections>
<buttongroups>
<buttongroup name="buttonGroup"/>
<buttongroup name="buttonGroupPrinciple"/>
<buttongroup name="buttonGroup"/>
</buttongroups>
</ui>

View File

@ -40,6 +40,10 @@ DialogMeasurements::DialogMeasurements(QWidget *parent) :
connect(ui->toolButtonStandard, &QToolButton::clicked, this, &DialogMeasurements::StandardMeasurements);
connect(ui->toolButtonIndividual, &QToolButton::clicked, this, &DialogMeasurements::IndividualMeasurements);
adjustSize();
setMaximumSize(size());
setMinimumSize(size());
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -13,18 +13,6 @@
<height>244</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>448</width>
<height>244</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>448</width>
<height>244</height>
</size>
</property>
<property name="windowTitle">
<string>Measurements</string>
</property>

View File

@ -80,6 +80,10 @@ DialogPatternProperties::DialogPatternProperties(VPattern *doc, QWidget *parent)
SetOptions(sizes);
gradationChanged = false;//Set to default value after initialization
adjustSize();
setMaximumSize(size());
setMinimumSize(size());
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>562</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>657</width>
<height>562</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>657</width>
<height>562</height>
</size>
</property>
<property name="windowTitle">
<string>Pattern properties</string>
</property>

View File

@ -69,6 +69,10 @@ DialogSaveLayout::DialogSaveLayout(const QMap<QString, QString> &formates, int c
ui->lineEditPath->setText(qApp->Settings()->GetPathLayout());
ShowExample();//Show example for current format.
adjustSize();
setMaximumSize(size());
setMinimumSize(size());
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>179</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>692</width>
<height>179</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>692</width>
<height>179</height>
</size>
</property>
<property name="windowTitle">
<string>Save Layout</string>
</property>

View File

@ -71,6 +71,10 @@ DialogStandardMeasurements::DialogStandardMeasurements(VContainer *data, const Q
CheckState();
connect(ui->lineEditName, &QLineEdit::textChanged, this, &DialogStandardMeasurements::CheckState);
adjustSize();
setMaximumSize(size());
setMinimumSize(size());
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -13,12 +13,6 @@
<height>113</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>430</width>
<height>113</height>
</size>
</property>
<property name="windowTitle">
<string>Standard table</string>
</property>

View File

@ -13,18 +13,6 @@
<height>449</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>390</width>
<height>449</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>390</width>
<height>449</height>
</size>
</property>
<property name="windowTitle">
<string>Edit formula</string>
</property>

View File

@ -13,18 +13,6 @@
<height>145</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>387</width>
<height>145</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>387</width>
<height>145</height>
</size>
</property>
<property name="windowTitle">
<string>Broken formula</string>
</property>

View File

@ -73,6 +73,8 @@ DialogAlongLine::DialogAlongLine(const VContainer *data, const quint32 &toolId,
this, &DialogAlongLine::PointChanged);
vis = new VisToolAlongLine(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>284</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>412</width>
<height>284</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>412</width>
<height>284</height>
</size>
</property>
<property name="windowTitle">
<string>Point at distance along line</string>
</property>

View File

@ -90,6 +90,8 @@ DialogArc::DialogArc(const VContainer *data, const quint32 &toolId, QWidget *par
connect(ui->pushButtonGrowLengthF2, &QPushButton::clicked, this, &DialogArc::DeployF2TextEdit);
vis = new VisToolArc(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>329</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>425</width>
<height>329</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>425</width>
<height>329</height>
</size>
</property>
<property name="windowTitle">
<string>Arc</string>
</property>

View File

@ -85,6 +85,8 @@ DialogArcWithLength::DialogArcWithLength(const VContainer *data, const quint32 &
connect(ui->pushButtonGrowLengthArcLength, &QPushButton::clicked, this, &DialogArcWithLength::DeployLengthTextEdit);
vis = new VisToolArcWithLength(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -75,6 +75,8 @@ DialogBisector::DialogBisector(const VContainer *data, const quint32 &toolId, QW
this, &DialogBisector::PointNameChanged);
vis = new VisToolBisector(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>317</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>428</width>
<height>317</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>428</width>
<height>317</height>
</size>
</property>
<property name="windowTitle">
<string>Point along bisector</string>
</property>

View File

@ -68,6 +68,8 @@ DialogCurveIntersectAxis::DialogCurveIntersectAxis(const VContainer *data, const
connect(timerFormula, &QTimer::timeout, this, &DialogCurveIntersectAxis::EvalAngle);
vis = new VisToolCurveIntersectAxis(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>284</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>419</width>
<height>284</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>419</width>
<height>284</height>
</size>
</property>
<property name="windowTitle">
<string>Point intersect curve and axis</string>
</property>

View File

@ -66,6 +66,8 @@ DialogCutArc::DialogCutArc(const VContainer *data, const quint32 &toolId, QWidge
connect(ui->pushButtonGrowLength, &QPushButton::clicked, this, &DialogCutArc::DeployFormulaTextEdit);
vis = new VisToolCutArc(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>218</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>412</width>
<height>218</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>412</width>
<height>218</height>
</size>
</property>
<property name="windowTitle">
<string>Segment an arc</string>
</property>

View File

@ -65,6 +65,8 @@ DialogCutSpline::DialogCutSpline(const VContainer *data, const quint32 &toolId,
connect(ui->pushButtonGrowLength, &QPushButton::clicked, this, &DialogCutSpline::DeployFormulaTextEdit);
vis = new VisToolCutSpline(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>218</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>412</width>
<height>218</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>412</width>
<height>218</height>
</size>
</property>
<property name="windowTitle">
<string>Segmenting a simple curve</string>
</property>

View File

@ -65,6 +65,8 @@ DialogCutSplinePath::DialogCutSplinePath(const VContainer *data, const quint32 &
connect(ui->pushButtonGrowLength, &QPushButton::clicked, this, &DialogCutSplinePath::DeployFormulaTextEdit);
vis = new VisToolCutSplinePath(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>218</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>412</width>
<height>218</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>412</width>
<height>218</height>
</size>
</property>
<property name="windowTitle">
<string>Segment a curved path</string>
</property>

View File

@ -78,6 +78,8 @@ DialogDetail::DialogDetail(const VContainer *data, const quint32 &toolId, QWidge
connect(ui.lineEditNameDetail, &QLineEdit::textChanged, this, &DialogDetail::NamePointChanged);
connect(ui.toolButtonDelete, &QToolButton::clicked, this, &DialogDetail::DeleteItem);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>342</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>565</width>
<height>342</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>565</width>
<height>342</height>
</size>
</property>
<property name="windowTitle">
<string>Seam allowance tool</string>
</property>

View File

@ -80,6 +80,8 @@ DialogEndLine::DialogEndLine(const VContainer *data, const quint32 &toolId, QWid
connect(timerFormula, &QTimer::timeout, this, &DialogEndLine::EvalAngle);
vis = new VisToolEndLine(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -16,18 +16,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>358</width>
<height>323</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>358</width>
<height>323</height>
</size>
</property>
<property name="windowTitle">
<string>Point at distance and angle</string>
</property>

View File

@ -65,6 +65,8 @@ DialogHeight::DialogHeight(const VContainer *data, const quint32 &toolId, QWidge
this, &DialogHeight::PointNameChanged);
vis = new VisToolHeight(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>245</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>245</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>245</height>
</size>
</property>
<property name="windowTitle">
<string>Perpendicular point along line</string>
</property>

View File

@ -63,6 +63,8 @@ DialogLine::DialogLine(const VContainer *data, const quint32 &toolId, QWidget *p
this, &DialogLine::PointNameChanged);
vis = new VisToolLine(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -13,18 +13,6 @@
<height>179</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>179</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>179</height>
</size>
</property>
<property name="windowTitle">
<string>Line between points</string>
</property>

View File

@ -65,6 +65,8 @@ DialogLineIntersect::DialogLineIntersect(const VContainer *data, const quint32 &
this, &DialogLineIntersect::PointNameChanged);
vis = new VisToolLineIntersect(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>196</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>367</width>
<height>196</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>367</width>
<height>196</height>
</size>
</property>
<property name="windowTitle">
<string>Point at line intersection</string>
</property>

View File

@ -76,6 +76,8 @@ DialogLineIntersectAxis::DialogLineIntersectAxis(const VContainer *data, const q
this, &DialogLineIntersectAxis::PointNameChanged);
vis = new VisToolLineIntersectAxis(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>317</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>457</width>
<height>317</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>457</width>
<height>317</height>
</size>
</property>
<property name="windowTitle">
<string>Point intersect line and axis</string>
</property>

View File

@ -71,6 +71,8 @@ DialogNormal::DialogNormal(const VContainer *data, const quint32 &toolId, QWidge
this, &DialogNormal::PointNameChanged);
vis = new VisToolNormal(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>428</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>517</width>
<height>428</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>517</width>
<height>428</height>
</size>
</property>
<property name="windowTitle">
<string>Point along perpendicular</string>
</property>

View File

@ -54,6 +54,8 @@ DialogPointFromArcAndTangent::DialogPointFromArcAndTangent(const VContainer *dat
connect(ui->lineEditNamePoint, &QLineEdit::textChanged, this, &DialogPointFromArcAndTangent::NamePointChanged);
vis = new VisToolPointFromArcAndTangent(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>179</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>370</width>
<height>179</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>370</width>
<height>179</height>
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>

View File

@ -77,6 +77,8 @@ DialogPointFromCircleAndTangent::DialogPointFromCircleAndTangent(const VContaine
&DialogPointFromCircleAndTangent::DeployCircleRadiusTextEdit);
vis = new VisToolPointFromCircleAndTangent(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>251</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>430</width>
<height>251</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>430</width>
<height>251</height>
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>

View File

@ -71,6 +71,8 @@ DialogPointOfContact::DialogPointOfContact(const VContainer *data, const quint32
this, &DialogPointOfContact::PointNameChanged);
vis = new VisToolPointOfContact(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>251</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>498</width>
<height>251</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>498</width>
<height>251</height>
</size>
</property>
<property name="windowTitle">
<string>Point at intersection of arc and line</string>
</property>

View File

@ -61,6 +61,8 @@ DialogPointOfIntersection::DialogPointOfIntersection(const VContainer *data, con
vis = new VisToolPointOfIntersection(data);
vis->VisualMode(NULL_ID);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>146</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>146</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>146</height>
</size>
</property>
<property name="windowTitle">
<string>Point from X and Y of two other points</string>
</property>

View File

@ -57,6 +57,8 @@ DialogPointOfIntersectionArcs::DialogPointOfIntersectionArcs(const VContainer *d
this, &DialogPointOfIntersectionArcs::ArcChanged);
vis = new VisToolPointOfIntersectionArcs(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>179</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>179</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>179</height>
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>

View File

@ -93,6 +93,8 @@ DialogPointOfIntersectionCircles::DialogPointOfIntersectionCircles(const VContai
&DialogPointOfIntersectionCircles::DeployCircle2RadiusTextEdit);
vis = new VisToolPointOfIntersectionCircles(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>323</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>380</width>
<height>323</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>380</width>
<height>323</height>
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>

View File

@ -76,6 +76,8 @@ DialogShoulderPoint::DialogShoulderPoint(const VContainer *data, const quint32 &
this, &DialogShoulderPoint::PointNameChanged);
vis = new VisToolShoulderPoint(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>317</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>488</width>
<height>317</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>488</width>
<height>317</height>
</size>
</property>
<property name="windowTitle">
<string>Special point on shoulder</string>
</property>

View File

@ -48,6 +48,8 @@ DialogSinglePoint::DialogSinglePoint(const VContainer *data, const quint32 &tool
CheckState();
connect(ui->lineEditName, &QLineEdit::textChanged, this, &DialogTool::NamePointChanged);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -13,18 +13,6 @@
<height>202</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>202</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>202</height>
</size>
</property>
<property name="windowTitle">
<string>Single point</string>
</property>

View File

@ -57,6 +57,8 @@ DialogSpline::DialogSpline(const VContainer *data, const quint32 &toolId, QWidge
this, &DialogSpline::PointNameChanged);
vis = new VisToolSpline(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>233</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>540</width>
<height>233</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>540</width>
<height>233</height>
</size>
</property>
<property name="windowTitle">
<string>Simple curve</string>
</property>

View File

@ -61,6 +61,8 @@ DialogSplinePath::DialogSplinePath(const VContainer *data, const quint32 &toolId
this, &DialogSplinePath::KAsm2Changed);
vis = new VisToolSplinePath(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>322</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>528</width>
<height>322</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>528</width>
<height>322</height>
</size>
</property>
<property name="windowTitle">
<string>Curved path</string>
</property>

View File

@ -271,6 +271,14 @@ bool DialogTool::eventFilter(QObject *object, QEvent *event)
return false;
}
//---------------------------------------------------------------------------------------------------------------------
void DialogTool::FixateSize()
{
adjustSize();
setMaximumSize(size());
setMinimumSize(size());
}
//---------------------------------------------------------------------------------------------------------------------
/**
* @brief ValFormulaChanged handle change formula

View File

@ -315,6 +315,7 @@ protected:
virtual void SaveData(){}
void MoveCursorToEnd(QPlainTextEdit *plainTextEdit);
bool eventFilter(QObject *object, QEvent *event);
void FixateSize();
private:
void FillList(QComboBox *box, const QMap<QString, quint32> &list)const;

View File

@ -65,6 +65,8 @@ DialogTriangle::DialogTriangle(const VContainer *data, const quint32 &toolId, QW
this, &DialogTriangle::PointNameChanged);
vis = new VisToolTriangle(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -10,18 +10,6 @@
<height>212</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>212</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>212</height>
</size>
</property>
<property name="windowTitle">
<string>Triangle tool</string>
</property>

View File

@ -69,6 +69,8 @@ DialogTrueDarts::DialogTrueDarts(const VContainer *data, const quint32 &toolId,
this, &DialogTrueDarts::PointNameChanged);
vis = new VisToolTrueDarts(data);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -43,6 +43,8 @@ DialogUnionDetails::DialogUnionDetails(const VContainer *data, const quint32 &to
{
ui->setupUi(this);
InitOkCancel(ui);
FixateSize();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -13,18 +13,6 @@
<height>78</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>78</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>78</height>
</size>
</property>
<property name="windowTitle">
<string>Union tool</string>
</property>