def __init__(self, parent):
    '\n        :param parent: The model parent.\n        :type parent: :class:`~PySide.QtGui.QObject`\n        '
    super(WorkAreaButton, self).__init__(parent)
    self._normal_icon = QtGui.QIcon()
    self._normal_icon.addPixmap(QtGui.QPixmap(':/tk_multi_infopanel/pin.png'), QtGui.QIcon.Normal, QtGui.QIcon.Off)
    self._current_work_area_icon = QtGui.QIcon()
    self._current_work_area_icon.addPixmap(QtGui.QPixmap(':/tk_multi_infopanel/pin_blue.png'), QtGui.QIcon.Disabled, QtGui.QIcon.Off)
    self.setIcon(self._normal_icon)
    self.setIconSize(QtCore.QSize(self.WIDGET_WIDTH_COLLAPSED, self.WIDGET_HEIGHT))
    self._bundle = sgtk.platform.current_bundle()
    self._entity_type = None
    self._entity_id = None
    self._is_static = False
    self._caption = 'Set Work Area'
    self._width = 120
    self.clicked.connect(self._on_click)
    self.setVisible(False)
:param parent: The model parent.
:type parent: :class:`~PySide.QtGui.QObject`
def __init__(self, parent):
    '\n        :param parent: The model parent.\n        :type parent: :class:`~PySide.QtGui.QObject`\n        '
    super(WorkAreaButton, self).__init__(parent)
    self._normal_icon = QtGui.QIcon()
    self._normal_icon.addPixmap(QtGui.QPixmap(':/tk_multi_infopanel/pin.png'), QtGui.QIcon.Normal, QtGui.QIcon.Off)
    self._current_work_area_icon = QtGui.QIcon()
    self._current_work_area_icon.addPixmap(QtGui.QPixmap(':/tk_multi_infopanel/pin_blue.png'), QtGui.QIcon.Disabled, QtGui.QIcon.Off)
    self.setIcon(self._normal_icon)
    self.setIconSize(QtCore.QSize(self.WIDGET_WIDTH_COLLAPSED, self.WIDGET_HEIGHT))
    self._bundle = sgtk.platform.current_bundle()
    self._entity_type = None
    self._entity_id = None
    self._is_static = False
    self._caption = 'Set Work Area'
    self._width = 120
    self.clicked.connect(self._on_click)
    self.setVisible(False)