func:基本添加复制功能,无GUI。
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "public_def.h"
|
||||
#include <QMessageBox>
|
||||
|
||||
std::vector<std::string> splitString(const std::string& input, const std::string& delimiter) {
|
||||
std::vector<std::string> tokens;
|
||||
@@ -15,4 +16,9 @@ std::vector<std::string> splitString(const std::string& input, const std::string
|
||||
tokens.push_back(backup);
|
||||
|
||||
return tokens;
|
||||
}
|
||||
}
|
||||
|
||||
void CUtil::msg(QWidget* parent, const QString& content)
|
||||
{
|
||||
QMessageBox::information(parent, u8"提示", content);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user