#include <searchandreplacewidget.h>
Inherits QWidget.
◆ SearchAndReplaceWidget()
SearchAndReplaceWidget::SearchAndReplaceWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~SearchAndReplaceWidget()
SearchAndReplaceWidget::~SearchAndReplaceWidget |
( |
| ) |
|
|
override |
◆ activateNextChecked()
void SearchAndReplaceWidget::activateNextChecked |
( |
| ) |
|
|
private |
◆ addElement()
void SearchAndReplaceWidget::addElement |
( |
Element * |
element | ) |
|
|
private |
◆ clear()
void SearchAndReplaceWidget::clear |
( |
| ) |
|
SearchAndReplaceWidget::clear Clear the content of the search and replace line edit Clear all tree items in the tree widget (except the category items).
◆ event()
bool SearchAndReplaceWidget::event |
( |
QEvent * |
event | ) |
|
|
override |
SearchAndReplaceWidget::event Reimplemented to clear the the lines edit and hide the advanced widgets, when this widget become hidden.
- Parameters
-
- Returns
◆ fillItemsList()
void SearchAndReplaceWidget::fillItemsList |
( |
| ) |
|
|
private |
◆ itemChanged()
void SearchAndReplaceWidget::itemChanged |
( |
QTreeWidgetItem * |
item, |
|
|
int |
column |
|
) |
| |
|
private |
◆ nextItem()
QTreeWidgetItem * SearchAndReplaceWidget::nextItem |
( |
QTreeWidgetItem * |
item = nullptr , |
|
|
QTreeWidgetItemIterator::IteratorFlag |
flags = QTreeWidgetItemIterator::All |
|
) |
| const |
|
private |
SearchAndReplaceWidget::nextItem.
- Parameters
-
item | : find the next item from item, if item is nullptr, start the search for the root of the tree |
flags | |
- Returns
- the next item according to flag or nullptr if there is not a next item
◆ on_m_advanced_pb_toggled
void SearchAndReplaceWidget::on_m_advanced_pb_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_m_advanced_replace_pb_clicked
void SearchAndReplaceWidget::on_m_advanced_replace_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_case_sensitive_cb_stateChanged
void SearchAndReplaceWidget::on_m_case_sensitive_cb_stateChanged |
( |
int |
arg1 | ) |
|
|
privateslot |
◆ on_m_conductor_pb_clicked
void SearchAndReplaceWidget::on_m_conductor_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_element_pb_clicked
void SearchAndReplaceWidget::on_m_element_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_folio_pb_clicked
void SearchAndReplaceWidget::on_m_folio_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_mode_cb_currentIndexChanged
void SearchAndReplaceWidget::on_m_mode_cb_currentIndexChanged |
( |
int |
index | ) |
|
|
privateslot |
◆ on_m_next_pb_clicked
void SearchAndReplaceWidget::on_m_next_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_previous_pb_clicked
void SearchAndReplaceWidget::on_m_previous_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_quit_button_clicked
void SearchAndReplaceWidget::on_m_quit_button_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_reload_pb_clicked
void SearchAndReplaceWidget::on_m_reload_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_replace_all_pb_clicked
void SearchAndReplaceWidget::on_m_replace_all_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_replace_pb_clicked
void SearchAndReplaceWidget::on_m_replace_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_tree_widget_currentItemChanged
void SearchAndReplaceWidget::on_m_tree_widget_currentItemChanged |
( |
QTreeWidgetItem * |
current, |
|
|
QTreeWidgetItem * |
previous |
|
) |
| |
|
privateslot |
◆ on_m_tree_widget_itemDoubleClicked
void SearchAndReplaceWidget::on_m_tree_widget_itemDoubleClicked |
( |
QTreeWidgetItem * |
item, |
|
|
int |
column |
|
) |
| |
|
privateslot |
◆ previousItem()
QTreeWidgetItem * SearchAndReplaceWidget::previousItem |
( |
QTreeWidgetItem * |
item = nullptr , |
|
|
QTreeWidgetItemIterator::IteratorFlag |
flags = QTreeWidgetItemIterator::All |
|
) |
| const |
|
private |
SearchAndReplaceWidget::previousItem.
- Parameters
-
item | : find the previous item from item, if item is nullptr, start the search for the root of the tree |
flags | |
- Returns
- the previous item according to flag or nullptr if there is not a previous item
◆ search()
void SearchAndReplaceWidget::search |
( |
| ) |
|
|
private |
◆ searchTerms() [1/4]
QStringList SearchAndReplaceWidget::searchTerms |
( |
Conductor * |
conductor | ) |
|
|
staticprivate |
◆ searchTerms() [2/4]
QStringList SearchAndReplaceWidget::searchTerms |
( |
Diagram * |
diagram | ) |
|
|
staticprivate |
◆ searchTerms() [3/4]
QStringList SearchAndReplaceWidget::searchTerms |
( |
Element * |
element | ) |
|
|
staticprivate |
◆ searchTerms() [4/4]
static QStringList SearchAndReplaceWidget::searchTerms |
( |
QString |
str | ) |
|
|
staticprivate |
◆ selectedConductor()
QList< Conductor * > SearchAndReplaceWidget::selectedConductor |
( |
| ) |
const |
|
private |
◆ selectedDiagram()
QList< Diagram * > SearchAndReplaceWidget::selectedDiagram |
( |
| ) |
const |
|
private |
◆ selectedElement()
QList< Element * > SearchAndReplaceWidget::selectedElement |
( |
| ) |
const |
|
private |
◆ selectedText()
◆ setChildCheckState()
void SearchAndReplaceWidget::setChildCheckState |
( |
QTreeWidgetItem * |
item, |
|
|
Qt::CheckState |
check, |
|
|
bool |
deep = true |
|
) |
| |
|
private |
◆ setEditor()
◆ setHideAdvanced()
void SearchAndReplaceWidget::setHideAdvanced |
( |
bool |
hide | ) |
|
|
private |
◆ setUpTreeItems()
void SearchAndReplaceWidget::setUpTreeItems |
( |
| ) |
|
|
private |
◆ setVisibleAllParents()
void SearchAndReplaceWidget::setVisibleAllParents |
( |
QTreeWidgetItem * |
item, |
|
|
bool |
expend_parent = true |
|
) |
| |
|
private |
◆ updateNextPreviousButtons()
void SearchAndReplaceWidget::updateNextPreviousButtons |
( |
| ) |
|
|
private |
◆ updateParentCheckState()
void SearchAndReplaceWidget::updateParentCheckState |
( |
QTreeWidgetItem * |
item, |
|
|
bool |
all_parents = true |
|
) |
| |
|
private |
◆ m_category_qtwi
QList<QTreeWidgetItem *> SearchAndReplaceWidget::m_category_qtwi |
|
private |
◆ m_conductor_hash
QHash<QTreeWidgetItem *, QPointer <Conductor> > SearchAndReplaceWidget::m_conductor_hash |
|
private |
◆ m_conductor_qtwi
QTreeWidgetItem * SearchAndReplaceWidget::m_conductor_qtwi = nullptr |
|
private |
◆ m_diagram_hash
QHash<QTreeWidgetItem *, QPointer <Diagram> > SearchAndReplaceWidget::m_diagram_hash |
|
private |
◆ m_editor
◆ m_element_hash
QHash<QTreeWidgetItem *, QPointer <Element> > SearchAndReplaceWidget::m_element_hash |
|
private |
◆ m_elements_qtwi
QTreeWidgetItem * SearchAndReplaceWidget::m_elements_qtwi = nullptr |
|
private |
◆ m_folio_qtwi
QTreeWidgetItem * SearchAndReplaceWidget::m_folio_qtwi = nullptr |
|
private |
◆ m_highlighted_element
QPointer<Element> SearchAndReplaceWidget::m_highlighted_element |
|
private |
◆ m_horizontal_animation
◆ m_indi_text_qtwi
QTreeWidgetItem * SearchAndReplaceWidget::m_indi_text_qtwi = nullptr |
|
private |
◆ m_last_selected
QPointer<QGraphicsObject> SearchAndReplaceWidget::m_last_selected |
|
private |
◆ m_master_elmt_qtwi
QTreeWidgetItem * SearchAndReplaceWidget::m_master_elmt_qtwi = nullptr |
|
private |
◆ m_qtwi_elmts
QList<QTreeWidgetItem *> SearchAndReplaceWidget::m_qtwi_elmts |
|
private |
◆ m_report_elmt_qtwi
QTreeWidgetItem * SearchAndReplaceWidget::m_report_elmt_qtwi = nullptr |
|
private |
◆ m_root_qtwi
QTreeWidgetItem* SearchAndReplaceWidget::m_root_qtwi = nullptr |
|
private |
◆ m_simple_elmt_qtwi
QTreeWidgetItem * SearchAndReplaceWidget::m_simple_elmt_qtwi = nullptr |
|
private |
◆ m_slave_elmt_qtwi
QTreeWidgetItem * SearchAndReplaceWidget::m_slave_elmt_qtwi = nullptr |
|
private |
◆ m_terminal_elmt_qtwi
QTreeWidgetItem * SearchAndReplaceWidget::m_terminal_elmt_qtwi = nullptr |
|
private |
◆ m_text_hash
◆ m_vertical_animation
◆ m_worker
◆ ui
Ui::SearchAndReplaceWidget* SearchAndReplaceWidget::ui |
|
private |
The documentation for this class was generated from the following files: