打印页面 response
更多...
#include <WebInterface.h>
|
QString | file_path {""} |
| 输出的文件路径,不包含后缀,(.pdf 或.png)
|
|
int | page_id {0} |
| sqlite中存储的对应数据的id
|
|
bool | is_success = false |
| 是否成功
|
|
std::optional< int > | uid |
| uid,websocket 的消息request 和 resp 不限制对应关系,uid 保证了他们的联系, 也就是 uid 相同 的 request 和 response 对应 由request端生成
|
|
打印页面 response
- 参见
- RespError
◆ toJsonObject()
static QJsonObject RespPrintPage::toJsonObject |
( |
std::optional< int > | uid, |
|
|
const QString & | file_path, |
|
|
int | page_id ) |
|
inlinestatic |
◆ file_path
QString RespPrintPage::file_path {""} |
输出的文件路径,不包含后缀,(.pdf 或.png)
◆ page_id
int RespPrintPage::page_id {0} |
该结构体的文档由以下文件生成:
- /home/runner/work/WebpagePrinter/WebpagePrinter/src/model/WebInterface.h