This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # Nome do Addon: Pesquisa e Navegação de Decks Unificado (Auto-expansão Inteligente) | |
| # Funcionalidades: Pesquisa, destaque, contador, ignora acentos, acha subdecks, AUTO-EXPANDE decks pais e Ocultar/Mostrar Barra. | |
| import os | |
| import json | |
| from aqt import mw, gui_hooks | |
| from aqt.qt import QTimer | |
| # --- INÍCIO: LÓGICA DE CONFIGURAÇÃO E ESTADO --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import os | |
| import json | |
| import time | |
| from aqt.qt import * | |
| from aqt import gui_hooks | |
| from aqt import mw | |
| # Caminho para salvar as configurações |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import json | |
| import os | |
| import re | |
| import csv | |
| import webbrowser | |
| import aqt # Importante para abrir o Browser | |
| from aqt import mw, gui_hooks | |
| from aqt.qt import * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import json | |
| import re | |
| import urllib.parse | |
| import os | |
| import aqt | |
| from aqt import mw | |
| from aqt.qt import * | |
| from aqt.gui_hooks import card_will_show, webview_did_receive_js_message | |
| from anki.utils import stripHTML |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # __init__.py | |
| import os | |
| import re | |
| import json | |
| import itertools | |
| import math | |
| import webbrowser | |
| import tempfile | |
| import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import json | |
| import os | |
| import re | |
| import csv | |
| import webbrowser | |
| import aqt # Importante para abrir o Browser | |
| from aqt import mw, gui_hooks | |
| from aqt.qt import * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import tkinter as tk | |
| from tkinter import filedialog | |
| # Tenta importar da maneira antiga (v1) ou nova (v2) para garantir que funcione | |
| try: | |
| from moviepy.editor import VideoFileClip | |
| except ImportError: | |
| try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from aqt import mw | |
| from anki.hooks import wrap | |
| from aqt.browser import SidebarItem, SidebarItemType | |
| from aqt.gui_hooks import browser_sidebar_will_show_context_menu | |
| def get_sort_reverse(): | |
| if not mw.col: | |
| return False | |
| return mw.col.conf.get('tag_sort_reverse', False) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import json | |
| from aqt import mw | |
| from aqt.qt import * | |
| from aqt.gui_hooks import state_did_change, reviewer_did_show_question | |
| config_file = os.path.join(os.path.dirname(__file__), "config.json") | |
| config = {"hidden": False} | |
| def load_config(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import json | |
| import os | |
| import re | |
| import csv | |
| import webbrowser # Novo import para abrir o navegador | |
| from aqt import mw, gui_hooks | |
| from aqt.qt import * | |
| from aqt.editor import Editor |
NewerOlder