« first day (2764 days earlier)      last day (601 days later) » 

9:23 PM
if self.main_self.empty_player_list_window_is_open:
	self.main_self.empty_player_list_window.setStyleSheet("*{font-family:""+self.main_self.default_font+"";font-size:"+self.main_self.default_font_size+"px;color:""+self.main_self.default_font_color+"";}QFrame{border:0px;}QDialog{background:""+self.main_self.default_background_color+""}QPushButton, QComboBox{background:""+self.main_self.default_buttons_background+"";color:""+self.main_self.default_buttons_font_color+""}")
	self.main_self.empty_player_list_window.update()
 
9:39 PM
Ok here is what i did:
			self.font = QtGui.QFont(self.main_self.default_font, int(self.main_self.default_font_size))


			self.main_self_vars = dir(self.main_self)
			for var_name in self.main_self_vars:
				if "_is_open" in var_name:
					if_is_open_statement = "self.main_self."+var_name
					if eval(if_is_open_statement):
						window_var_1 = var_name.replace("_is_open","")
						exec('self.main_self.'+window_var_1+'.setStyleSheet("*{font-family:""+self.main_self.default_font+"";font-size:"+self.main_self.default_font_size+"px;color:""+self.main_self.default_font_color+"";}QFrame{border:0px;}QDialog{background
 
3 messages moved from Python
 

« first day (2764 days earlier)      last day (601 days later) »