Skip to content
Snippets Groups Projects
Commit a028c87b authored by tux091's avatar tux091
Browse files

Backport the 0.5.x kde icon and the shape of the RowEditorContextMenu

parent 740e9d8f
No related branches found
No related tags found
No related merge requests found
Showing
with 44 additions and 11 deletions
/*
* KDE 4.4.5 style oxygen
* Icon copy from /usr/share/icons
*
* $Id: kde-oxygen.css 1322 2011-06-19 14:45:05Z legac $
*/
.xaction-create {
background-image: url(../icons/oxygen/document-new.png);
background-repeat: no-repeat;
}
.xaction-duplicate {
background-image: url(../icons/oxygen/edit-copy.png);
background-repeat: no-repeat;
}
.xaction-destroy {
background-image: url(../icons/oxygen/edit-delete.png);
background-repeat: no-repeat;
}
.xaction-update {
background-image: url(../icons/oxygen/edit-text-frame-update.png);
background-repeat: no-repeat;
}
.xaction-view {
background-image: url(../icons/oxygen/view-form.png);
background-repeat: no-repeat;
}
static/plugin_dbui/resources/icons/oxygen/application-exit.png

842 B

static/plugin_dbui/resources/icons/oxygen/archive-insert.png

433 B

static/plugin_dbui/resources/icons/oxygen/archive-remove.png

516 B

static/plugin_dbui/resources/icons/oxygen/dialog-close.png

813 B

static/plugin_dbui/resources/icons/oxygen/document-new.png

579 B

static/plugin_dbui/resources/icons/oxygen/edit-copy.png

485 B

static/plugin_dbui/resources/icons/oxygen/edit-cut.png

368 B

static/plugin_dbui/resources/icons/oxygen/edit-delete.png

640 B

static/plugin_dbui/resources/icons/oxygen/edit-rename.png

245 B

static/plugin_dbui/resources/icons/oxygen/edit-text-frame-update.png

706 B

static/plugin_dbui/resources/icons/oxygen/folder-yellow.png

365 B

static/plugin_dbui/resources/icons/oxygen/folder.png

386 B

static/plugin_dbui/resources/icons/oxygen/tab-close.png

616 B

static/plugin_dbui/resources/icons/oxygen/text-field.png

335 B

static/plugin_dbui/resources/icons/oxygen/view-form-table.png

340 B

static/plugin_dbui/resources/icons/oxygen/view-form.png

413 B

static/plugin_dbui/resources/icons/oxygen/window-close.png

813 B

......@@ -49,31 +49,32 @@ App.grid.RowEditorContextMenu = Ext.extend(Object, {
grid.addListener('headercontextmenu', this.onHeaderContextMenu, menu);
grid.addListener('rowcontextmenu', this.onRowContextMenu, menu);
console.log('hello');
menu.add({
text: this.textAdd,
iconCls: 'silk-add',
iconCls: 'xaction-create',
handler: grid.rowEditor.onAddRow,
scope: grid.rowEditor
}, '-', {
text: this.textDestroy,
iconCls: 'silk-delete',
handler: grid.rowEditor.onDeleteRow,
scope: grid.rowEditor
}, '-', {
text: this.textDuplicate,
iconCls: 'silk-clone',
iconCls: 'xaction-duplicate',
handler: grid.rowEditor.onDuplicateRow,
scope: grid.rowEditor
}, {
text: this.textUpdate,
iconCls: 'silk-update',
iconCls: 'xaction-update',
handler: grid.rowEditor.onEditRow,
scope: grid.rowEditor
}, '-', {
}, {
text: this.textView,
iconCls: 'silk-view',
iconCls: 'xaction-view',
handler: grid.rowEditor.onViewRow,
scope: grid.rowEditor
}, '-', {
text: this.textDestroy,
iconCls: 'xaction-destroy',
handler: grid.rowEditor.onDeleteRow,
scope: grid.rowEditor
});
},
......
......@@ -27,7 +27,8 @@
<!-- extjs css -->
<link rel="stylesheet" type="text/css" href="{{=pextjs}}/resources/css/ext-all.css"/>
<link rel="stylesheet" type="text/css" href="{{=pextjs}}/examples/shared/icons/silk.css"/>
<link rel="stylesheet" type="text/css" href="/{{=request.application}}/static/plugin_dbui/resources/css/kde-oxygen.css"/>
<!-- extjs javascript library -->
<script type="text/javascript" src="{{=pextjs}}/adapter/ext/ext-base-debug.js"></script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment