</message>
<message>
<source>SAVE_DEFAULT_CHK</source>
- <translation>Save as default values</translation>
+ <translation>Save as default</translation>
</message>
<message>
<source>SCALAR_RANGE_GRP</source>
</message>
<message>
<source>LBL_SHOW_PREVIEW</source>
- <translation>Show preview</translation>
+ <translation>Preview</translation>
</message>
<message>
<source>SHOW_DISTRIBUTION</source>
</message>
<message>
<source>SAVE_DEFAULT_CHK</source>
- <translation>Save as default values</translation>
+ <translation>Save as default</translation>
</message>
<message>
<source>SCALAR_RANGE_GRP</source>
// Save check box ===========================================================
QWidget* aSaveBox = new QWidget(this);
aMainLayout->addWidget( aSaveBox );
- QVBoxLayout* aVBLay = new QVBoxLayout( aSaveBox );
- if (!thePreview) {
- CBSave = new QCheckBox (tr("SAVE_DEFAULT_CHK"), aSaveBox);
- aVBLay->addWidget( CBSave );
- }
- else {
- CBSave = 0;
- }
+ QHBoxLayout* aVBLay = new QHBoxLayout( aSaveBox );
aVBLay->addWidget( myTextBtn = new QPushButton("Text properties...", aSaveBox) );
aVBLay->addWidget( myBarBtn = new QPushButton("Bar properties...", aSaveBox) );
QGroupBox* CheckGroup = new QGroupBox("", this );
aMainLayout->addWidget( CheckGroup );
- QGridLayout* CheckGroupLayout = new QGridLayout( CheckGroup );
+ QHBoxLayout* CheckGroupLayout = new QHBoxLayout( CheckGroup );
myPreviewCheck = new QCheckBox(tr("LBL_SHOW_PREVIEW"), CheckGroup);
myPreviewCheck->setChecked(false);
+ //myPreviewCheck->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
+ CheckGroupLayout->addWidget(myPreviewCheck);
// RKV : Begin
- myPreviewCheck->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
CBDistr = new QCheckBox (tr("SHOW_DISTRIBUTION"), CheckGroup);
- CBDistr->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
+ //CBDistr->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
+ CheckGroupLayout->addWidget(CBDistr);
// RKV : End
-
- CheckGroupLayout->addWidget(myPreviewCheck , 0, 0 );
- CheckGroupLayout->addWidget(CBDistr , 0, 2 ); // RKV
-
- if ( thePreview ) {
+ if (!thePreview) {
+ CBSave = new QCheckBox (tr("SAVE_DEFAULT_CHK"), CheckGroup);
+ CheckGroupLayout->addWidget( CBSave );
+ }
+ else {
+ CBSave = 0;
myPreviewCheck->hide();
CheckGroup->hide();
}