Files
pokerth/src/gui/qt/gametable/myavatarlabel.cpp
T
2008-05-05 07:46:19 +00:00

41 lines
677 B
C++

//
// C++ Implementation: mycardspixmaplabel
//
// Description:
//
//
// Author: FThauer FHammer <f.thauer@web.de>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "mysetlabel.h"
#include "gametableimpl.h"
using namespace std;
MyAvatarLabel::MyAvatarLabel(QGroupBox* parent)
: QLabel(parent)
{
myContextMenu = new QMenu;
myContextMenu->addAction(tr("Vote for kick this user"));
}
MyAvatarLabel::~MyAvatarLabel()
{
}
void MyAvatarLabel::contextMenuEvent ( QContextMenuEvent * event ) {
// showContextMenu(event->globalPos());
}
void MyAvatarLabel::showContextMenu(const QPoint &pos) {
// myContextMenu->popup(pos);
}