# Path: awesometts/paths.py
# ICONS = os.path.join(ADDON, 'gui/icons')
# 
# Path: awesometts/gui/common.py
# class Label(QtWidgets.QLabel):
#     """Label with HTML disabled."""
# 
#     def __init__(self, *args, **kwargs):
#         super(Label, self).__init__(*args, **kwargs)
#         self.setTextFormat(QtCore.Qt.PlainText)
# 
# class Note(Label):
#     """Label with wrapping enabled and HTML disabled."""
# 
#     def __init__(self, *args, **kwargs):
#         super(Note, self).__init__(*args, **kwargs)
#         self.setWordWrap(True)
# 
# ICON = QtGui.QIcon(ICON_FILE)


import inspect
from PyQt5 import QtCore, QtWidgets, QtGui
from ..paths import ICONS
from .common import Label, Note, ICON
        hor.addWidget(dropdown)
        if not self._addon.languagetools.use_plus_mode():
            hor.addWidget(plus_mode_button)
            hor.addWidget(plus_mode_description)
        hor.addStretch()

        header = Label("Configure Service")
        header.setFont(self._FONT_HEADER)

        layout = QtWidgets.QVBoxLayout()
        layout.addWidget(header)
        layout.addLayout(hor)
        layout.addWidget(stack)
        layout.addStretch()
        layout.addLayout(self._ui_services_presets())

        return layout

    def _ui_services_presets(self):
        """Returns the preset controls as a horizontal layout."""

        label = Label("Quickly access this service later?")
        label.setObjectName('presets_label')

        dropdown = QtWidgets.QComboBox()
        dropdown.setObjectName('presets_dropdown')
        dropdown.setSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding,
                               QtWidgets.QSizePolicy.Preferred)
        dropdown.activated.connect(self._on_preset_activated)


# Path: awesometts/paths.py
# ICONS = os.path.join(ADDON, 'gui/icons')
# 
# Path: awesometts/gui/common.py
# class Label(QtWidgets.QLabel):
#     """Label with HTML disabled."""
# 
#     def __init__(self, *args, **kwargs):
#         super(Label, self).__init__(*args, **kwargs)
#         self.setTextFormat(QtCore.Qt.PlainText)
# 
# class Note(Label):
#     """Label with wrapping enabled and HTML disabled."""
# 
#     def __init__(self, *args, **kwargs):
#         super(Note, self).__init__(*args, **kwargs)
#         self.setWordWrap(True)
# 
# ICON = QtGui.QIcon(ICON_FILE)


# Path: awesometts/gui/base.py
import inspect
from PyQt5 import QtCore, QtWidgets, QtGui
from ..paths import ICONS
from .common import Label, Note, ICON

        hor.addWidget(dropdown)
        if not self._addon.languagetools.use_plus_mode():
            hor.addWidget(plus_mode_button)
            hor.addWidget(plus_mode_description)
        hor.addStretch()

        header = Label("Configure Service")
        header.setFont(self._FONT_HEADER)

        layout = QtWidgets.QVBoxLayout()
        layout.addWidget(header)
        layout.addLayout(hor)
        layout.addWidget(stack)
        layout.addStretch()
        layout.addLayout(self._ui_services_presets())

        return layout

    def _ui_services_presets(self):
        """Returns the preset controls as a horizontal layout."""

        label = Label("Quickly access this service later?")
        label.setObjectName('presets_label')

        dropdown = QtWidgets.QComboBox()
        dropdown.setObjectName('presets_dropdown')
        dropdown.setSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding,
                               QtWidgets.QSizePolicy.Preferred)
        dropdown.activated.connect(self._on_preset_activated)


        delete = QtWidgets.QPushButton(QtGui.QIcon(f'{ICONS}/editdelete.png'), "")