Math function icon in tool property browser.
--HG-- branch : feature
This commit is contained in:
parent
ce101c10f5
commit
05ec681136
|
@ -57,5 +57,6 @@
|
||||||
<file>icon/16x16/template.png</file>
|
<file>icon/16x16/template.png</file>
|
||||||
<file>icon/32x32/pdf.png</file>
|
<file>icon/32x32/pdf.png</file>
|
||||||
<file>icon/24x24/fx.png</file>
|
<file>icon/24x24/fx.png</file>
|
||||||
|
<file>icon/16x16/fx.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
BIN
src/app/share/resources/icon/16x16/fx.png
Normal file
BIN
src/app/share/resources/icon/16x16/fx.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 352 B |
|
@ -50,6 +50,7 @@ VFormulaPropertyEditor::VFormulaPropertyEditor(QWidget *parent)
|
||||||
ToolButton = new QToolButton(this);
|
ToolButton = new QToolButton(this);
|
||||||
ToolButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum);
|
ToolButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum);
|
||||||
ToolButton->setText("...");
|
ToolButton->setText("...");
|
||||||
|
ToolButton->setIcon(QIcon("://icon/16x16/fx.png"));
|
||||||
ToolButton->setFixedWidth(20);
|
ToolButton->setFixedWidth(20);
|
||||||
ToolButton->installEventFilter(this);
|
ToolButton->installEventFilter(this);
|
||||||
setFocusProxy(ToolButton); // Make the ToolButton the focus proxy
|
setFocusProxy(ToolButton); // Make the ToolButton the focus proxy
|
||||||
|
|
Loading…
Reference in New Issue
Block a user