'Set the main dialog with a window style depending on the os platform.'

def set_style(self):

    self.setWindowFlags(QtCore.Qt.FramelessWindowHint)
    system = self.platform
    if (system == 'Windows'):
        pass
    elif (system == 'Linux'):
        QtGui.QApplication.setStyle(QtGui.QStyleFactory.create('Cleanlooks'))
    elif (system == 'OS    X'):
        pass
