# Path: pcloudpy/gui/ManagerLayer.py
# class Layer(object):
#     """
#     Layer Class
# 
#     Attributes
#     ----------
# 
#     _container: pcloudpy.core.io.base.DataBase
# 
#     _current_view: pcloudpy.gui.components.ViewWidget
# 
#     _is_visible: Bool
# 
#     _name: String
# 
# 
#     """
#     def __init__(self, name):
# 
#         self._name = name
#         self._is_visible = True
#         self._current_view = None
#         self._container = None
# 
#     def set_name(self, name):
#         self._name = name
# 
#     def get_name(self):
#         return self._name
# 
#     def set_current_view(self, view):
#         self._current_view = view
# 
#     def get_current_view(self):
#         return self._current_view
# 
#     def get_visibility(self):
#         return self._is_visible
# 
#     def set_visibility(self, state):
#         self._is_visible = state
# 
#     def set_container(self, container):
#         self._container = container
# 
#     def get_container(self):
#         if self._container:
#             return self._container
# 
#     def copy(self):
#         layer = copy.copy(self)
#         layer.set_name(self._name + "_clone")
#         layer.set_container(self._container.clone())
#         return layer


from PyQt5.QtCore import  *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from PyQt5.QtCore import pyqtSignal as Signal
from pcloudpy.gui.ManagerLayer import Layer
        self._QObj = QObj()


    def currentView(self):
        """
        Gets the Current View




        """
        return self._current_view

    def setCurrentView(self, view):
        """

        """
        self._current_view = view

    def getLayers(self):
        """

        """
        if self._current_view:
            return self._current_view.manager_layer.layers()

    def addObject(self, obj, name):
        """

        """

# Path: pcloudpy/gui/ManagerLayer.py
# class Layer(object):
#     """
#     Layer Class
# 
#     Attributes
#     ----------
# 
#     _container: pcloudpy.core.io.base.DataBase
# 
#     _current_view: pcloudpy.gui.components.ViewWidget
# 
#     _is_visible: Bool
# 
#     _name: String
# 
# 
#     """
#     def __init__(self, name):
# 
#         self._name = name
#         self._is_visible = True
#         self._current_view = None
#         self._container = None
# 
#     def set_name(self, name):
#         self._name = name
# 
#     def get_name(self):
#         return self._name
# 
#     def set_current_view(self, view):
#         self._current_view = view
# 
#     def get_current_view(self):
#         return self._current_view
# 
#     def get_visibility(self):
#         return self._is_visible
# 
#     def set_visibility(self, state):
#         self._is_visible = state
# 
#     def set_container(self, container):
#         self._container = container
# 
#     def get_container(self):
#         if self._container:
#             return self._container
# 
#     def copy(self):
#         layer = copy.copy(self)
#         layer.set_name(self._name + "_clone")
#         layer.set_container(self._container.clone())
#         return layer


# Path: pcloudpy/gui/AppObject.py
from PyQt5.QtCore import  *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from PyQt5.QtCore import pyqtSignal as Signal
from pcloudpy.gui.ManagerLayer import Layer

        self._QObj = QObj()


    def currentView(self):
        """
        Gets the Current View




        """
        return self._current_view

    def setCurrentView(self, view):
        """

        """
        self._current_view = view

    def getLayers(self):
        """

        """
        if self._current_view:
            return self._current_view.manager_layer.layers()

    def addObject(self, obj, name):
        """

        """

        layer = Layer(name)