2021-01-31 00:37:17 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class lcFindReplaceWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
lcFindReplaceWidget(QWidget* Parent, lcModel* Model, bool Replace);
|
2021-01-31 21:05:15 +01:00
|
|
|
|
|
|
|
protected slots:
|
2021-02-01 02:32:38 +01:00
|
|
|
void FindColorIndexChanged(int ColorIndex);
|
2021-01-31 21:05:15 +01:00
|
|
|
void FindTextEdited(const QString& Text);
|
2021-02-01 02:32:38 +01:00
|
|
|
void FindActivated(int Index);
|
2021-02-01 02:49:22 +01:00
|
|
|
void ReplaceColorIndexChanged(int ColorIndex);
|
|
|
|
void ReplaceActivated(int Index);
|
2021-01-31 21:05:15 +01:00
|
|
|
|
|
|
|
protected:
|
|
|
|
QComboBox* mFindPartComboBox = nullptr;
|
2021-02-01 02:49:22 +01:00
|
|
|
QComboBox* mReplacePartComboBox = nullptr;
|
2021-01-31 00:37:17 +01:00
|
|
|
};
|