change:格式化xml单元设定一个窗口,可以选择性格式化哪些具体内容。

This commit is contained in:
2024-09-15 15:08:32 +08:00
parent 0f65ef220a
commit 693a371e0d
8 changed files with 376 additions and 17 deletions

32
form/qformatset.h Normal file
View File

@@ -0,0 +1,32 @@
#ifndef QFORMATSET_H
#define QFORMATSET_H
#include <QDialog>
#include <string>
namespace Ui {
class QFormatSet;
}
class QFormatSet : public QDialog
{
Q_OBJECT
public:
explicit QFormatSet(QWidget *parent = nullptr);
~QFormatSet();
private:
void handle();
void check_select();
private:
Ui::QFormatSet *ui;
public:
std::vector<std::string> values_{};
std::string xml_path_{};
bool isok_{false};
};
#endif // QFORMATSET_H