Hello,

The color of the frames around the render windows is controlled by data node 
properties. Each render window has an associated Gemotry2DData object, which is 
kept inside a DataNode. When you set the color property of this node, the 
colored frame around the window (and also around the planes in the 3D window) 
should change.

The colors are initialized in QmitkStdMultiWidget::InitializeWidget() (lines 
197ff in current SVN checkout).


Regards,
Mathias


--
Dr. Mathias Seitel

German Cancer Research Center (Deutsches Krebsforschungszentrum) Member of the 
Helmholtz Association Div. Medical and Biological Informatics E130

Im Neuenheimer Feld 280
D-69120 Heidelberg

Phone: +49-(0)6221-42-2328
Fax: +49-(0)6221-42-2345
E-Mail: [email protected]<mailto:[email protected]>
Web: www.dkfz.de<http://www.dkfz.de>

Confidentiality Note: This message is intended only for the use of the named 
recipient(s) and may obtain confidential and/or privileged information. If you 
are not the intended recipient, please contact the sender and delete the 
message. Any unauthorized use of the information contained in this message is 
prohibited.

Von: [email protected] 
[mailto:[email protected]]
Gesendet: Donnerstag, 23. September 2010 12:53
An: Kelm, Michael
Cc: [email protected]
Betreff: Re: [mitk-users] Color frame around render window

Hi Michael,

I don't know how to change the colors, but to disable them use 
multiWidget->DisableColoredRectangles()

Regards,
Claudia

Zitat von "Kelm, Michael" 
<[email protected]<mailto:[email protected]>>:

> Hi,
>
> Each of the 4 render windows in the QmitkStdMultiwidget has a frame
> of a different color. I could not find the place in the code (version
> 0.12.2) where this color frame is drawn. How can a change the color
> or prevent the colored frame to be drawn?
>
> Thank you,
> Michael.
>
> Siemens AG
> Corporate Technology
> Corporate Research and Technologies
> CT T DE TC4
> Günther-Scharowsky-Str. 1
> 91058 Erlangen, Deutschland
> Tel.: +49 (9131) 7-34627
> Fax: +49 (9131) 7-33190
> Mobil: +49 (173) 6974642
> mailto:[email protected]
>
> Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard
> Cromme; Vorstand: Peter Löscher, Vorsitzender; Wolfgang Dehen,
> Brigitte Ederer, Heinrich Hiesinger, Joe Kaeser, Barbara Kux, Hermann
> Requardt, Siegfried Russwurm, Peter Y. Solmssen; Sitz der
> Gesellschaft: Berlin und München, Deutschland; Registergericht:
> Berlin Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE
> 23691322
>
>
>
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to