Introduced stack zone, shrunk table to have higher zoom factor

This commit is contained in:
Max-Wilhelm Bruker 2010-11-03 21:28:43 +01:00
parent 1cd76c2641
commit df5791d318
16 changed files with 186 additions and 23 deletions

View file

@ -3,6 +3,7 @@
#include <QTextEdit>
#include <QPushButton>
#include <QStyle>
#include <QMouseEvent>
#include "cardinfowidget.h"
#include "carditem.h"
#include "carddatabase.h"
@ -157,3 +158,9 @@ void CardInfoWidget::resizeEvent(QResizeEvent * /*event*/)
updatePixmap();
}
}
void CardInfoWidget::mouseReleaseEvent(QMouseEvent *event)
{
if ((event->button() == Qt::MidButton) && (mode == ModePopUp))
emit mouseReleased();
}