def __init__(self, parent=None):
        super(Window, self).__init__(parent)

        self.checks = [False]*len(checkbuttons)  # initialize all buttons to False

        # creates a vertical box layout for the window
        vlayout = QtGui.QVBoxLayout()
        # creates the checkboxes
        for idx, text in enumerate(checkbuttons):
            checkbox = QtGui.QCheckBox(text)
            # connects the 'stateChanged()' signal with the 'checkbox_state_changed()' slot
            checkbox.stateChanged.connect(partial(self.checkbox_state_changed, idx))
            vlayout.addWidget(checkbox)  # adds the checkbox to the layout

        btn = QPushButton("&Show Info ({})".format(TMP_FILE), self)
        btn.clicked.connect(self.to_computer)
        btn.clicked.connect(self.to_editor)

        vlayout.addWidget(btn)
        vlayout.addStretch()
        self.setLayout(vlayout)  # sets the window layout