56 EXPECT_EQ(item.
colorName(), std::string(
"#66cdaa"));
Custom property to define list of string values with multiple selections.
Represents basics settings of QPen.
static const std::string P_STYLE
static const std::string P_COLOR
static const std::string P_WIDTH
void setSelected(bool is_selected)
Sets style of the pen to represent selected object (dash line).
std::string colorName() const
Returns color name in #RRGGBB format.
void setNamedColor(const std::string &named_color)
Sets named color following schema from https://www.w3.org/TR/css-color-3/#svg-color.
T property(const std::string &tag) const
Returns data stored in property item.
Testing PlottableItemsTest.
materialitems.h Collection of materials to populate MaterialModel.
TEST_F(PlottableItemsTest, penItem_initialState)
Initial state.