This file contains 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 sys | |
from PyQt5.QtWidgets import QFrame, QHBoxLayout, QTextEdit, QPlainTextEdit, QWidget, QMainWindow, QApplication | |
from PyQt5.QtGui import QPainter, QTextFormat, QColor | |
from PyQt5.QtCore import QRect, QVariant, Qt | |
class NumberedLinesTextEdit(QFrame): | |
class NumberBar(QWidget): | |
def __init__(self, edit): |
This file contains 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 sys | |
import commonmark | |
from PyQt5.QtWidgets import QDialog, QWidget, QLabel, QApplication, QVBoxLayout, QTextBrowser | |
from PyQt5.QtCore import QObject, QThread, pyqtSignal, QTimer | |
from PyQt5.QtWebEngineWidgets import QWebEngineView | |
from github_markdown_style import GITHUB_MARKDOWN_STYLE | |
class CheckFileWorker(QObject): |
This file contains 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 sys | |
from PyQt5.QtWidgets import QFrame, QWidget, QHBoxLayout, QVBoxLayout, QLabel, QPushButton, QApplication, QMainWindow | |
from PyQt5.QtCore import Qt | |
from PyQt5.QtGui import QIcon | |
import collapsible_widget_resources | |
VERTICAL_ARROW_PATH = ":/vertical_arrow_collapsible.png" | |
HORIZONTAL_ARROW_PATH = ":/horizontal_arrow_collapsible.png" | |
This file contains 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 sys | |
from PyQt5.QtWidgets import (QApplication, QLabel, | |
QVBoxLayout, QWidget, QMainWindow, | |
QGridLayout, QDialog, QScrollBar, | |
QScrollArea, qApp) | |
from PyQt5 import QtGui, QtCore | |
from PyQt5.QtCore import Qt, QCoreApplication, QEvent |