precode link highlight during tab traversal: commented out, doesnt work
This commit is contained in:
parent
ee8daa6b79
commit
de63a00540
@ -101,6 +101,11 @@ ResList::ResList(QWidget* parent, const char* name)
|
||||
// signals and slots connections
|
||||
connect(this, SIGNAL(linkClicked(const QString &, int)),
|
||||
this, SLOT(linkWasClicked(const QString &, int)));
|
||||
#if 0
|
||||
// See comments in "highlighted
|
||||
connect(this, SIGNAL(highlighted(const QString &)),
|
||||
this, SLOT(highlighted(const QString &)));
|
||||
#endif
|
||||
connect(this, SIGNAL(headerClicked()), this, SLOT(showQueryDetails()));
|
||||
connect(this, SIGNAL(doubleClicked(int,int)),
|
||||
this, SLOT(doubleClicked(int, int)));
|
||||
@ -345,6 +350,13 @@ int ResList::getResCnt()
|
||||
return m_docSource->getResCnt();
|
||||
}
|
||||
|
||||
void ResList::highlighted(const QString& )
|
||||
{
|
||||
// This is supposedly called when a link is preactivated (hover or tab
|
||||
// traversal, but is not actually called for tabs. We would have liked to
|
||||
// give some kind of visual feedback for tab traversal
|
||||
}
|
||||
|
||||
|
||||
#if 1 || (QT_VERSION < 0x040000)
|
||||
#define SCROLLYPOS contentsY()
|
||||
|
||||
@ -87,6 +87,7 @@ class ResList : public QTEXTBROWSER
|
||||
virtual void setDocSource();
|
||||
virtual void setSortParams(DocSeqSortSpec spec);
|
||||
virtual void setFilterParams(const DocSeqFiltSpec &spec);
|
||||
virtual void highlighted(const QString& link);
|
||||
|
||||
signals:
|
||||
void nextPageAvailable(bool);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user