Commit e71f0b22 authored by Nimesh's avatar Nimesh

Updated Readme

parent 7b030546
......@@ -11,7 +11,12 @@ Mallela Niteesh Kumar (203050065 - niteesh)
Shubhranshu Maurya (203050096 - shubhranshu)
Git Repository
--------------
*Cloning the Repository
link of git repo: https://git.cse.iitb.ac.in/nimesh/Protracktor.git
use git clone <url> to clone the repo
How to operate Protracktor
--------------------------
*Getting dependencies ready:
......
{
"firefox": {
"Upload": 0.205067,
"Download": 3.86859,
"total": 4.073657
},
"zoom": {
"Upload": 0.00278568,
"Download": 0.0112019,
"total": 0.013987580000000001
},
"teams": {
"Upload": 0.330525,
"Download": 0.775587,
"total": 1.106112
}
}
\ No newline at end of file
{"course_name": ""}
\ No newline at end of file
{"course_name": "601"}
\ No newline at end of file
......@@ -8,6 +8,7 @@ import threading
import os
from close import Ui_CloseWindow
import sys
from PIL import Image
from read_config import write_config
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
......@@ -126,11 +127,22 @@ class Ui_MainWindow(object):
self.actionScreen_Recordings.triggered.connect(lambda: self.open('../results/ScreenRecordings'))
self.actionVIdeo_Recordings.triggered.connect(lambda: self.open('../results/WebcamRecordings'))
self.actionopen_readme_txt.triggered.connect(lambda: self.open_doc())
self.actionLatest_activity_tracker.triggered.connect(lambda: self.open_graph('../results/ActivityTracker/usage_graph'))
self.actionLatest_Data_Usage.triggered.connect(lambda: self.open_graph('../results/DataUsage'))
def open_doc(self):
#print("hi")
os.system("gedit ../readme")
#print("hi")
def open_graph(self,path):
import glob
files = glob.glob(path+"/*.png")
files.sort(key=os.path.getmtime, reverse=True)
if files!=[]:
im = Image.open(files[0])
im.show()
def open(self,path):
os.system('xdg-open "%s"' % path)
def start(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment