예제 #1
0
    def __init__(self, parent=None):
        Ui_JSPlotDialog.__init__(self)
        QDialog.__init__(self, parent)
        self.setupUi(self)
        self.webView.loadFinished.connect(self.draw)
        self.webView.load(QUrl(timeline_url))

        self.tasks = [
                {
                    "startDate": 10,
                    "endDate": 20,
                    "taskName": "E Job",
                    "status": "no0"
                    },
                {
                    "startDate": 30,
                    "endDate": 40,
                    "taskName": "A Job",
                    "status": "no1"
                    }
                ]

        self.taskNames = [ "D Job", "P Job", "E Job", "A Job", "N Job" ]
        self.statusNames = ["no0", "no1"]
        self.colors = ["#000000", "#FFDD89", "#957244", "#F26223"]
예제 #2
0
    def __init__(self, parent=None):
        Ui_JSPlotDialog.__init__(self)
        QDialog.__init__(self, parent)
        self.setupUi(self)
        self.webView.loadFinished.connect(self.draw)
        self.webView.load(QUrl(relation_url))

        self.matrix = [[11975, 5871, 8916, 2868], [1951, 10048, 2060, 6171],
                       [8010, 16145, 8090, 8045], [1013, 990, 940, 6907]]

        self.colors = ["#000000", "#FFDD89", "#957244", "#F26223"]
예제 #3
0
    def __init__(self, parent=None):
        Ui_JSPlotDialog.__init__(self)
        QDialog.__init__(self, parent)
        self.setupUi(self)
        self.webView.loadFinished.connect(self.draw)
        self.webView.load(QUrl(relation_url))

        self.matrix = [
                [11975,  5871, 8916, 2868],
                [ 1951, 10048, 2060, 6171],
                [ 8010, 16145, 8090, 8045],
                [ 1013,   990,  940, 6907]
                ]

        self.colors = ["#000000", "#FFDD89", "#957244", "#F26223"]
예제 #4
0
    def __init__(self, parent=None):
        Ui_JSPlotDialog.__init__(self)
        QDialog.__init__(self, parent)
        self.setupUi(self)
        self.webView.loadFinished.connect(self.draw)
        self.webView.load(QUrl(timeline_url))

        self.tasks = [{
            "startDate": 10,
            "endDate": 20,
            "taskName": "E Job",
            "status": "no0"
        }, {
            "startDate": 30,
            "endDate": 40,
            "taskName": "A Job",
            "status": "no1"
        }]

        self.taskNames = ["D Job", "P Job", "E Job", "A Job", "N Job"]
        self.statusNames = ["no0", "no1"]
        self.colors = ["#000000", "#FFDD89", "#957244", "#F26223"]