a/src/qtgui/viewaction_w.cpp b/src/qtgui/viewaction_w.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: viewaction_w.cpp,v 1.3 2006-12-18 16:45:52 dockes Exp $ (C) 2006 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: viewaction_w.cpp,v 1.4 2006-12-19 12:11:21 dockes Exp $ (C) 2006 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
35
#define QListViewItemIterator Q3ListViewItemIterator
35
#define QListViewItemIterator Q3ListViewItemIterator
36
#endif
36
#endif
37
37
38
#include <qmessagebox.h>
38
#include <qmessagebox.h>
39
#include <qinputdialog.h>
39
#include <qinputdialog.h>
40
#include <qlayout.h>
40
41
41
#include "recoll.h"
42
#include "recoll.h"
42
#include "debuglog.h"
43
#include "debuglog.h"
43
#include "guiutils.h"
44
#include "guiutils.h"
44
45
...
...
53
       SIGNAL(doubleClicked(QListViewItem *, const QPoint &, int)),
54
       SIGNAL(doubleClicked(QListViewItem *, const QPoint &, int)),
54
#else
55
#else
55
       SIGNAL(doubleClicked(Q3ListViewItem *, const QPoint &, int)),
56
       SIGNAL(doubleClicked(Q3ListViewItem *, const QPoint &, int)),
56
#endif
57
#endif
57
       this, SLOT(editAction()));
58
       this, SLOT(editAction()));
58
59
    // Note: could get the column width setting to work in qt4
60
    actionsLV->setColumnWidthMode(0, QListView::Manual);
61
    actionsLV->setColumnWidth(0, 300);
62
    actionsLV->setColumnWidthMode(1, QListView::Manual);
63
    actionsLV->setColumnWidth(1, 120);
64
65
    fillLists();
59
    fillLists();
66
    resize(QSize(450, 250).expandedTo(minimumSizeHint()) );
60
    resize(QSize(450, 250).expandedTo(minimumSizeHint()) );
67
}
61
}
68
62
69
void ViewAction::fillLists()
63
void ViewAction::fillLists()