You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Color can not be set on a group. Each internal symbol in a group has to be selected to recolor.
This makes recoloring groups very time consuming. Groups are super useful.
To make the tool work the code in cell.cpp needs to check if item is grouped then iterate over children.
Code is here:
void Cell::setBgColor(QColor c)
{
if (mBgColor != c) {
QString old = "";
if (mBgColor.isValid())
old = mBgColor.name();
mBgColor = c;
emit colorChanged(old, c.name());
update();
}
}
void Cell::setColor(QColor c)
{
if(mColor != c) {
QString old = "";
if(mColor.isValid())
old = mColor.name();
mColor = c;
QSvgRenderer *r = stitch()->renderSvg(c);
if(r)
setSharedRenderer(r);
emit colorChanged(old, c.name());
update();
}
}
Check is bool Cell::isGrouped()
The text was updated successfully, but these errors were encountered:
Color can not be set on a group. Each internal symbol in a group has to be selected to recolor.
This makes recoloring groups very time consuming. Groups are super useful.
To make the tool work the code in
cell.cpp
needs to check if item is grouped then iterate over children.Code is here:
Check is
bool Cell::isGrouped()
The text was updated successfully, but these errors were encountered: