TerminalWidgetStateData
TerminalWidgetStateData
Serializable state data for TerminalWidget. More…
#include <TerminalWidgetStateData.hpp>
Public Attributes
| Name | |
|---|---|
| std::string | instance_id Unique instance ID (preserved across serialization). |
| std::string | display_name User-visible name. |
| bool | auto_scroll Auto-scroll to bottom when new output arrives. |
| bool | show_timestamps Show timestamps for each line. |
| bool | word_wrap Enable word wrapping. |
| int | max_lines Maximum number of lines to keep in buffer. |
| int | font_size Font size in points (range: 8 to 24). |
| std::string | font_family Font family name. |
| std::string | background_color Background color (hex). |
| std::string | text_color Normal text color (hex). |
| std::string | error_color Error text color (hex). |
| std::string | system_color System message color (hex). |
Detailed Description
struct TerminalWidgetStateData;Serializable state data for TerminalWidget.
All members are designed for reflect-cpp serialization. No Qt types are used to ensure clean JSON output.
Public Attributes Documentation
variable instance_id
std::string instance_id;Unique instance ID (preserved across serialization).
variable display_name
std::string display_name = "Terminal";User-visible name.
variable auto_scroll
bool auto_scroll = true;Auto-scroll to bottom when new output arrives.
variable show_timestamps
bool show_timestamps = true;Show timestamps for each line.
variable word_wrap
bool word_wrap = true;Enable word wrapping.
variable max_lines
int max_lines = 10000;Maximum number of lines to keep in buffer.
variable font_size
int font_size = 10;Font size in points (range: 8 to 24).
variable font_family
std::string font_family = "Consolas";Font family name.
variable background_color
std::string background_color = "#000000";Background color (hex).
variable text_color
std::string text_color = "#FFFFFF";Normal text color (hex).
variable error_color
std::string error_color = "#FF6B6B";Error text color (hex).
variable system_color
std::string system_color = "#FFAA00";System message color (hex).
Updated on 2026-11-13 at 20:25:39 +0000