Math function icon in tool property browser.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-04-29 19:47:07 +03:00
parent ce101c10f5
commit 05ec681136
3 changed files with 2 additions and 0 deletions

View file

@ -57,5 +57,6 @@
<file>icon/16x16/template.png</file>
<file>icon/32x32/pdf.png</file>
<file>icon/24x24/fx.png</file>
<file>icon/16x16/fx.png</file>
</qresource>
</RCC>

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

View file

@ -50,6 +50,7 @@ VFormulaPropertyEditor::VFormulaPropertyEditor(QWidget *parent)
ToolButton = new QToolButton(this);
ToolButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum);
ToolButton->setText("...");
ToolButton->setIcon(QIcon("://icon/16x16/fx.png"));
ToolButton->setFixedWidth(20);
ToolButton->installEventFilter(this);
setFocusProxy(ToolButton); // Make the ToolButton the focus proxy