#include <SUIT_PopupClient.h>
Classes | |
class | Signal |
Public Member Functions | |
SUIT_PopupClient () | |
virtual | ~SUIT_PopupClient () |
bool | connectPopupRequest (QObject *reciever, const char *slot) |
bool | disconnectPopupRequest (QObject *reciever, const char *slot) |
virtual QString | popupClientType () const =0 |
virtual void | contextMenuPopup (QMenu *) |
Protected Member Functions | |
void | contextMenuRequest (QContextMenuEvent *e) |
Private Attributes | |
Signal * | mySignal |
Descr: Base class for instances which creates popup menu on QContextMenuEvent
SUIT_PopupClient::SUIT_PopupClient | ( | ) |
constructor. initialize mySignal.
|
virtual |
destructor. delete mySignal
References mySignal.
Connect popup request.
References contextMenuRequest(), and mySignal.
|
inlinevirtual |
Reimplemented in LogWindow, SalomeApp_ListView, SUIT_DataBrowser, SUIT_ViewManager, GLViewer_ViewManager, and OCCViewer_ViewManager.
|
protected |
Send signal on context menu request.
References mySignal, and SUIT_PopupClient::Signal::sendSignal().
Disconnect popup request.
References contextMenuRequest(), and mySignal.
|
pure virtual |
Implemented in LogWindow, SalomeApp_ListView, SUIT_ViewManager, and SUIT_DataBrowser.
|
private |