# Path: awesometts/paths.py
# ICONS = os.path.join(ADDON, 'gui/icons')


from PyQt5 import QtCore, QtWidgets, QtGui
from PyQt5.QtCore import Qt
from ..paths import ICONS
# Copyright (C) 2010-Present  Anki AwesomeTTS Development Team
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

"""
Common reusable GUI elements

Provides menu action and button classes.

As everything done from the add-on code has to do with AwesomeTTS, these
all carry a speaker icon (if supported by the desktop environment).
"""



__all__ = ['ICON', 'key_event_combo', 'key_combo_desc', 'Action', 'Button',
           'Checkbox', 'Filter', 'HTML', 'Label', 'Note']



# Path: awesometts/paths.py
# ICONS = os.path.join(ADDON, 'gui/icons')


# Path: awesometts/gui/common.py
from PyQt5 import QtCore, QtWidgets, QtGui
from PyQt5.QtCore import Qt
from ..paths import ICONS

# Copyright (C) 2010-Present  Anki AwesomeTTS Development Team
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

"""
Common reusable GUI elements

Provides menu action and button classes.

As everything done from the add-on code has to do with AwesomeTTS, these
all carry a speaker icon (if supported by the desktop environment).
"""



__all__ = ['ICON', 'key_event_combo', 'key_combo_desc', 'Action', 'Button',
           'Checkbox', 'Filter', 'HTML', 'Label', 'Note']



ICON_FILE = f'{ICONS}/speaker.png'