Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | List of all members
airbus_cobot_gui.python_qt_extend.qpopup.QPopup Class Reference

Popup object. More...

Inheritance diagram for airbus_cobot_gui.python_qt_extend.qpopup.QPopup:
Inheritance graph
[legend]

Public Member Functions

def __init__
 The constructor. More...
 
def set_corners_link
 Geometric link between parent and popup object. More...
 
def setAttachement
 Corner links between parent and popup object. More...
 
def setLinks
 
def show_
 Show popup. More...
 

Static Public Member Functions

def get_corner_position
 Get glabal corner position. More...
 

Static Public Attributes

int BottomLeft = 4
 
int BottomRight = 2
 
int Center = 5
 
int TopLeft = 1
 
int TopRight = 3
 

Private Attributes

 _parent
 
 _parent_link
 
 _popup_link
 

Detailed Description

Popup object.

Definition at line 28 of file qpopup.py.

Constructor & Destructor Documentation

def airbus_cobot_gui.python_qt_extend.qpopup.QPopup.__init__ (   self,
  parent = None 
)

The constructor.

Parameters
parentobject parent. parent: QObject.

Definition at line 36 of file qpopup.py.

Member Function Documentation

def airbus_cobot_gui.python_qt_extend.qpopup.QPopup.get_corner_position (   obj,
  corner 
)
static

Get glabal corner position.

Parameters
objobject. obj: QObject.
cornercorner type. corner: int.

Definition at line 50 of file qpopup.py.

def airbus_cobot_gui.python_qt_extend.qpopup.QPopup.set_corners_link (   self,
  popup_corner,
  parent_corner 
)

Geometric link between parent and popup object.

Parameters
popup_cornerpopup corner selected. popup_corner: int.
parent_cornerparent corner selected. parent_corner: int.

Definition at line 69 of file qpopup.py.

def airbus_cobot_gui.python_qt_extend.qpopup.QPopup.setAttachement (   self,
  popup,
  widget 
)

Corner links between parent and popup object.

Parameters
popup_cornerpopup corner selected. popup_corner: int.
parent_cornerparent corner selected. parent_corner: int.

Definition at line 83 of file qpopup.py.

def airbus_cobot_gui.python_qt_extend.qpopup.QPopup.setLinks (   self,
  parent,
  popup 
)

Definition at line 97 of file qpopup.py.

def airbus_cobot_gui.python_qt_extend.qpopup.QPopup.show_ (   self)

Show popup.

Definition at line 101 of file qpopup.py.

Member Data Documentation

airbus_cobot_gui.python_qt_extend.qpopup.QPopup._parent
private

Definition at line 45 of file qpopup.py.

airbus_cobot_gui.python_qt_extend.qpopup.QPopup._parent_link
private

Definition at line 47 of file qpopup.py.

airbus_cobot_gui.python_qt_extend.qpopup.QPopup._popup_link
private

Definition at line 46 of file qpopup.py.

int airbus_cobot_gui.python_qt_extend.qpopup.QPopup.BottomLeft = 4
static

Definition at line 33 of file qpopup.py.

int airbus_cobot_gui.python_qt_extend.qpopup.QPopup.BottomRight = 2
static

Definition at line 31 of file qpopup.py.

int airbus_cobot_gui.python_qt_extend.qpopup.QPopup.Center = 5
static

Definition at line 34 of file qpopup.py.

int airbus_cobot_gui.python_qt_extend.qpopup.QPopup.TopLeft = 1
static

Definition at line 30 of file qpopup.py.

int airbus_cobot_gui.python_qt_extend.qpopup.QPopup.TopRight = 3
static

Definition at line 32 of file qpopup.py.


The documentation for this class was generated from the following file:


airbus_cobot_gui
Author(s):
autogenerated on Thu Dec 17 2015 11:42:05