|
WebpagePrinterTool 2.0
Print a web page skip the browser's print preview
|
#include <QString>#include <array>#include <cstddef>#include <string_view>

类 | |
| struct | ConstexprTableStr< N > |
| struct | PrinterConfigToTable |
函数 | |
| template<size_t N> | |
| consteval auto | getCreateTableStrSize (const std::array< PrinterConfigToTable, N > &arr) |
| template<size_t N> | |
| consteval auto | getUpdateTableStrSize (const std::array< PrinterConfigToTable, N > &arr) |
| template<size_t N> | |
| consteval auto | getSelectTableStrSize (const std::array< PrinterConfigToTable, N > &arr) |
| consteval auto | creatStrPageClass () |
| consteval auto | updateStrPageClass () |
| consteval auto | selectStrPageClass () |
| consteval auto | creatStrConfigClass () |
| consteval auto | updateStrConfigClass () |
| consteval auto | selectStrConfigClass () |
| template<size_t N> | |
| consteval auto | getCreateTableStr (const std::array< PrinterConfigToTable, N > &arr, auto dat) |
| consteval auto | getUpdateTableStr (auto arr, auto dat) |
| consteval auto | getSelectTableStr (auto arr, auto dat) |
变量 | |
| constexpr auto | printer_config_table_helper |
| constexpr auto | printed_page_table_helper |
| constexpr auto | tables_name = std::to_array({"printed_page", "printer_config"}) |
| constexpr std::string_view | page_head_str = "CREATE TABLE \"printed_page\" (\n" |
| constexpr std::string_view | config_head_str = "CREATE TABLE \"printer_config\" (\n" |
| constexpr std::string_view | tail_str = "PRIMARY KEY(\"id\" AUTOINCREMENT)\n)" |
| constexpr auto | create_page_table_str |
| constexpr auto | update_page_table_str |
| only for QString, only fields, No Update etc. | |
| constexpr auto | select_page_table_str |
| only fields, No Select etc. | |
| constexpr auto | create_config_table_str |
| constexpr auto | update_config_table_str |
| only for QString, only fields, No Update etc. | |
| constexpr auto | select_config_table_str |
| only fields, No Select etc. | |
|
consteval |
|
consteval |
|
consteval |
|
consteval |
|
consteval |
|
consteval |
|
consteval |
|
consteval |
|
consteval |
|
consteval |
|
consteval |
|
consteval |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
only fields, No Select etc.
|
constexpr |
only fields, No Select etc.
|
constexpr |
|
constexpr |
|
constexpr |
only for QString, only fields, No Update etc.
|
constexpr |
only for QString, only fields, No Update etc.