# Path: implementation/primaries/GUI/helpers.py
# def get_base_dir(return_this_dir=False):
#     if getattr(sys, "frozen", False):
#         # If this is running in the context of a frozen (executable) file,
#         # we return the path of the main application executable
#         return os.path.dirname(os.path.abspath(sys.executable))
#     else:
#         # If we are running in script or debug mode, we need
#         # to inspect the currently executing frame. This enable us to always
#         # derive the directory of main.py no matter from where this function
#         # is being called
#         thisdir = os.path.dirname(inspect.getfile(inspect.currentframe()))
#         parent = os.path.abspath(os.path.join(thisdir, os.pardir))
#         if return_this_dir:
#             return thisdir
#         else:
#             return parent
# 
# Path: implementation/primaries/GUI/themedWindow.py
# class ThemedWindow(object):
#     def __init__(self, theme, themes_folder):
#     def applyTheme(self):
#     def setTheme(self, theme):


from PyQt4 import QtCore, QtGui, uic
from implementation.primaries.GUI.helpers import get_base_dir
from implementation.primaries.GUI import themedWindow
import os


class LicensePopup(QtGui.QDialog, themedWindow.ThemedWindow):

    def __init__(self, parent, theme, theme_folder, design_folder):
        self.parent = parent
        QtGui.QDialog.__init__(self)

# Path: implementation/primaries/GUI/helpers.py
# def get_base_dir(return_this_dir=False):
#     if getattr(sys, "frozen", False):
#         # If this is running in the context of a frozen (executable) file,
#         # we return the path of the main application executable
#         return os.path.dirname(os.path.abspath(sys.executable))
#     else:
#         # If we are running in script or debug mode, we need
#         # to inspect the currently executing frame. This enable us to always
#         # derive the directory of main.py no matter from where this function
#         # is being called
#         thisdir = os.path.dirname(inspect.getfile(inspect.currentframe()))
#         parent = os.path.abspath(os.path.join(thisdir, os.pardir))
#         if return_this_dir:
#             return thisdir
#         else:
#             return parent
# 
# Path: implementation/primaries/GUI/themedWindow.py
# class ThemedWindow(object):
#     def __init__(self, theme, themes_folder):
#     def applyTheme(self):
#     def setTheme(self, theme):


# Path: implementation/primaries/GUI/licensePopup.py
from PyQt4 import QtCore, QtGui, uic
from implementation.primaries.GUI.helpers import get_base_dir
from implementation.primaries.GUI import themedWindow
import os



class LicensePopup(QtGui.QDialog, themedWindow.ThemedWindow):

    def __init__(self, parent, theme, theme_folder, design_folder):
        self.parent = parent
        QtGui.QDialog.__init__(self)

        themedWindow.ThemedWindow.__init__(self, theme, theme_folder)