lokalize
cataloglistview.cpp
Go to the documentation of this file.
88 m_lineEdit->setToolTip(i18nc("@info:tooltip","Activated by Ctrl+L.")+" "+i18nc("@info:tooltip","Accepts regular expressions"));
89 connect (m_lineEdit,SIGNAL(textChanged(QString)),this,SLOT(setFilterRegExp()),Qt::QueuedConnection);
90 // QShortcut* ctrlEsc=new QShortcut(QKeySequence(Qt::META+Qt::Key_Escape),this,SLOT(reset()),0,Qt::WidgetWithChildrenShortcut);
91 QShortcut* esc=new QShortcut(QKeySequence(Qt::Key_Escape),this,0,0,Qt::WidgetWithChildrenShortcut);
102 connect(m_filterOptionsMenu,SIGNAL(triggered(QAction*)),this,SLOT(filterOptionToggled(QAction*)));
133 m_browser->header()->restoreState(QByteArray::fromBase64( cg.readEntry("TreeHeaderState", QByteArray()) ));
160 m_proxyModel->setFilterRegExp(m_proxyModel->filerOptions()&CatalogTreeFilterModel::IgnoreAccel?expr.remove(Project::instance()->accel()):expr);
188 m_filterOptionsMenu->addAction(i18n("Reset individual filter"),this,SLOT(setEntriesFilteredOut()));
QLayout * layout() const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
void setMenu(QMenu *menu)
void setContentsMargins(int left, int top, int right, int bottom)
bool individualRejectFilterEnabled()
Definition: catalogmodel.h:145
QVariant headerData(int section, Qt::Orientation, int role=Qt::DisplayRole) const
Definition: catalogmodel.cpp:112
virtual void keyReleaseEvent(QKeyEvent *event)
void setChecked(bool)
QVariant data() const
void setMergeCatalogPointer(MergeCatalog *pointer)
Definition: catalogmodel.cpp:302
QString & remove(int position, int n)
virtual int rowCount(const QModelIndex &parent) const
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: catalogmodel.cpp:63
void setMergeCatalogPointer(MergeCatalog *pointer)
Definition: cataloglistview.cpp:248
bool isValid() const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
int toInt(bool *ok) const
bool isNull() const
void setSourceModel(QAbstractItemModel *sourceModel)
Definition: catalogmodel.cpp:220
void setFocus()
void setObjectName(const QString &name)
void setTabOrder(QWidget *first, QWidget *second)
void setFocusProxy(QWidget *w)
int row() const
void setEntriesFilteredOut(bool filteredOut=false)
Definition: catalogmodel.cpp:227
void setData(const QVariant &userData)
int key() const
void accept()
Definition: catalogmodel.h:97
void setCheckable(bool)
void setWidget(QWidget *widget)
static int edgeEntry(CatalogTreeFilterModel *m_proxyModel, int row)
Definition: cataloglistview.cpp:283
virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const
Definition: catalogcapabilities.h:32
QByteArray fromBase64(const QByteArray &base64)
virtual QModelIndex mapFromSource(const QModelIndex &sourceIndex) const
QModelIndex sibling(int row, int column) const
void slotNewEntryDisplayed(const DocPosition &)
Definition: cataloglistview.cpp:149
void escaped()
QWidget(QWidget *parent, QFlags< Qt::WindowType > f)
void setPopupMode(ToolButtonPopupMode mode)
void gotoEntry(const DocPosition &, int selection)
void setText(const QString &text)
void clicked(const QModelIndex &index)
This class represents a catalog It uses CatalogStorage interface to work with catalogs in different f...
Definition: catalog.h:74
void setEntryFilteredOut(int entry, bool filteredOut)
Definition: cataloglistview.cpp:302
void show()
QModelIndex currentIndex() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: catalogmodel.h:117
QString toString() const
void setFilterKeyColumn(int column)
void setEntriesFilteredOut(bool filteredOut=false)
Definition: cataloglistview.cpp:307
void setSpacing(int spacing)
void setEntryFilteredOut(int entry, bool filteredOut)
Definition: catalogmodel.cpp:234
void addLayout(QLayout *layout, int stretch)
filterRegExp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.