mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 17:45:32 +00:00
Add icons for Edit and Touch actions (kudos to akortunov)
This commit is contained in:
parent
89b8eb029f
commit
8757b3edd1
4 changed files with 4 additions and 0 deletions
|
@ -292,6 +292,7 @@ CSVWorld::Table::Table (const CSMWorld::UniversalId& id,
|
|||
|
||||
mEditAction = new QAction (tr ("Edit Record"), this);
|
||||
connect (mEditAction, SIGNAL (triggered()), this, SLOT (editRecord()));
|
||||
mEditAction->setIcon(QIcon(":edit-edit"));
|
||||
addAction (mEditAction);
|
||||
CSMPrefs::Shortcut* editShortcut = new CSMPrefs::Shortcut("table-edit", this);
|
||||
editShortcut->associateAction(mEditAction);
|
||||
|
@ -317,6 +318,7 @@ CSVWorld::Table::Table (const CSMWorld::UniversalId& id,
|
|||
{
|
||||
mTouchAction = new QAction(tr("Touch Record"), this);
|
||||
connect(mTouchAction, SIGNAL(triggered()), this, SLOT(touchRecord()));
|
||||
mTouchAction->setIcon(QIcon(":edit-touch"));
|
||||
addAction(mTouchAction);
|
||||
CSMPrefs::Shortcut* touchShortcut = new CSMPrefs::Shortcut("table-touch", this);
|
||||
touchShortcut->associateAction(mTouchAction);
|
||||
|
|
BIN
files/opencs/record-edit.png
Normal file
BIN
files/opencs/record-edit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 220 B |
BIN
files/opencs/record-touch.png
Normal file
BIN
files/opencs/record-touch.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 289 B |
|
@ -96,6 +96,8 @@
|
|||
<file alias="edit-preview">record-preview.png</file>
|
||||
<file alias="edit-clone">record-clone.png</file>
|
||||
<file alias="edit-add">record-add.png</file>
|
||||
<file alias="edit-edit">record-edit.png</file>
|
||||
<file alias="edit-touch">record-touch.png</file>
|
||||
<file alias="edit-undo">record-revert.png</file>
|
||||
<file alias="resources-icon">resources-icon.png</file>
|
||||
<file alias="resources-mesh">resources-mesh.png</file>
|
||||
|
|
Loading…
Reference in a new issue