#include <filterablelistwidget.h>
Signals | |
| void | deleteCurve (QString curve_name) |
| void | hiddenItemsChanged () |
Public Member Functions | |
| void | addItem (const QString &item_name, bool sort_columns) |
| void | clear () |
| FilterableListWidget (QWidget *parent=0) | |
| QList< int > | findRowsByName (const QString &text) const |
| const QTableWidget * | getTable () const |
| virtual void | keyPressEvent (QKeyEvent *event) override |
| void | removeRow (int row) |
| int | rowCount () const |
| void | sortColumns () |
| void | updateFilter () |
| ~FilterableListWidget () | |
Private Slots | |
| void | on_checkBoxCaseSensitive_toggled (bool checked) |
| void | on_checkBoxHideSecondColumn_toggled (bool checked) |
| void | on_lineEdit_textChanged (const QString &search_string) |
| void | on_pushButtonSettings_toggled (bool checked) |
| void | on_radioContains_toggled (bool checked) |
| void | on_radioPrefix_toggled (bool checked) |
| void | on_radioRegExp_toggled (bool checked) |
| void | removeSelectedCurves () |
Private Member Functions | |
| void | addToCompletionTree (QTableWidgetItem *item) |
| bool | eventFilter (QObject *object, QEvent *event) |
| void | updateTreeModel () |
Private Attributes | |
| TreeModelCompleter * | _completer |
| QPoint | _drag_start_pos |
| bool | _newX_modifier |
| QStandardItemModel * | _tree_model |
| Ui::FilterableListWidget * | ui |
Definition at line 18 of file filterablelistwidget.h.
| FilterableListWidget::FilterableListWidget | ( | QWidget * | parent = 0 | ) | [explicit] |
Definition at line 40 of file filterablelistwidget.cpp.
Definition at line 71 of file filterablelistwidget.cpp.
| void FilterableListWidget::addItem | ( | const QString & | item_name, |
| bool | sort_columns | ||
| ) |
Definition at line 110 of file filterablelistwidget.cpp.
| void FilterableListWidget::addToCompletionTree | ( | QTableWidgetItem * | item | ) | [private] |
Definition at line 283 of file filterablelistwidget.cpp.
| void FilterableListWidget::clear | ( | ) |
Definition at line 90 of file filterablelistwidget.cpp.
| void FilterableListWidget::deleteCurve | ( | QString | curve_name | ) | [signal] |
| bool FilterableListWidget::eventFilter | ( | QObject * | object, |
| QEvent * | event | ||
| ) | [private] |
Definition at line 169 of file filterablelistwidget.cpp.
| QList< int > FilterableListWidget::findRowsByName | ( | const QString & | text | ) | const |
Definition at line 138 of file filterablelistwidget.cpp.
| const QTableWidget * FilterableListWidget::getTable | ( | ) | const |
Definition at line 151 of file filterablelistwidget.cpp.
| void FilterableListWidget::hiddenItemsChanged | ( | ) | [signal] |
| void FilterableListWidget::keyPressEvent | ( | QKeyEvent * | event | ) | [override, virtual] |
Definition at line 162 of file filterablelistwidget.cpp.
| void FilterableListWidget::on_checkBoxCaseSensitive_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 318 of file filterablelistwidget.cpp.
| void FilterableListWidget::on_checkBoxHideSecondColumn_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 382 of file filterablelistwidget.cpp.
| void FilterableListWidget::on_lineEdit_textChanged | ( | const QString & | search_string | ) | [private, slot] |
Definition at line 324 of file filterablelistwidget.cpp.
| void FilterableListWidget::on_pushButtonSettings_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 377 of file filterablelistwidget.cpp.
| void FilterableListWidget::on_radioContains_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 267 of file filterablelistwidget.cpp.
| void FilterableListWidget::on_radioPrefix_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 310 of file filterablelistwidget.cpp.
| void FilterableListWidget::on_radioRegExp_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 275 of file filterablelistwidget.cpp.
| void FilterableListWidget::removeRow | ( | int | row | ) |
Definition at line 422 of file filterablelistwidget.cpp.
| void FilterableListWidget::removeSelectedCurves | ( | ) | [private, slot] |
Definition at line 394 of file filterablelistwidget.cpp.
| int FilterableListWidget::rowCount | ( | ) | const |
Definition at line 85 of file filterablelistwidget.cpp.
| void FilterableListWidget::sortColumns | ( | ) |
Definition at line 131 of file filterablelistwidget.cpp.
| void FilterableListWidget::updateFilter | ( | ) |
Definition at line 157 of file filterablelistwidget.cpp.
| void FilterableListWidget::updateTreeModel | ( | ) | [private] |
Definition at line 72 of file filterablelistwidget.h.
QPoint FilterableListWidget::_drag_start_pos [private] |
Definition at line 66 of file filterablelistwidget.h.
bool FilterableListWidget::_newX_modifier [private] |
Definition at line 68 of file filterablelistwidget.h.
QStandardItemModel* FilterableListWidget::_tree_model [private] |
Definition at line 70 of file filterablelistwidget.h.
Ui::FilterableListWidget* FilterableListWidget::ui [private] |
Definition at line 64 of file filterablelistwidget.h.