* ./crlcore:
- Change: In PaletteWidget, uses "goMatched" to hide DrawingStyle that are not associated to a Go to hide/show. That is, are only pure color useds by ExtensionGo.
This commit is contained in:
parent
85b246eb16
commit
c824b088be
|
@ -41,7 +41,7 @@
|
|||
<drawingstyle name="text.instance" color="0,0,0" border="1" threshold="4.0"/>
|
||||
<drawingstyle name="text.reference" color="255,255,255" border="1" threshold="20.0"/>
|
||||
<drawingstyle name="undef" color="238,130,238" border="0" pattern="2244118822441188"/>
|
||||
<drawingstyle name="mauka.container" color="139,0,139" border="4" pattern="0000000000000000"/>
|
||||
<drawingstyle name="mauka.container" color="139,0,139" border="4" pattern="0000000000000000" goMatched="false"/>
|
||||
</group>
|
||||
<group name="Active Layers">
|
||||
<drawingstyle name="nWell" color="210,180,140" pattern="55AA55AA55AA55AA" threshold="1.50"/>
|
||||
|
|
|
@ -68,6 +68,7 @@ namespace CRL {
|
|||
int border = 0;
|
||||
float threshold = 1.0;
|
||||
Name drawingStyleName = "unnamed";
|
||||
bool goMatched = true;
|
||||
QString value;
|
||||
|
||||
value = _reader->attributes().value("name").toString();
|
||||
|
@ -100,6 +101,10 @@ namespace CRL {
|
|||
if ( !value.isEmpty() )
|
||||
threshold = value.toFloat ();
|
||||
|
||||
value = _reader->attributes().value("goMatched").toString().toLower();
|
||||
if ( value == "true" ) goMatched = true;
|
||||
else if ( value == "false" ) goMatched = false;
|
||||
|
||||
_displayStyle->addDrawingStyle ( _drawingGroupName
|
||||
, drawingStyleName
|
||||
, pattern
|
||||
|
@ -108,6 +113,7 @@ namespace CRL {
|
|||
, blue
|
||||
, border
|
||||
, threshold
|
||||
, goMatched
|
||||
);
|
||||
|
||||
parseNoChilds ();
|
||||
|
|
Loading…
Reference in New Issue