def __init__(self):
        QtGui.QMainWindow.__init__(self)
        self.ui = Ui_MainWindow()
        self.ui.setupUi(self)

        self.model = DB()

        self.plot_frame = graph_frame.PercentBar(self.ui.tab_1)

        self.my_name = self.load_myname()

        # Holds the tourney indexes listed in the combobox.
        self.cb_indexes = []

        self.load_combobox()
        self.add_signals()

        self.change_tourney(0)