# 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
        layout.addLayout(hor)
        return layout

    def _ui_services(self):
        """
        Return the service panel, which includes a dropdown for the
        service and a stacked widget for each service's options.
        """

        dropdown = QtWidgets.QComboBox()
        dropdown.setObjectName('service')

        stack = QtWidgets.QStackedWidget()
        stack.setObjectName('panels')

        for svc_id, text in self._addon.router.get_services():
            dropdown.addItem(text, svc_id)

            svc_layout = QtWidgets.QGridLayout()
            svc_layout.addWidget(Label("Pass the following to %s:" % text),
                                 0, 0, 1, 2)

            svc_widget = QtWidgets.QWidget()
            svc_widget.setLayout(svc_layout)

            stack.addWidget(svc_widget)
        self._svc_count = dropdown.count()

        # one extra widget for displaying a group
        group_layout = QtWidgets.QVBoxLayout()

# 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

        layout.addLayout(hor)
        return layout

    def _ui_services(self):
        """
        Return the service panel, which includes a dropdown for the
        service and a stacked widget for each service's options.
        """

        dropdown = QtWidgets.QComboBox()
        dropdown.setObjectName('service')

        stack = QtWidgets.QStackedWidget()
        stack.setObjectName('panels')

        for svc_id, text in self._addon.router.get_services():
            dropdown.addItem(text, svc_id)

            svc_layout = QtWidgets.QGridLayout()
            svc_layout.addWidget(Label("Pass the following to %s:" % text),
                                 0, 0, 1, 2)

            svc_widget = QtWidgets.QWidget()
            svc_widget.setLayout(svc_layout)

            stack.addWidget(svc_widget)
        self._svc_count = dropdown.count()

        # one extra widget for displaying a group
        group_layout = QtWidgets.QVBoxLayout()

        group_layout.addWidget(Note())