dblclick to edit in viewAction
This commit is contained in:
parent
8f1f2ca66d
commit
0e531b73a7
@ -1,5 +1,5 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char rcsid[] = "@(#$Id: rclmain_w.cpp,v 1.15 2006-12-16 15:39:54 dockes Exp $ (C) 2005 J.F.Dockes";
|
static char rcsid[] = "@(#$Id: rclmain_w.cpp,v 1.16 2006-12-18 12:05:29 dockes Exp $ (C) 2005 J.F.Dockes";
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -249,6 +249,11 @@ static const char *eventTypeToStr(int tp)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void RclMain::closeEvent( QCloseEvent * )
|
||||||
|
{
|
||||||
|
fileExit();
|
||||||
|
}
|
||||||
|
|
||||||
// We also want to get rid of the advanced search form and previews
|
// We also want to get rid of the advanced search form and previews
|
||||||
// when we exit (not our children so that it's not systematically
|
// when we exit (not our children so that it's not systematically
|
||||||
// created over the main form).
|
// created over the main form).
|
||||||
|
|||||||
@ -93,6 +93,8 @@ public slots:
|
|||||||
virtual void previewPrevInTab(int sid, int docnum);
|
virtual void previewPrevInTab(int sid, int docnum);
|
||||||
virtual void previewExposed(int sid, int docnum);
|
virtual void previewExposed(int sid, int docnum);
|
||||||
virtual void resetSearch();
|
virtual void resetSearch();
|
||||||
|
protected:
|
||||||
|
virtual void closeEvent( QCloseEvent * );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Preview *curPreview;
|
Preview *curPreview;
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char rcsid[] = "@(#$Id: viewaction_w.cpp,v 1.1 2006-12-14 13:53:43 dockes Exp $ (C) 2006 J.F.Dockes";
|
static char rcsid[] = "@(#$Id: viewaction_w.cpp,v 1.2 2006-12-18 12:05:29 dockes Exp $ (C) 2006 J.F.Dockes";
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -42,6 +42,8 @@ void ViewAction::init()
|
|||||||
{
|
{
|
||||||
connect(closePB, SIGNAL(clicked()), this, SLOT(close()));
|
connect(closePB, SIGNAL(clicked()), this, SLOT(close()));
|
||||||
connect(chgActPB, SIGNAL(clicked()), this, SLOT(editAction()));
|
connect(chgActPB, SIGNAL(clicked()), this, SLOT(editAction()));
|
||||||
|
connect(actionsLV,SIGNAL(doubleClicked(QListViewItem *,const QPoint &,int)),
|
||||||
|
this, SLOT(editAction()));
|
||||||
fillLists();
|
fillLists();
|
||||||
actionsLV->setColumnWidth(0, 150);
|
actionsLV->setColumnWidth(0, 150);
|
||||||
actionsLV->setColumnWidth(1, 150);
|
actionsLV->setColumnWidth(1, 150);
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#ifndef _VIEWACTION_W_H_INCLUDED_
|
#ifndef _VIEWACTION_W_H_INCLUDED_
|
||||||
#define _VIEWACTION_W_H_INCLUDED_
|
#define _VIEWACTION_W_H_INCLUDED_
|
||||||
/* @(#$Id: viewaction_w.h,v 1.1 2006-12-14 13:53:43 dockes Exp $ (C) 2006 J.F.Dockes */
|
/* @(#$Id: viewaction_w.h,v 1.2 2006-12-18 12:05:29 dockes Exp $ (C) 2006 J.F.Dockes */
|
||||||
/*
|
/*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -28,6 +28,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
class QDialog;
|
class QDialog;
|
||||||
|
class QMouseEvent;
|
||||||
|
|
||||||
//MOC_SKIP_BEGIN
|
//MOC_SKIP_BEGIN
|
||||||
#if QT_VERSION < 0x040000
|
#if QT_VERSION < 0x040000
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user