Author Topic: PJSR text feedback control?  (Read 3973 times)

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
PJSR text feedback control?
« on: 2014 December 11 11:00:25 »
In the HistogramTransformation dialog, there are controls to the right of Shadows and Highlights that provides text feedback, in sunken style and not editable. Is there a PJSR equivalent? I tried Label with frame .style set to FrameStyle_Sunken, but style remains flat.

Mike

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PJSR text feedback control?
« Reply #1 on: 2014 December 15 02:40:11 »
Predefined frame styles are deprecated in the latest versions of PCL and PJSR. You can get the visual effect of a sunken frame and much more with Qt style sheets. Try this:

   this.sunken_Label.styleSheet =
        "QLabel {"
      +    "border-top: 1px solid gray;"
      +    "border-left: 1px solid gray;"
      +    "border-bottom: 1px solid white;"
      +    "border-right: 1px solid white;"
      + "}";
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: PJSR text feedback control?
« Reply #2 on: 2014 December 15 14:25:01 »
Thanks Juan, this and the Math/Vector.statistics are working well.

Mike