diff options
author | fahim | 2015-06-17 14:36:42 +0530 |
---|---|---|
committer | fahim | 2015-06-17 14:36:42 +0530 |
commit | 7dd5d060156177b0ee05c81c96c709767aca1989 (patch) | |
tree | 88cfd628ab33f4f38583f35766d670cd51c682cd /src/frontEnd/ProjectExplorer.py | |
parent | 968b8a727cc4c4f2249f5f9bd47af015286deb28 (diff) | |
download | eSim-7dd5d060156177b0ee05c81c96c709767aca1989.tar.gz eSim-7dd5d060156177b0ee05c81c96c709767aca1989.tar.bz2 eSim-7dd5d060156177b0ee05c81c96c709767aca1989.zip |
Subject: Changes location of image directory just to make it easy during
packaging
Description: Did the neccessary changes in python file to read the
images from new location
Diffstat (limited to 'src/frontEnd/ProjectExplorer.py')
-rw-r--r-- | src/frontEnd/ProjectExplorer.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/frontEnd/ProjectExplorer.py b/src/frontEnd/ProjectExplorer.py index 0b0ae31d..4cc6db54 100644 --- a/src/frontEnd/ProjectExplorer.py +++ b/src/frontEnd/ProjectExplorer.py @@ -17,13 +17,13 @@ class ProjectExplorer(QtGui.QWidget): #CSS self.treewidget.setStyleSheet(" \ QTreeView { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ - QTreeView::branch:has-siblings:!adjoins-item { border-image: url(../images/vline.png) 0; } \ - QTreeView::branch:has-siblings:adjoins-item { border-image: url(../images/branch-more.png) 0; } \ - QTreeView::branch:!has-children:!has-siblings:adjoins-item { border-image: url(../images/branch-end.png) 0; } \ + QTreeView::branch:has-siblings:!adjoins-item { border-image: url(../../images/vline.png) 0; } \ + QTreeView::branch:has-siblings:adjoins-item { border-image: url(../../images/branch-more.png) 0; } \ + QTreeView::branch:!has-children:!has-siblings:adjoins-item { border-image: url(../../images/branch-end.png) 0; } \ QTreeView::branch:has-children:!has-siblings:closed, \ - QTreeView::branch:closed:has-children:has-siblings { border-image: none; image: url(../images/branch-closed.png); } \ + QTreeView::branch:closed:has-children:has-siblings { border-image: none; image: url(../../images/branch-closed.png); } \ QTreeView::branch:open:has-children:!has-siblings, \ - QTreeView::branch:open:has-children:has-siblings { border-image: none; image: url(../images/branch-open.png); } \ + QTreeView::branch:open:has-children:has-siblings { border-image: none; image: url(../../images/branch-open.png); } \ ") for parents, children in self.obj_appconfig.project_explorer.items(): |