ParaView
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
pqCollaborationPanel Class Reference

pqCollaborationPanel is a properties page for the collaborative session. More...

#include <pqCollaborationPanel.h>

List of all members.

Public Slots

void writeChatMessage (pqServer *server, int userId, QString &txt)
 Called by pqCollaborationManager when a message is received.
void onUserUpdate ()
 Called by pqCollaborationManager when a user name update occurs (this invalidate the table model)
void onNewMaster (int)
 Called when a new master has been promoted.

Signals

void triggerChatMessage (pqServer *server, int userId, QString &msgContent)
 Emitting this signal will result by adding the message into the UI and if the user is the local one, the message will be broadcasted to the other clients.
void shareLocalMousePointer (bool)
 Emmitting this signal when user has allowed its mouse position to be shared and send to the other clients.
void delayUpdateCamera (vtkSMMessage *msg)
 This get triggered internally when it's not a good time to update the camera so the request get pushed to QueuedConnection.

Public Member Functions

 pqCollaborationPanel (QWidget *parent=0)
 ~pqCollaborationPanel ()

Protected Slots

void onUserMessage ()
 Called when user hit enter in the input line of chat message.
void connectViewLocalSlots (pqView *)
 Called when pqView are added/removed so we can listen user interaction.
void disconnectViewLocalSlots (pqView *)
void stopFollowingCamera ()
void itemChanged (QTableWidgetItem *item)
 Called when the user change its name (double click in the table on his name)
void cellDoubleClicked (int, int)
 Called when the user double click on any cell.
void followUserCamera (int userId)
 Called when to follow a given user camera.
void onServerChanged ()

Protected Member Functions

void promoteToMaster (int masterId)
 Promote a new master.
 pqCollaborationPanel (const pqCollaborationPanel &)
void operator= (const pqCollaborationPanel &)
pqCollaborationManagergetCollaborationManager ()
vtkSMCollaborationManagergetSMCollaborationManager ()

Protected Attributes

pqInternal * Internal

Detailed Description

pqCollaborationPanel is a properties page for the collaborative session.

It allows the user to change its name and manage leadership of the session.

Definition at line 47 of file pqCollaborationPanel.h.


Constructor & Destructor Documentation

pqCollaborationPanel::pqCollaborationPanel ( QWidget *  parent = 0)
pqCollaborationPanel::~pqCollaborationPanel ( )
pqCollaborationPanel::pqCollaborationPanel ( const pqCollaborationPanel ) [protected]

Member Function Documentation

void pqCollaborationPanel::triggerChatMessage ( pqServer server,
int  userId,
QString &  msgContent 
) [signal]

Emitting this signal will result by adding the message into the UI and if the user is the local one, the message will be broadcasted to the other clients.

void pqCollaborationPanel::shareLocalMousePointer ( bool  ) [signal]

Emmitting this signal when user has allowed its mouse position to be shared and send to the other clients.

void pqCollaborationPanel::delayUpdateCamera ( vtkSMMessage msg) [signal]

This get triggered internally when it's not a good time to update the camera so the request get pushed to QueuedConnection.

void pqCollaborationPanel::writeChatMessage ( pqServer server,
int  userId,
QString &  txt 
) [slot]

Called by pqCollaborationManager when a message is received.

void pqCollaborationPanel::onUserUpdate ( ) [slot]

Called by pqCollaborationManager when a user name update occurs (this invalidate the table model)

void pqCollaborationPanel::onNewMaster ( int  ) [slot]

Called when a new master has been promoted.

void pqCollaborationPanel::onUserMessage ( ) [protected, slot]

Called when user hit enter in the input line of chat message.

void pqCollaborationPanel::connectViewLocalSlots ( pqView ) [protected, slot]

Called when pqView are added/removed so we can listen user interaction.

void pqCollaborationPanel::disconnectViewLocalSlots ( pqView ) [protected, slot]
void pqCollaborationPanel::stopFollowingCamera ( ) [protected, slot]
void pqCollaborationPanel::itemChanged ( QTableWidgetItem *  item) [protected, slot]

Called when the user change its name (double click in the table on his name)

void pqCollaborationPanel::cellDoubleClicked ( int  ,
int   
) [protected, slot]

Called when the user double click on any cell.

void pqCollaborationPanel::followUserCamera ( int  userId) [protected, slot]

Called when to follow a given user camera.

void pqCollaborationPanel::onServerChanged ( ) [protected, slot]
void pqCollaborationPanel::promoteToMaster ( int  masterId) [protected]

Promote a new master.

void pqCollaborationPanel::operator= ( const pqCollaborationPanel ) [protected]
pqCollaborationManager* pqCollaborationPanel::getCollaborationManager ( ) [protected]
vtkSMCollaborationManager* pqCollaborationPanel::getSMCollaborationManager ( ) [protected]

Member Data Documentation

pqInternal* pqCollaborationPanel::Internal [protected]

Definition at line 110 of file pqCollaborationPanel.h.


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