move files into a package structure
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
raven_icon = "icon8d.png"
|
raven_icon = "icons/icon8d.png"
|
||||||
|
|
||||||
tab_width = 4
|
tab_width = 4
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
@@ -12,7 +12,7 @@ from raven.plugins.domain.menucontribution import MenuContribution, sort_menu_co
|
|||||||
from raven.plugins.domain.raction import RAction
|
from raven.plugins.domain.raction import RAction
|
||||||
from raven.plugins.domain.rmenu import RMenu
|
from raven.plugins.domain.rmenu import RMenu
|
||||||
from raven.settings.settingsstore import SettingsStore
|
from raven.settings.settingsstore import SettingsStore
|
||||||
from highlightingdialog import HighlightingDialog
|
from raven.ui.bigtext.highlightingdialog import HighlightingDialog
|
||||||
from raven.ui.tabs import Tabs
|
from raven.ui.tabs import Tabs
|
||||||
from raven.util.urlutils import url_is_file
|
from raven.util.urlutils import url_is_file
|
||||||
from functools import reduce
|
from functools import reduce
|
||||||
|
|||||||
0
raven/plugins/logfile/__init__.py
Normal file
0
raven/plugins/logfile/__init__.py
Normal file
@@ -1,4 +1,4 @@
|
|||||||
from bigtext import BigText
|
from raven.ui.bigtext.bigtext import BigText
|
||||||
|
|
||||||
|
|
||||||
class FilterViewSyncer:
|
class FilterViewSyncer:
|
||||||
@@ -7,8 +7,8 @@ from typing import Optional, Callable
|
|||||||
from PySide6.QtCore import QRunnable, QThreadPool
|
from PySide6.QtCore import QRunnable, QThreadPool
|
||||||
from PySide6.QtWidgets import QWidget, QVBoxLayout, QHBoxLayout, QLineEdit, QCheckBox, QPushButton
|
from PySide6.QtWidgets import QWidget, QVBoxLayout, QHBoxLayout, QLineEdit, QCheckBox, QPushButton
|
||||||
|
|
||||||
from bigtext import BigText
|
from raven.ui.bigtext.bigtext import BigText
|
||||||
from logFileModel import LogFileModel
|
from raven.ui.bigtext.logFileModel import LogFileModel
|
||||||
|
|
||||||
from raven.i18n import _
|
from raven.i18n import _
|
||||||
from raven.pluginregistry import PluginRegistry
|
from raven.pluginregistry import PluginRegistry
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
from PySide6.QtWidgets import *
|
from PySide6.QtWidgets import *
|
||||||
from PySide6.QtCore import *
|
from PySide6.QtCore import *
|
||||||
|
|
||||||
from bigtext import BigText
|
from raven.ui.bigtext.bigtext import BigText
|
||||||
from filterviewsyncer import FilterViewSyncer
|
from raven.plugins.logfile.filterviewsyncer import FilterViewSyncer
|
||||||
from filterwidget import FilterWidget
|
from raven.plugins.logfile.filterwidget import FilterWidget
|
||||||
from logFileModel import LogFileModel
|
from raven.ui.bigtext.logFileModel import LogFileModel
|
||||||
from raven.plugins.ravenlog.Tab import Tab
|
from raven.plugins.ravenlog.Tab import Tab
|
||||||
from raven.util.conversion import humanbytes
|
from raven.util.conversion import humanbytes
|
||||||
|
|
||||||
@@ -3,14 +3,15 @@ from typing import Optional
|
|||||||
|
|
||||||
from PySide6.QtWidgets import QMessageBox
|
from PySide6.QtWidgets import QMessageBox
|
||||||
|
|
||||||
from fulltabwidget import FullTabWidget
|
from raven.plugins.logfile.fulltabwidget import FullTabWidget
|
||||||
from logFileModel import LogFileModel
|
from raven.ui.bigtext.logFileModel import LogFileModel
|
||||||
from raven.pluginbase import PluginBase
|
from raven.pluginbase import PluginBase
|
||||||
from raven.plugins.ravenlog.Tab import Tab
|
from raven.plugins.ravenlog.Tab import Tab
|
||||||
from raven.settings.settings import Settings
|
from raven.settings.settings import Settings
|
||||||
|
|
||||||
from raven.i18n import _
|
from raven.i18n import _
|
||||||
|
|
||||||
|
|
||||||
class LogFilePlugin(PluginBase):
|
class LogFilePlugin(PluginBase):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(LogFilePlugin, self).__init__()
|
super(LogFilePlugin, self).__init__()
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from PySide6.QtGui import QFont, QPixmap
|
|||||||
from PySide6.QtWidgets import *
|
from PySide6.QtWidgets import *
|
||||||
|
|
||||||
import constants
|
import constants
|
||||||
from label import Label
|
from raven.ui.label import Label
|
||||||
from raven.ui.vbox import VBox
|
from raven.ui.vbox import VBox
|
||||||
from raven.i18n import _
|
from raven.i18n import _
|
||||||
|
|
||||||
|
|||||||
0
raven/ui/bigtext/__init__.py
Normal file
0
raven/ui/bigtext/__init__.py
Normal file
@@ -13,12 +13,12 @@ from PySide6.QtWidgets import *
|
|||||||
|
|
||||||
import constants
|
import constants
|
||||||
from raven.ui.ScaledScrollBar import ScaledScrollBar
|
from raven.ui.ScaledScrollBar import ScaledScrollBar
|
||||||
|
from raven.ui.bigtext.highlight_selection import HighlightSelection
|
||||||
|
from raven.ui.bigtext.highlighted_range import HighlightedRange
|
||||||
|
from raven.ui.bigtext.highlightingdialog import HighlightingDialog
|
||||||
|
from raven.ui.bigtext.line import Line
|
||||||
|
from raven.ui.bigtext.logFileModel import LogFileModel
|
||||||
from raven.util.conversion import humanbytes
|
from raven.util.conversion import humanbytes
|
||||||
from highlight_selection import HighlightSelection
|
|
||||||
from highlighted_range import HighlightedRange
|
|
||||||
from highlightingdialog import HighlightingDialog
|
|
||||||
from line import Line
|
|
||||||
from logFileModel import LogFileModel
|
|
||||||
from raven.pluginregistry import PluginRegistry
|
from raven.pluginregistry import PluginRegistry
|
||||||
|
|
||||||
from raven.settings.settings import Settings
|
from raven.settings.settings import Settings
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
from typing import Optional, List
|
from typing import Optional, List
|
||||||
|
|
||||||
from line import Line
|
from raven.ui.bigtext.line import Line
|
||||||
from highlighted_range import HighlightedRange
|
from raven.ui.bigtext.highlighted_range import HighlightedRange
|
||||||
|
|
||||||
|
|
||||||
class Highlight:
|
class Highlight:
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from highlight import Highlight
|
from raven.ui.bigtext.highlight import Highlight
|
||||||
from highlighted_range import HighlightedRange
|
from raven.ui.bigtext.highlighted_range import HighlightedRange
|
||||||
from line import Line
|
from raven.ui.bigtext.line import Line
|
||||||
from PySide6.QtGui import QBrush, QColor
|
from PySide6.QtGui import QBrush, QColor
|
||||||
|
|
||||||
from typing import List
|
from typing import List
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
from typing import Optional, List
|
from typing import Optional, List
|
||||||
|
|
||||||
from highlight import Highlight
|
from raven.ui.bigtext.highlight import Highlight
|
||||||
from highlighted_range import HighlightedRange
|
from raven.ui.bigtext.highlighted_range import HighlightedRange
|
||||||
from line import Line
|
from raven.ui.bigtext.line import Line
|
||||||
from PySide6.QtCore import Qt
|
from PySide6.QtCore import Qt
|
||||||
from PySide6.QtGui import QBrush, QColor
|
from PySide6.QtGui import QBrush, QColor
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from highlight_regex import HighlightRegex
|
|
||||||
from raven.settings.settings import Settings
|
from raven.settings.settings import Settings
|
||||||
|
from raven.ui.bigtext.highlight_regex import HighlightRegex
|
||||||
|
|
||||||
log = logging.getLogger("highlighting")
|
log = logging.getLogger("highlighting")
|
||||||
|
|
||||||
@@ -2,10 +2,10 @@ from PySide6.QtGui import QIcon
|
|||||||
from PySide6.QtWidgets import QDialog, QLineEdit, QLabel, QGridLayout, QCheckBox, QListWidget, QListWidgetItem, \
|
from PySide6.QtWidgets import QDialog, QLineEdit, QLabel, QGridLayout, QCheckBox, QListWidget, QListWidgetItem, \
|
||||||
QPushButton, QDialogButtonBox, QMessageBox, QSizePolicy
|
QPushButton, QDialogButtonBox, QMessageBox, QSizePolicy
|
||||||
|
|
||||||
|
from raven.ui.bigtext.highlight_regex import HighlightRegex
|
||||||
|
from raven.ui.bigtext.highlighting import Highlighting
|
||||||
from raven.ui.colorbutton import ColorButton
|
from raven.ui.colorbutton import ColorButton
|
||||||
from raven.ui.hbox import HBox
|
from raven.ui.hbox import HBox
|
||||||
from highlight_regex import HighlightRegex
|
|
||||||
from highlighting import Highlighting
|
|
||||||
from raven.settings.settings import Settings
|
from raven.settings.settings import Settings
|
||||||
|
|
||||||
from raven.i18n import _
|
from raven.i18n import _
|
||||||
@@ -2,9 +2,9 @@ import math
|
|||||||
import re
|
import re
|
||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
from PySide6.QtCore import Signal
|
from PySide6.QtCore import Signal
|
||||||
from highlight_regex import HighlightRegex
|
from raven.ui.bigtext.highlight_regex import HighlightRegex
|
||||||
from highlighting import Highlighting
|
from raven.ui.bigtext.highlighting import Highlighting
|
||||||
from line import Line
|
from raven.ui.bigtext.line import Line
|
||||||
import os
|
import os
|
||||||
from raven.settings.settings import Settings
|
from raven.settings.settings import Settings
|
||||||
|
|
||||||
Reference in New Issue
Block a user