change:格式化xml单元设定一个窗口,可以选择性格式化哪些具体内容。
This commit is contained in:
32
form/qformatset.h
Normal file
32
form/qformatset.h
Normal 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
|
||||
Reference in New Issue
Block a user