#include <qxrdfilebrowserview.h>
|
| QxrdFileBrowserView (QWidget *parent=0) |
|
virtual void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector< int > &roles=QVector< int >()) |
|
virtual QModelIndex | indexAt (const QPoint &point) const |
|
virtual void | keyboardSearch (const QString &search) |
|
virtual void | reset () |
|
virtual void | scrollTo (const QModelIndex &index, ScrollHint hint=EnsureVisible) |
|
virtual void | selectAll () |
|
virtual void | setModel (QAbstractItemModel *model) |
|
virtual void | setSelectionModel (QItemSelectionModel *selectionModel) |
|
virtual QRect | visualRect (const QModelIndex &index) const |
|
Definition at line 6 of file qxrdfilebrowserview.h.
QxrdFileBrowserView::QxrdFileBrowserView |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Definition at line 6 of file qxrdfilebrowserview.cpp.
9 setSortingEnabled(
true);
10 sortByColumn(0, Qt::AscendingOrder);
void QxrdFileBrowserView::dataChanged |
( |
const QModelIndex & |
topLeft, |
|
|
const QModelIndex & |
bottomRight, |
|
|
const QVector< int > & |
roles = QVector<int>() |
|
) |
| |
|
virtual |
Definition at line 30 of file qxrdfilebrowserview.cpp.
References g_Application, and QcepApplication::printMessage().
35 inherited::dataChanged(topLeft,bottomRight,roles);
37 int elapsed = tic.elapsed();
42 tr(
"QxrdFileBrowserView::dataChanged took %1 msec").arg(elapsed));
virtual void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())=0
QcepApplication * g_Application
QModelIndex QxrdFileBrowserView::indexAt |
( |
const QPoint & |
point | ) |
const |
|
virtual |
Definition at line 47 of file qxrdfilebrowserview.cpp.
References g_Application, and QcepApplication::printMessage().
52 QModelIndex result = inherited::indexAt(point);
54 int elapsed = tic.elapsed();
59 tr(
"QxrdFileBrowserView::indexAt took %1 msec").arg(elapsed));
virtual void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())=0
QcepApplication * g_Application
void QxrdFileBrowserView::keyboardSearch |
( |
const QString & |
search | ) |
|
|
virtual |
Definition at line 66 of file qxrdfilebrowserview.cpp.
References g_Application, and QcepApplication::printMessage().
71 inherited::keyboardSearch(search);
73 int elapsed = tic.elapsed();
78 tr(
"QxrdFileBrowserView::keyboardSearch took %1 msec").arg(elapsed));
virtual void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())=0
QcepApplication * g_Application
void QxrdFileBrowserView::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
Definition at line 13 of file qxrdfilebrowserview.cpp.
References g_Application, and QcepApplication::printMessage().
18 inherited::paintEvent(event);
20 int elapsed = tic.elapsed();
25 tr(
"QxrdFileBrowserView::paintEvent took %1 msec").arg(elapsed));
virtual void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())=0
QcepApplication * g_Application
void QxrdFileBrowserView::reset |
( |
| ) |
|
|
virtual |
void QxrdFileBrowserView::scrollTo |
( |
const QModelIndex & |
index, |
|
|
ScrollHint |
hint = EnsureVisible |
|
) |
| |
|
virtual |
Definition at line 100 of file qxrdfilebrowserview.cpp.
References g_Application, and QcepApplication::printMessage().
105 inherited::scrollTo(index, hint);
107 int elapsed = tic.elapsed();
109 if (elapsed > 1000) {
112 tr(
"QxrdFileBrowserView::scrollTo took %1 msec").arg(elapsed));
virtual void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())=0
QcepApplication * g_Application
void QxrdFileBrowserView::selectAll |
( |
| ) |
|
|
virtual |
Definition at line 117 of file qxrdfilebrowserview.cpp.
References g_Application, and QcepApplication::printMessage().
122 inherited::selectAll();
124 int elapsed = tic.elapsed();
126 if (elapsed > 1000) {
129 tr(
"QxrdFileBrowserView::selectAll took %1 msec").arg(elapsed));
virtual void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())=0
QcepApplication * g_Application
void QxrdFileBrowserView::setModel |
( |
QAbstractItemModel * |
model | ) |
|
|
virtual |
Definition at line 134 of file qxrdfilebrowserview.cpp.
References g_Application, and QcepApplication::printMessage().
139 inherited::setModel(model);
141 int elapsed = tic.elapsed();
143 if (elapsed > 1000) {
146 tr(
"QxrdFileBrowserView::setModel took %1 msec").arg(elapsed));
virtual void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())=0
QcepApplication * g_Application
void QxrdFileBrowserView::setSelectionModel |
( |
QItemSelectionModel * |
selectionModel | ) |
|
|
virtual |
Definition at line 151 of file qxrdfilebrowserview.cpp.
References g_Application, and QcepApplication::printMessage().
156 inherited::setSelectionModel(selectionModel);
158 int elapsed = tic.elapsed();
160 if (elapsed > 1000) {
163 tr(
"QxrdFileBrowserView::setSelectionModel took %1 msec").arg(elapsed));
virtual void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())=0
QcepApplication * g_Application
QRect QxrdFileBrowserView::visualRect |
( |
const QModelIndex & |
index | ) |
const |
|
virtual |
Definition at line 168 of file qxrdfilebrowserview.cpp.
References g_Application, and QcepApplication::printMessage().
173 QRect result = inherited::visualRect(index);
175 int elapsed = tic.elapsed();
177 if (elapsed > 1000) {
180 tr(
"QxrdFileBrowserView::visualRect took %1 msec").arg(elapsed));
virtual void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())=0
QcepApplication * g_Application
The documentation for this class was generated from the following files: