"""
Summary => The controller class for initializing the Robotic aritst.

Description => Will initilize the sequence of events for robotic artist.
    This involves initializing the GUI and this will then initilize all
    the other requirements in the product.

Author => <NAME> (mah60).
Version =>
0.1 - 23/02/2018 - This version is the intial set up for the
            controller. It contains a basic initialization setup and
            a way to read any input.
0.1.1 - 26/02/2018 - corrected the calling of the serial command.
0.2 - 12/03/2018 - recreated file and renamed it to Application.py. This code
            is now in code_v2. The basic set has done to start the gui and
            run the program as a whole.
0.3 - 15/04/2018 - changed to support python2 instead of python3. This means
            pyqt5 is changed to pyqt4.
"""
import sys
from main_window import MainWindow
from PyQt4.QtGui import QApplication


def main():
    """
    Summary => will initilize the robotic artist.

    Description => Will initilize the sequence of events for robotic artist.
        This involves initializing the GUI and this will then initilize all
        the other requirements in the product.

    args => None

    return => None
    """
    app = QApplication(sys.argv)
    window = MainWindow()
    # ui = Ui_mainWindow()
    # ui.setupUi(window)

    window.show()
    sys.exit(app.exec_())


if __name__ == "__main__":

    main()

"""
Summary => The controller class for initializing the Robotic aritst.

Description => Will initilize the sequence of events for robotic artist.
    This involves initializing the GUI and this will then initilize all
    the other requirements in the product.

Author => <NAME> (mah60).
Version =>
0.1 - 23/02/2018 - This version is the intial set up for the
            controller. It contains a basic initialization setup and
            a way to read any input.
0.1.1 - 26/02/2018 - corrected the calling of the serial command.
0.2 - 12/03/2018 - recreated file and renamed it to Application.py. This code
            is now in code_v2. The basic set has done to start the gui and
            run the program as a whole.
0.3 - 15/04/2018 - changed to support python2 instead of python3. This means
            pyqt5 is changed to pyqt4.
"""
import sys
from main_window import MainWindow
from PyQt4.QtGui import QApplication


def main():
    """
    Summary => will initilize the robotic artist.

    Description => Will initilize the sequence of events for robotic artist.
        This involves initializing the GUI and this will then initilize all
        the other requirements in the product.

    args => None

    return => None
    """
    app = QApplication(sys.argv)
    window = MainWindow()
    # ui = Ui_mainWindow()
    # ui.setupUi(window)

    window.show()
    sys.exit(app.exec_())


if __name__ == "__main__":

    main()

Summary => The controller class for initializing the Robotic aritst.  Description => Will initilize the sequence of events for robotic artist.     This involves initializing the GUI and this will then initilize all     the other requirements in the product.  Author => <NAME> (mah60). Version => 0.1 - 23/02/2018 - This version is the intial set up for the             controller. It contains a basic initialization setup and             a way to read any input. 0.1.1 - 26/02/2018 - corrected the calling of the serial command. 0.2 - 12/03/2018 - recreated file and renamed it to Application.py. This code             is now in code_v2. The basic set has done to start the gui and             run the program as a whole. 0.3 - 15/04/2018 - changed to support python2 instead of python3. This means             pyqt5 is changed to pyqt4. Summary => will initilize the robotic artist.      Description => Will initilize the sequence of events for robotic artist.         This involves initializing the GUI and this will then initilize all         the other requirements in the product.      args => None      return => None # ui = Ui_mainWindow() # ui.setupUi(window)