summaryrefslogtreecommitdiff
path: root/src/frontEnd/ProjectExplorer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontEnd/ProjectExplorer.py')
-rw-r--r--src/frontEnd/ProjectExplorer.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/frontEnd/ProjectExplorer.py b/src/frontEnd/ProjectExplorer.py
index ca525f87..e1e3ddad 100644
--- a/src/frontEnd/ProjectExplorer.py
+++ b/src/frontEnd/ProjectExplorer.py
@@ -8,19 +8,20 @@ from configuration.Appconfig import Appconfig
class ProjectExplorer(QtGui.QWidget):
"""
This class contains function:
- a)One work as a constructor(__init__).
- b)For saving data.
- c)for renaming project.
- d)for refreshing project.
- e)for removing project.
- f) for saving data.
+
+ - One work as a constructor(__init__).
+ - For saving data.
+ - for renaming project.
+ - for refreshing project.
+ - for removing project.
+ - for saving data.
"""
def __init__(self):
"""
This method is doing following tasks:
- a)Working as a constructor for class ProjectExplorer.
- b)view of project explorer area.
+ - Working as a constructor for class ProjectExplorer.
+ - view of project explorer area.
"""
QtGui.QWidget.__init__(self)
self.obj_appconfig = Appconfig()
@@ -172,7 +173,7 @@ class ProjectExplorer(QtGui.QWidget):
def save_data(self):
"""
This function first opens file in write-mode, when write
- operation is performed it closes that file and then window.
+ operation is performed it closes that file and then it closes window.
"""
self.fopen = open(self.filePath, 'w')
self.fopen.write(self.text.toPlainText())
@@ -225,8 +226,7 @@ class ProjectExplorer(QtGui.QWidget):
json.dump(self.obj_appconfig.project_explorer,
open(self.obj_appconfig.dictPath, 'w'))
- # """
- def renameProject(self):
+ '''def renameProject(self):
indexItem = self.treewidget.currentIndex()
baseFileName = str(indexItem.data())
newBaseFileName, ok = QtGui.QInputDialog.getText(
@@ -273,4 +273,4 @@ class ProjectExplorer(QtGui.QWidget):
self.obj_appconfig.project_explorer.items()
):
self.addTreeNode(parent, children)
- # """
+ '''