Hi,
I've extended the context menu of the marks in the event list on the left a
bit!
Now it's also possible to delete all marks (or all but the current mark) from
the list with just one click... :-)
Usually I'm having a few movies or episodes in one recording and I always
was annoyed having to go through the whole list to delete old cut marks... or
to re-open the recording and thus also loosing the current position/mark. ;-)
Hope you find it usefull too...
I appended the patch file for dvbcut.cpp (rev71).
ciao
Ralph
--- orig/src/dvbcut.cpp 2007-09-13 21:44:05.000000000 +0200
+++ svn/src/dvbcut.cpp 2007-09-27 17:03:08.000000000 +0200
@@ -894,7 +894,12 @@
QPopupMenu popup(eventlist);
popup.insertItem("Go to",1);
popup.insertItem("Delete",2);
- popup.insertItem("Display difference from this picture",3);
+ popup.insertItem("Delete others",3);
+ popup.insertItem("Delete all",4);
+ popup.insertItem("Display difference from this picture",5);
+
+ QListBox *lb=lbi->listBox();
+ QListBoxItem *first=lb->firstItem(),*current,*next;
switch (popup.exec(point)) {
case 1:
@@ -908,6 +913,19 @@
break;
case 3:
+ current=first;
+ while(current) {
+ next=current->next();
+ if(current!=lbi) delete current;
+ current=next;
+ }
+ break;
+
+ case 4:
+ lb->clear();
+ break;
+
+ case 5:
if (imgp)
delete imgp;
imgp=new differenceimageprovider(*mpg,((EventListItem*)lbi)->getpicture(),new dvbcutbusy(this),false,viewscalefactor);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user