mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 07:10:11 +01:00
2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in. * Removed rdchunk(1). * Upgraded Qt3 to Qt4.
This commit is contained in:
@@ -19,7 +19,10 @@
|
||||
//
|
||||
//
|
||||
|
||||
#include <qheader.h>
|
||||
#include <q3header.h>
|
||||
//Added by qt3to4:
|
||||
#include <Q3PopupMenu>
|
||||
#include <QMouseEvent>
|
||||
|
||||
#include <log_listview.h>
|
||||
|
||||
@@ -31,7 +34,7 @@ LogListView::LogListView(QWidget *parent)
|
||||
//
|
||||
// Right Button Menu
|
||||
//
|
||||
log_menu=new QPopupMenu(this,"log_menu");
|
||||
log_menu=new Q3PopupMenu(this,"log_menu");
|
||||
connect(log_menu,SIGNAL(aboutToShow()),this,SLOT(aboutToShowData()));
|
||||
log_menu->insertItem(tr("PLAY Transition"),this,SLOT(playData()),0,0);
|
||||
log_menu->insertItem(tr("SEGUE Transition"),this,SLOT(segueData()),0,1);
|
||||
@@ -84,10 +87,10 @@ void LogListView::stopData()
|
||||
|
||||
void LogListView::contentsMousePressEvent(QMouseEvent *e)
|
||||
{
|
||||
QListView::contentsMousePressEvent(e);
|
||||
Q3ListView::contentsMousePressEvent(e);
|
||||
log_menu_item=(RDListViewItem *)selectedItem();
|
||||
switch(e->button()) {
|
||||
case QMouseEvent::RightButton:
|
||||
case Qt::RightButton:
|
||||
log_menu->setGeometry(e->globalX(),e->globalY(),
|
||||
log_menu->sizeHint().width(),
|
||||
log_menu->sizeHint().height());
|
||||
|
||||
Reference in New Issue
Block a user