mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 19:04:15 +02:00
commons
This commit is contained in:
@@ -3,7 +3,7 @@ from PyQt5.QtGui import QPixmap
|
||||
from PyQt5.QtWidgets import QVBoxLayout, QDialog, QLabel
|
||||
|
||||
from bauh import __version__, __app_name__
|
||||
from bauh.core import resource
|
||||
from bauh.util import resource
|
||||
|
||||
PROJECT_URL = 'https://github.com/vinifmor/' + __app_name__
|
||||
LICENSE_URL = 'https://raw.githubusercontent.com/vinifmor/{}/master/LICENSE'.format(__app_name__)
|
||||
|
||||
@@ -9,9 +9,9 @@ from PyQt5.QtWidgets import QTableWidget, QTableView, QMenu, QAction, QTableWidg
|
||||
QHeaderView, QLabel, QHBoxLayout, QPushButton, QToolBar
|
||||
from bauh_api.abstract.cache import MemoryCache
|
||||
from bauh_api.abstract.model import PackageStatus
|
||||
from bauh_api.util.html import strip_html
|
||||
|
||||
from bauh.core import resource
|
||||
from bauh.util import resource
|
||||
from bauh.util.html import strip_html
|
||||
from bauh.view.qt import dialog
|
||||
from bauh.view.qt.view_model import PackageView, PackageViewStatus
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ from PyQt5.QtGui import QIcon
|
||||
from PyQt5.QtWidgets import QMessageBox, QLabel, QWidget, QHBoxLayout
|
||||
from bauh_api.abstract.view import MessageType
|
||||
|
||||
from bauh.core import resource
|
||||
from bauh.util import resource
|
||||
|
||||
MSG_TYPE_MAP = {
|
||||
MessageType.ERROR: QMessageBox.Critical,
|
||||
|
||||
@@ -4,7 +4,7 @@ from PyQt5.QtWidgets import QDialog, QVBoxLayout, QGroupBox, \
|
||||
QLineEdit, QLabel, QGridLayout, QPushButton, QPlainTextEdit, QToolBar
|
||||
from bauh_api.abstract.cache import MemoryCache
|
||||
|
||||
from bauh_api.util.html import strip_html
|
||||
from bauh.util.html import strip_html
|
||||
|
||||
IGNORED_ATTRS = {'name', '__app__'}
|
||||
|
||||
|
||||
@@ -8,9 +8,8 @@ from PyQt5.QtWidgets import QSystemTrayIcon, QMenu
|
||||
from bauh_api.abstract.model import PackageUpdate
|
||||
|
||||
from bauh import __app_name__
|
||||
from bauh.core import resource
|
||||
from bauh_api.abstract.controller import SoftwareManager
|
||||
from bauh.util import util
|
||||
from bauh.util import util, resource
|
||||
from bauh.view.qt.about import AboutDialog
|
||||
from bauh.view.qt.window import ManageWindow
|
||||
|
||||
|
||||
@@ -11,8 +11,7 @@ from bauh_api.abstract.controller import SoftwareManager
|
||||
from bauh_api.abstract.model import SoftwarePackage, PackageAction
|
||||
from bauh_api.abstract.view import MessageType
|
||||
|
||||
from bauh.core import resource
|
||||
from bauh.util import util
|
||||
from bauh.util import util, resource
|
||||
from bauh.view.qt import dialog, commons
|
||||
from bauh.view.qt.about import AboutDialog
|
||||
from bauh.view.qt.apps_table import AppsTable, UpdateToggleButton
|
||||
|
||||
Reference in New Issue
Block a user