freeGradientLayout

Previous topic - Next topic

cskasler

Hi,

my Problem is, that i have a too big layout, and i need to change the min/max value of the gradient vector.

Where can i change this on mac?


GradientVectorDialog::GradientVectorDialog(QWidget* parent) : ScrPaletteBase( parent, "GradientVectorPalette", false, 0 )
   61 {
   62     freeGradientLayout = new QGridLayout(this);
   63     freeGradientLayout->setMargin(5);
   64     freeGradientLayout->setSpacing(5);
   65     GTextX1 = new QLabel("X1:", this );
   66     freeGradientLayout->addWidget( GTextX1, 0, 0 );
   67     GTextY1 = new QLabel("Y1:", this );
   68     freeGradientLayout->addWidget( GTextY1, 1, 0 );
   69     gX1 = new ScrSpinBox( -3000, 3000, this, 0);
   70     freeGradientLayout->addWidget( gX1, 0, 1 );
   71     gY1 = new ScrSpinBox( -3000, 3000, this, 0);
   72     freeGradientLayout->addWidget( gY1, 1, 1 );
   73     GTextX2 = new QLabel("X2:", this );
   74     freeGradientLayout->addWidget( GTextX2, 0, 2 );
   75     GTextY2 = new QLabel("Y2:", this );
   76     freeGradientLayout->addWidget( GTextY2, 1, 2 );
   77     gX2 = new ScrSpinBox( -3000, 3000, this, 0);
   78     freeGradientLayout->addWidget( gX2, 0, 3 );
   79     gY2 = new ScrSpinBox( -3000, 3000, this, 0);
   80     freeGradientLayout->addWidget( gY2, 1, 3 );
   81     connect(gX1, SIGNAL(valueChanged(double)), this, SLOT(changeSpecial()));
   82     connect(gX2, SIGNAL(valueChanged(double)), this, SLOT(changeSpecial()));
   83     connect(gY1, SIGNAL(valueChanged(double)), this, SLOT(changeSpecial()));
   84     connect(gY2, SIGNAL(valueChanged(double)), this, SLOT(changeSpecial()));
   85     languageChange();
   86 }


is it enough to change these values?

Kind regards,
Csaba Kasler