Fixed issue #303. Valentina stops accepting input on defocus - Gentoo

Linux/KDE/KWin.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-05-22 08:21:38 +03:00
parent cda5b76a7a
commit bf60cfec3b
32 changed files with 318 additions and 20 deletions

View file

@ -93,7 +93,6 @@ ConfigDialog::ConfigDialog(QWidget *parent) :
setWindowTitle(tr("Config Dialog"));
this->setFixedSize(QSize(750, 550));
this->setWindowFlags(Qt::Tool | Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::CustomizeWindowHint);
qApp->getSettings()->GetOsSeparator() ? setLocale(QLocale::system()) : setLocale(QLocale(QLocale::C));
}

View file

@ -21,7 +21,7 @@
</property>
<property name="minimumSize">
<size>
<width>573</width>
<width>583</width>
<height>524</height>
</size>
</property>

View file

@ -73,7 +73,6 @@ DialogIndividualMeasurements::DialogIndividualMeasurements(VContainer *data, con
&DialogIndividualMeasurements::CheckState);
connect(ui->toolButtonOpenExist, &QToolButton::clicked, this, &DialogIndividualMeasurements::OpenTable);
connect(ui->toolButtonOpenNew, &QToolButton::clicked, this, &DialogIndividualMeasurements::NewTable);
this->setWindowFlags(Qt::Tool | Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::CustomizeWindowHint);
}
//---------------------------------------------------------------------------------------------------------------------

View file

@ -9,10 +9,22 @@
<rect>
<x>0</x>
<y>0</y>
<width>385</width>
<width>505</width>
<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

@ -10,6 +10,18 @@
<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>

View file

@ -21,7 +21,7 @@
</property>
<property name="maximumSize">
<size>
<width>529</width>
<width>448</width>
<height>244</height>
</size>
</property>

View file

@ -10,6 +10,18 @@
<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

@ -10,6 +10,12 @@
<height>179</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>692</width>
<height>179</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>692</width>

View file

@ -71,7 +71,6 @@ DialogStandardMeasurements::DialogStandardMeasurements(VContainer *data, const Q
CheckState();
connect(ui->lineEditName, &QLineEdit::textChanged, this, &DialogStandardMeasurements::CheckState);
this->setWindowFlags(Qt::Tool | Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::CustomizeWindowHint);
}
//---------------------------------------------------------------------------------------------------------------------

View file

@ -9,10 +9,16 @@
<rect>
<x>0</x>
<y>0</y>
<width>452</width>
<height>115</height>
<width>430</width>
<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>
@ -25,11 +31,11 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -48,7 +54,7 @@
</property>
</widget>
</item>
<item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEditName">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -58,14 +64,10 @@
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -75,7 +77,7 @@
</property>
</widget>
</item>
<item>
<item row="1" column="1">
<widget class="QComboBox" name="comboBoxTables">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">

View file

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

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

View file

@ -16,6 +16,18 @@
<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

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

View file

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

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

View file

@ -10,6 +10,18 @@
<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

@ -13,6 +13,18 @@
<height>202</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>250</width>
<height>202</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>250</width>
<height>202</height>
</size>
</property>
<property name="windowTitle">
<string>Single point</string>
</property>
@ -35,6 +47,12 @@
<height>129</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>241</width>
<height>129</height>
</size>
</property>
<property name="toolTip">
<string>Coordinates on the sheet</string>
</property>

View file

@ -10,6 +10,18 @@
<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

@ -10,6 +10,18 @@
<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

@ -67,7 +67,6 @@ DialogTool::DialogTool(const VContainer *data, const quint32 &toolId, QWidget *p
SCASSERT(data != nullptr);
timerFormula = new QTimer(this);
connect(timerFormula, &QTimer::timeout, this, &DialogTool::EvalFormula);
this->setWindowFlags(Qt::Tool | Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::CustomizeWindowHint);
}

View file

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