Ejemplo n.º 1
0
def main():

    # df = pd.DataFrame({'a': 2*'a' ,'b' : 2*'b' , 'c' :[1,1]})

    path = "/home/phcostello/Dropbox/iHub/Umati/"
    df = pd.read_csv(path + "FullData.csv")
    df = df.drop(["Name"], axis=1)
    app = QtGui.QApplication(sys.argv)
    gui = MyDialog()
    gui.state.getData(df)
    gui.show()

    sys.exit(app.exec_())
Ejemplo n.º 2
0
def main():

    #df = pd.DataFrame({'a': 2*'a' ,'b' : 2*'b' , 'c' :[1,1]})

    path = '/home/phcostello/Dropbox/iHub/Umati/'
    df = pd.read_csv(path + 'FullData.csv')
    df = df.drop(['Name'], axis=1)
    app = QtGui.QApplication(sys.argv)
    gui = MyDialog()
    gui.state.getData(df)
    gui.show()

    sys.exit(app.exec_())
Ejemplo n.º 3
0
def start(df):
    '''Starts gui when imported'''

    import sys
    app = QtGui.QApplication(sys.argv)
    gui = MyDialog()
    gui.state.getData(df)
    gui.show()

    app.exec_()
    #sys.exit(app.exec_())

    return gui
Ejemplo n.º 4
0
def start(df):
    """Starts gui when imported"""

    import sys

    app = QtGui.QApplication(sys.argv)
    gui = MyDialog()
    gui.state.getData(df)
    gui.show()

    app.exec_()
    # sys.exit(app.exec_())

    return gui