What a menu row is, when the delegate is asked how big it should be.
More...
#include <widget_metrics.hpp>
|
| std::string | text |
| bool | separator = false |
| bool | header = false |
| bool | ticked = false |
| bool | has_submenu = false |
| float | standard_height = 0.0f |
| | The height the widget would use if the delegate declines — passed so a delegate can honor a caller-requested row height instead of forcing its own.
|
What a menu row is, when the delegate is asked how big it should be.
◆ has_submenu
| bool pulp::view::MenuItemMetricsQuery::has_submenu = false |
◆ header
| bool pulp::view::MenuItemMetricsQuery::header = false |
◆ separator
| bool pulp::view::MenuItemMetricsQuery::separator = false |
◆ standard_height
| float pulp::view::MenuItemMetricsQuery::standard_height = 0.0f |
The height the widget would use if the delegate declines — passed so a delegate can honor a caller-requested row height instead of forcing its own.
◆ text
| std::string pulp::view::MenuItemMetricsQuery::text |
◆ ticked
| bool pulp::view::MenuItemMetricsQuery::ticked = false |
The documentation for this struct was generated from the following file: