Changed Icon path
--HG-- branch : DialogTools
This commit is contained in:
parent
dab44eb163
commit
52761f04ce
|
@ -61,6 +61,9 @@ DialogAlongLine::DialogAlongLine(const VContainer *data, QWidget *parent)
|
||||||
connect(ui->pushButtonGrowLength, &QPushButton::clicked, this, &DialogAlongLine::DeployFormulaTextEdit);
|
connect(ui->pushButtonGrowLength, &QPushButton::clicked, this, &DialogAlongLine::DeployFormulaTextEdit);
|
||||||
InitVariables(ui);
|
InitVariables(ui);
|
||||||
connect(listWidget, &QListWidget::itemDoubleClicked, this, &DialogTool::PutVal);
|
connect(listWidget, &QListWidget::itemDoubleClicked, this, &DialogTool::PutVal);
|
||||||
|
|
||||||
|
ui->pushButtonGrowLength->setIcon(QIcon::fromTheme("go-down",
|
||||||
|
QIcon(":/icons/win.icon.theme/icons/win.icon.theme/16x16/actions/go-down.png")));
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -78,13 +81,15 @@ void DialogAlongLine::DeployFormulaTextEdit()
|
||||||
{
|
{
|
||||||
ui->plainTextEditFormula->setFixedHeight(DIALOGALONLINE_MAX_FORMULA_HEIGHT);
|
ui->plainTextEditFormula->setFixedHeight(DIALOGALONLINE_MAX_FORMULA_HEIGHT);
|
||||||
//Set icon from theme (internal for Windows system)
|
//Set icon from theme (internal for Windows system)
|
||||||
ui->pushButtonGrowLength->setIcon(QIcon::fromTheme("go-next"));
|
ui->pushButtonGrowLength->setIcon(QIcon::fromTheme("go-next",
|
||||||
|
QIcon(":/icons/win.icon.theme/icons/win.icon.theme/16x16/actions/go-next.png")));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ui->plainTextEditFormula->setFixedHeight(this->formulaBaseHeight);
|
ui->plainTextEditFormula->setFixedHeight(this->formulaBaseHeight);
|
||||||
//Set icon from theme (internal for Windows system)
|
//Set icon from theme (internal for Windows system)
|
||||||
ui->pushButtonGrowLength->setIcon(QIcon::fromTheme("go-down"));
|
ui->pushButtonGrowLength->setIcon(QIcon::fromTheme("go-down",
|
||||||
|
QIcon(":/icons/win.icon.theme/icons/win.icon.theme/16x16/actions/go-down.png")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -172,8 +172,14 @@
|
||||||
<widget class="QPushButton" name="pushButtonGrowLength">
|
<widget class="QPushButton" name="pushButtonGrowLength">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16</width>
|
<width>18</width>
|
||||||
<height>16</height>
|
<height>18</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="sizeIncrement">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
|
@ -183,9 +189,8 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset theme="go-down">
|
<iconset resource="../../share/resources/theme.qrc">
|
||||||
<normaloff/>
|
<normaloff>:/icons/win.icon.theme/icons/win.icon.theme/16x16/actions/go-down.png</normaloff>:/icons/win.icon.theme/icons/win.icon.theme/16x16/actions/go-down.png</iconset>
|
||||||
</iconset>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
<size>
|
<size>
|
||||||
|
@ -463,6 +468,7 @@
|
||||||
</tabstops>
|
</tabstops>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="../../share/resources/icon.qrc"/>
|
<include location="../../share/resources/icon.qrc"/>
|
||||||
|
<include location="../../share/resources/theme.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections>
|
<connections>
|
||||||
<connection>
|
<connection>
|
||||||
|
|
|
@ -62,7 +62,10 @@ DialogEndLine::DialogEndLine(const VContainer *data, QWidget *parent)
|
||||||
connect(ui->lineEditNamePoint, &QLineEdit::textChanged, this, &DialogEndLine::NamePointChanged);
|
connect(ui->lineEditNamePoint, &QLineEdit::textChanged, this, &DialogEndLine::NamePointChanged);
|
||||||
connect(ui->plainTextEditFormula, &QPlainTextEdit::textChanged, this, &DialogEndLine::FormulaTextChanged);
|
connect(ui->plainTextEditFormula, &QPlainTextEdit::textChanged, this, &DialogEndLine::FormulaTextChanged);
|
||||||
connect(ui->pushButtonGrowLength, &QPushButton::clicked, this, &DialogEndLine::DeployFormulaTextEdit);
|
connect(ui->pushButtonGrowLength, &QPushButton::clicked, this, &DialogEndLine::DeployFormulaTextEdit);
|
||||||
//ui->
|
|
||||||
|
ui->pushButtonGrowLength->setIcon(QIcon::fromTheme("go-down",
|
||||||
|
QIcon(":/icons/win.icon.theme/icons/win.icon.theme/16x16/actions/go-down.png")));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -80,13 +83,15 @@ void DialogEndLine::DeployFormulaTextEdit()
|
||||||
{
|
{
|
||||||
ui->plainTextEditFormula->setFixedHeight(DIALOGENDLINE_MAX_FORMULA_HEIGHT);
|
ui->plainTextEditFormula->setFixedHeight(DIALOGENDLINE_MAX_FORMULA_HEIGHT);
|
||||||
//Set icon from theme (internal for Windows system)
|
//Set icon from theme (internal for Windows system)
|
||||||
ui->pushButtonGrowLength->setIcon(QIcon::fromTheme("go-next"));
|
ui->pushButtonGrowLength->setIcon(QIcon::fromTheme("go-next",
|
||||||
|
QIcon(":/icons/win.icon.theme/icons/win.icon.theme/16x16/actions/go-next.png")));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ui->plainTextEditFormula->setFixedHeight(this->formulaBaseHeight);
|
ui->plainTextEditFormula->setFixedHeight(this->formulaBaseHeight);
|
||||||
//Set icon from theme (internal for Windows system)
|
//Set icon from theme (internal for Windows system)
|
||||||
ui->pushButtonGrowLength->setIcon(QIcon::fromTheme("go-down"));
|
ui->pushButtonGrowLength->setIcon(QIcon::fromTheme("go-down",
|
||||||
|
QIcon(":/icons/win.icon.theme/icons/win.icon.theme/16x16/actions/go-down.png")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user