def _set_style(self): self.setStyleSheet("background-color: rgb(54, 54, 54);") self.data_label.setStyleSheet("color: rgb(210, 210, 210);font: 16pt;") self.dia_label.setStyleSheet("color: rgb(210, 210, 210);font: 16pt;") self.porcentagem_barra_progresso.setStyleSheet( "color: rgb(210, 210, 210);font: 16pt;") self.tabela_editar.setStyleSheet('''QTableWidget{ color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border-color: rgb(84, 84, 84); font: 14px }''') style_button(button=self.voltar_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(10, 10, 10, 10), rgb_da_letra="(210, 210, 210)") style_button(button=self.salvar_botao, cor="azul", tam_fonte="12", border_radius=(0, 0, 5, 5), border_color="(123, 166, 205)")
def _setStyle(self): self.setStyleSheet("background-color: rgb(54, 54, 54);") self.calendario_widget.setStyleSheet("color: rgb(210, 210, 210);") self.datas_listwidget.setStyleSheet('''color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border-color: rgb(84, 84, 84);''') style_button(button=self.voltar_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(10, 10, 10, 10), rgb_da_letra="(210, 210, 210)") style_button(button=self.adicionar_botao, cor="verde", tam_fonte="12", border_radius=(0, 0, 5, 5), border_color="(123, 205, 126)") style_button(button=self.remover_botao, cor="vermelho", tam_fonte="12", border_radius=(0, 0, 5, 5), border_color="(205, 123, 123)") style_button(button=self.finalizar_botao, cor="azul", tam_fonte="12", border_radius=(5, 5, 5, 5), border_color="(123, 166, 205)")
def _setStyle(self): self.setStyleSheet("background-color: rgb(54, 54, 54);") self.atividades.setStyleSheet("color: rgb(210, 210, 210); font: 14pt;") self.atividades_listwidget.setStyleSheet('''color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border-color: rgb(84, 84, 84); font: 14px''') style_button(button=self.voltar_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(10, 10, 10, 10), rgb_da_letra="(210, 210, 210)")
def _setStyle(self): self.setStyleSheet("background-color: rgb(54, 54, 54);") self.qtd_ciclos_label.setStyleSheet( "color: rgb(210, 210, 210); font: 12pt;") self.ordenar_flashcards_radiobutton.setStyleSheet( "color: rgb(210, 210, 210); font: 12pt;") self.retirar_flashcard_radiobutton.setStyleSheet( "color: rgb(210, 210, 210); font: 12pt;") self.modo_do_ciclo_groupbox.setStyleSheet( "color: rgb(210, 210, 210); font: 12pt;") self.qtd_ciclos_spinbox.setStyleSheet( "color: rgb(210, 210, 210); font: 12pt;") style_button(button=self.revisar_botao, cor="azul", tam_fonte="12", border_radius=(5, 5, 5, 5), border_color="(123, 166, 205)") style_button(button=self.voltar_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(5, 5, 5, 5), rgb_da_letra="(210, 210, 210)")
def _set_style(self): self.setStyleSheet("background-color: rgb(54, 54, 54);") self.flashcards_label.setStyleSheet("color: rgb(210, 210, 210);font: 16pt;") self.flashcards_lista.setStyleSheet('''color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border-color: rgb(84, 84, 84); font: 14px''') style_button(button=self.voltar_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(10, 10, 10, 10), rgb_da_letra="(210, 210, 210)") style_button(button=self.editar_botao, cor="azul", tam_fonte="13", border_radius=(0, 0, 5, 0), border_color="(123, 166, 205)") style_button(button=self.deletar_botao, cor="vermelho", tam_fonte="13", border_radius=(0, 0, 0, 5), border_color="(205, 123, 123)")
def _setStyle(self): self.setStyleSheet("background-color: rgb(54, 54, 54);") self.dia_atividades.setStyleSheet( "color: rgb(210, 210, 210); font: 14pt;") self.dias_box.setStyleSheet('''QComboBox{ border-radius: 4px; color: rgb(210, 210, 210); background-color: qlineargradient(x1:0, y1:0, x2:1,y2:1, stop: 1 rgba(210, 210, 210, 100), stop: 0 rgba(110, 110, 110, 100)); font: 14px; } QComboBox QAbstractItemView{ selection-background-color: rgb(34, 34, 34); color: rgb(210, 210, 210) }''') self.dias_box.setEditable(False) self.atividades_listwidget.setStyleSheet('''color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border-color: rgb(84, 84, 84); font: 14px;''') self.atividade_line.setStyleSheet('''color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border-color: rgb(84, 84, 84); font: 14px''') style_button(button=self.voltar_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(10, 10, 10, 10), rgb_da_letra="(210, 210, 210)") style_button(button=self.adicionar_botao, cor="verde", tam_fonte="12", border_radius=(0, 0, 5, 5), border_color="(123, 205, 126)") style_button(button=self.remover_botao, cor="vermelho", tam_fonte="12", border_radius=(0, 0, 5, 5), border_color="(205, 123, 123)")
def _set_style(self): self.setStyleSheet("background-color: rgb(54, 54, 54);") self.revisoes_atrasadas_label.setStyleSheet( "color: rgb(210, 210, 210); font: 14pt;") self.revisoes_do_dia_label.setStyleSheet( "color: rgb(210, 210, 210); font: 14pt;") self.revisoes_atrasadas_lista.setStyleSheet( '''color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border-color: rgb(84, 84, 84); font: 14px;''') self.revisoes_do_dia_lista.setStyleSheet('''color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border-color: rgb(84, 84, 84); font: 14px;''') style_button(button=self.voltar_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(5, 5, 5, 5), rgb_da_letra="(210, 210, 210)") style_button(button=self.revisar_atrasado_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(0, 0, 5, 5), rgb_da_letra="(210, 210, 210)") style_button(button=self.revisar_atual_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(0, 0, 5, 5), rgb_da_letra="(210, 210, 210)")
def _setStyle(self): self.setStyleSheet("background-color: rgb(54, 54, 54);") self.pergunta_ou_resposta.setStyleSheet( "color: rgb(210, 210, 210); font: 14pt;") self.ciclo_label.setStyleSheet( "color: rgb(210, 210, 210); font: 12pt;") self.texto.setStyleSheet('''font: 12pt; color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border-color: rgb(84, 84, 84);''') self.ciclo_line.setStyleSheet( "color: rgb(210, 210, 210); border-radius: 4px; border: 1px solid; border-color: rgb(84, 84, 84);" ) style_button(button=self.anterior_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(20, 20, 20, 20), rgb_da_letra="(210, 210, 210)") style_button(button=self.proximo_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(20, 20, 20, 20), rgb_da_letra="(210, 210, 210)") style_button(button=self.acertei_botao, cor="verde", tam_fonte="12", border_radius=(0, 0, 5, 0), border_color="(123, 205, 126)") style_button(button=self.errei_botao, cor="vermelho", tam_fonte="12", border_radius=(0, 0, 0, 5), border_color="(205, 123, 123)") style_button(button=self.voltar_botao, cor="cinza_escuro", tam_fonte="12", border_radius=(10, 10, 10, 10), rgb_da_letra="(210, 210, 210)") style_button(button=self.salvar_botao, cor="azul", tam_fonte="12", border_radius=(5, 5, 5, 5), border_color="(123, 166, 205)")
def _set_style(self): self.setStyleSheet("background-color: rgb(54, 54, 54);") self.titulo_label.setStyleSheet( "color: rgb(210, 210, 210); font: 12pt;") self.pergunta_label.setStyleSheet( "color: rgb(210, 210, 210); font: 12pt;") self.resposta_label.setStyleSheet( "color: rgb(210, 210, 210); font: 12pt;") self.flashcards_label.setStyleSheet( "color: rgb(210, 210, 210); font: 10pt;") self.flashcards_box.setStyleSheet('''QComboBox{ border-radius: 4px; color: rgb(210, 210, 210); background-color: qlineargradient(x1:0, y1:0, x2:1,y2:1, stop: 1 rgba(210, 210, 210, 100), stop: 0 rgba(110, 110, 110, 100)); } QComboBox QAbstractItemView{ selection-background-color: rgb(34, 34, 34); color: rgb(210, 210, 210) }''') self.flashcards_box.setEditable(False) self.titulo_line.setStyleSheet('''color: rgb(210, 210, 210); border: 1px solid; border-radius: 4px; border-color: rgb(84, 84, 84); font: 14px;''') self.pergunta_texto.setStyleSheet('''color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border-color: rgb(84, 84, 84); font: 14px;''') self.resposta_texto.setStyleSheet('''color: rgb(210, 210, 210); border: 1px solid; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid; border-color: rgb(84, 84, 84); font: 14px;''') style_button(button=self.adicionar_botao, cor="azul", tam_fonte="12", border_radius=(0, 0, 5, 5), border_color="(123, 166, 205)") style_button(button=self.deletar_botao, cor="vermelho", tam_fonte="12", border_radius=(5, 5, 5, 5), border_color="(205, 123, 123)") style_button(button=self.definir_datas_botao, cor="verde", tam_fonte="12", border_radius=(5, 0, 5, 0), border_color="(123, 205, 126)") style_button(button=self.cancelar_botao, cor="vermelho", tam_fonte="12", border_radius=(0, 5, 0, 5), border_color="(205, 123, 123)")
def _set_style(self): self.setStyleSheet("background-color: rgb(54, 54, 54);") style_button(button=self.rotina_botao, cor="cinza_escuro", tam_fonte="14", border_radius=(5, 5, 5, 5), rgb_da_letra="(210, 210, 210)") style_button(button=self.revisoes_botao, cor="cinza_escuro", tam_fonte="14", border_radius=(5, 5, 5, 5), rgb_da_letra="(210, 210, 210)") style_button(button=self.criar_rotina_botao, cor="cinza_escuro", tam_fonte="14", border_radius=(5, 5, 5, 5), rgb_da_letra="(210, 210, 210)") style_button(button=self.criar_flashcards_botao, cor="cinza_escuro", tam_fonte="14", border_radius=(5, 5, 5, 5), rgb_da_letra="(210, 210, 210)") style_button(button=self.flashcards_botao, cor="cinza_escuro", tam_fonte="14", border_radius=(5, 5, 5, 5), rgb_da_letra="(210, 210, 210)") style_button(button=self.historico_botao, cor="cinza_escuro", tam_fonte="14", border_radius=(5, 5, 5, 5), rgb_da_letra="(210, 210, 210)")