QElectroTech  0.8-dev
replaceadvanceddialog.h
Go to the documentation of this file.
1 /*
2  Copyright 2006-2020 The QElectroTech Team
3  This file is part of QElectroTech.
4 
5  QElectroTech is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 2 of the License, or
8  (at your option) any later version.
9 
10  QElectroTech is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17 */
18 #ifndef REPLACEADVANCEDDIALOG_H
19 #define REPLACEADVANCEDDIALOG_H
20 
21 #include "searchandreplaceworker.h"
22 
23 #include <QDialog>
24 
25 namespace Ui {
27 }
28 
29 class replaceAdvancedDialog : public QDialog
30 {
31  Q_OBJECT
32 
33  public:
34  explicit replaceAdvancedDialog(advancedReplaceStruct advanced, QWidget *parent = nullptr);
36 
39 
40  private:
41  void fillWhatComboBox(int index);
42 
43  private slots:
44  void on_m_who_cb_currentIndexChanged(int index);
45 
46  private:
47  Ui::replaceAdvancedDialog *ui;
48 };
49 
50 #endif // REPLACEADVANCEDDIALOG_H
advancedReplaceStruct::who
int who
Definition: searchandreplaceworker.h:40
QETApp::diagramTranslatedInfoKey
static QString diagramTranslatedInfoKey(const QString &key)
QETApp::diagramTranslatedInfoKey.
Definition: qetapp.cpp:502
replaceAdvancedDialog::~replaceAdvancedDialog
~replaceAdvancedDialog()
Definition: replaceadvanceddialog.cpp:44
replaceAdvancedDialog
Definition: replaceadvanceddialog.h:30
advancedReplaceStruct::what
QString what
Definition: searchandreplaceworker.h:41
replaceAdvancedDialog::fillWhatComboBox
void fillWhatComboBox(int index)
Definition: replaceadvanceddialog.cpp:90
QETApp::elementInfoKeys
static QStringList elementInfoKeys()
QETApp::elementInfoKeys.
Definition: qetapp.cpp:366
SearchAndReplaceWidget::ui
Ui::SearchAndReplaceWidget * ui
Definition: searchandreplacewidget.h:105
replaceAdvancedDialog::ui
Ui::replaceAdvancedDialog * ui
Definition: replaceadvanceddialog.h:47
qetapp.h
QETApp::elementTranslatedInfoKey
static QString elementTranslatedInfoKey(const QString &)
ElementsProperties::translatedInfo Return the translated information key given by info If info don't ...
Definition: qetapp.cpp:400
QETApp::conductorInfoKeys
static QStringList conductorInfoKeys()
QETApp::conductorInfoKeys.
Definition: qetapp.cpp:446
QETApp::conductorTranslatedInfoKey
static QString conductorTranslatedInfoKey(const QString &key)
QETApp::conductorTranslatedInfoKey.
Definition: qetapp.cpp:465
QETApp::diagramInfoKeys
static QStringList diagramInfoKeys()
QETApp::diagramInfoKeys.
Definition: qetapp.cpp:480
advancedReplaceStruct::search
QString search
Definition: searchandreplaceworker.h:42
replaceAdvancedDialog::on_m_who_cb_currentIndexChanged
void on_m_who_cb_currentIndexChanged(int index)
replaceAdvancedDialog::on_m_who_cb_currentIndexChanged
Definition: replaceadvanceddialog.cpp:116
replaceAdvancedDialog::advancedStruct
advancedReplaceStruct advancedStruct() const
replaceAdvancedDialog::advancedStruct
Definition: replaceadvanceddialog.cpp:79
Ui
Definition: autonumberingdockwidget.h:25
replaceAdvancedDialog::replaceAdvancedDialog
replaceAdvancedDialog(advancedReplaceStruct advanced, QWidget *parent=nullptr)
replaceAdvancedDialog::replaceAdvancedDialog
Definition: replaceadvanceddialog.cpp:29
replaceAdvancedDialog::setAdvancedStruct
void setAdvancedStruct(advancedReplaceStruct advanced)
replaceAdvancedDialog::setAdvancedStruct Set the edited advanced struct
Definition: replaceadvanceddialog.cpp:54
replaceadvanceddialog.h
searchandreplaceworker.h
advancedReplaceStruct
Definition: searchandreplaceworker.h:34
advancedReplaceStruct::replace
QString replace
Definition: searchandreplaceworker.h:43