mirror of https://github.com/KLayout/klayout.git
More icons as SVG
This commit is contained in:
parent
fdfacd8532
commit
164748be22
|
|
@ -39,7 +39,8 @@
|
|||
<file alias="cb_31px@2x.png">images/cb_31px@2x.png</file>
|
||||
<file alias="cc_31px.png">images/cc_31px.png</file>
|
||||
<file alias="cc_31px@2x.png">images/cc_31px@2x.png</file>
|
||||
<file alias="checked.png">images/checked.png</file>
|
||||
<file alias="checked_16px.png">images/checked_16px.png</file>
|
||||
<file alias="checked_16px@2x.png">images/checked_16px@2x.png</file>
|
||||
<file alias="clear_16px.png">images/clear_16px.png</file>
|
||||
<file alias="clear_16px@2x.png">images/clear_16px@2x.png</file>
|
||||
<file alias="clear_24px.png">images/clear_24px.png</file>
|
||||
|
|
@ -187,7 +188,8 @@
|
|||
<file alias="text.png">images/text.png</file>
|
||||
<file alias="textdocumenticon_16px.png">images/textdocumenticon_16px.png</file>
|
||||
<file alias="textdocumenticon_16px@2x.png">images/textdocumenticon_16px@2x.png</file>
|
||||
<file alias="unchecked.png">images/unchecked.png</file>
|
||||
<file alias="unchecked_16px.png">images/unchecked_16px.png</file>
|
||||
<file alias="unchecked_16px@2x.png">images/unchecked_16px@2x.png</file>
|
||||
<file alias="up_16px.png">images/up_16px.png</file>
|
||||
<file alias="up_16px@2x.png">images/up_16px@2x.png</file>
|
||||
<file alias="upup_16px.png">images/upup_16px.png</file>
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 281 B |
Binary file not shown.
|
Before Width: | Height: | Size: 230 B |
|
|
@ -815,7 +815,7 @@ GerberImportDialog::free_layer_mapping_item_clicked (QTreeWidgetItem *item, int
|
|||
if (column > 0) {
|
||||
bool value = ! item->data (column, Qt::UserRole).toBool ();
|
||||
item->setData (column, Qt::UserRole, value);
|
||||
item->setData (column, Qt::DecorationRole, QVariant (QIcon (QString::fromUtf8 (value ? ":checked.png" : ":unchecked.png"))));
|
||||
item->setData (column, Qt::DecorationRole, QVariant (QIcon (QString::fromUtf8 (value ? ":checked_16px.png" : ":unchecked_16px.png"))));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -828,7 +828,7 @@ GerberImportDialog::reset_free_mapping ()
|
|||
for (QList<QTreeWidgetItem *>::const_iterator s = selected.begin (); s != selected.end (); ++s) {
|
||||
for (int column = 1; column <= int (mp_data->layout_layers.size ()); ++column) {
|
||||
(*s)->setData (column, Qt::UserRole, false);
|
||||
(*s)->setData (column, Qt::DecorationRole, QVariant (QIcon (QString::fromUtf8 (":unchecked.png"))));
|
||||
(*s)->setData (column, Qt::DecorationRole, QVariant (QIcon (QString::fromUtf8 (":unchecked_16px.png"))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1607,7 +1607,7 @@ GerberImportDialog::update ()
|
|||
}
|
||||
|
||||
item->setData (layer + 1, Qt::UserRole, QVariant (is_present));
|
||||
item->setData (layer + 1, Qt::DecorationRole, QVariant (QIcon (QString::fromUtf8 (is_present ? ":checked.png" : ":unchecked.png"))));
|
||||
item->setData (layer + 1, Qt::DecorationRole, QVariant (QIcon (QString::fromUtf8 (is_present ? ":checked_16px.png" : ":unchecked_16px.png"))));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue