def quit_button(self):
     quit_mssg = QMessageBox(self)
     quit_mssg.setWindowTitle(" ")
     quit_mssg.setText("Do you want to quit?")
     quit_mssg.setStyleSheet(self.stylesheets.text_CSS)
     quit_mssg.setStandardButtons(QMessageBox.Yes|QMessageBox.No)
     quit_mssg.show()
     
     yes_button = quit_mssg.children()[3].children()[1]
     yes_button.clicked.connect(self.close_window)
 def info_button(self):
     
     info_mssg = QMessageBox(self)
     info_mssg.setWindowTitle(" ")
     info_mssg.setStyleSheet(self.stylesheets.credits_CSS)
     
     text = "\n".join(["Created and Produced", \
                       "Albert 'Anferensis' Ong\n", \
                       "Special Thanks", \
                       "John 'Aotus' Ladasky\n", \
                       "© 2015 (company name)"])
     
     info_mssg.setText(text)
     info_mssg.show()
     
     mssg_text = info_mssg.children()[2]
     mssg_text.setAlignment(Qt.AlignCenter)
     
     for child in info_mssg.children():
         if type(child) == QGridLayout:
             child.setContentsMargins(0,10,20,10)
    def themes_button(self):
        themes_mssg = QMessageBox(self)
        themes_mssg.setWindowTitle(" ")
        themes_mssg.setStyleSheet(self.stylesheets.text_CSS)
        themes_mssg.setIconPixmap(self.mainwindow.blank_thememssg)
        themes_mssg.show()
        
        
        themes_options = QComboBox(themes_mssg)
        themes_options.move(10,10)
        themes_options.resize(220,60)
        
        for option in ("Default", "Art Deco", "Cherry Soda", "Coffee", \
                        "Spring Green", "Victorian"):
            themes_options.addItem(option)

        themes_options.setCurrentIndex(self.theme_dict[self.theme])
        themes_options.activated.connect(self.change_theme)
        themes_options.show()
        
        ok_button = themes_mssg.children()[2].children()[1]
        ok_button.clicked.connect(self.change_appearance)