diff --git a/trimsp/src/TrimSPGUI/TrimSPGUI.pl b/trimsp/src/TrimSPGUI/TrimSPGUI.pl
index 93c4c86..007260f 100644
--- a/trimsp/src/TrimSPGUI/TrimSPGUI.pl
+++ b/trimsp/src/TrimSPGUI/TrimSPGUI.pl
@@ -1,6 +1,6 @@
# Form implementation generated from reading ui file 'TrimSPGUI.ui'
#
-# Created: Mon Apr 8 11:03:16 2013
+# Created: Thu May 16 11:49:01 2013
# by: The PerlQt User Interface Compiler (puic)
#
# WARNING! All changes made in this file will be lost!
@@ -1446,7 +1446,9 @@ sub NEW
layerTable->horizontalHeader()->setLabel(layerTable->numCols() - 1, trUtf8("Density [g/cm^3]"));
layerTable->setNumCols(layerTable->numCols() + 1);
layerTable->horizontalHeader()->setLabel(layerTable->numCols() - 1, trUtf8("Thickness [Å]"));
- layerTable->setSizePolicy( Qt::SizePolicy(4, 4, 100, 100, layerTable->sizePolicy()->hasHeightForWidth()) );
+ layerTable->setNumRows(layerTable->numRows() + 1 );
+ layerTable->verticalHeader()->setLabel(layerTable->numRows() - 1, trUtf8("1"));
+ layerTable->setSizePolicy( Qt::SizePolicy(7, 7, 100, 100, layerTable->sizePolicy()->hasHeightForWidth()) );
layerTable->setMinimumSize( Qt::Size(410, 405) );
layerTable->setAcceptDrops( 1 );
layerTable->setResizePolicy( &Qt::Table::AutoOneFit() );
@@ -1900,6 +1902,7 @@ sub languageChange
layerTable->horizontalHeader()->setLabel( 0, trUtf8("Composition") );
layerTable->horizontalHeader()->setLabel( 1, trUtf8("Density [g/cm^3]") );
layerTable->horizontalHeader()->setLabel( 2, trUtf8("Thickness [Å]") );
+ layerTable->verticalHeader()->setLabel( 0, trUtf8("1") );
tabs->changeTab( LayersTab, trUtf8("Layers") );
AddParam->setTitle( trUtf8("Additional parameters") );
textLabelEF->setText( trUtf8("EF") );
@@ -2530,7 +2533,11 @@ sub StartSequenceOne
my $ScanAttrib = child($ScanName);
my $iScan=0;
foreach (@SValues) {
- $ScanAttrib->setText($_);
+ if ($All{"dRadio"}) {
+ $ScanAttrib->setText($All{"ScandL"},2,$_);
+ } else {
+ $ScanAttrib->setText($_);
+ }
if ( $All{"SdzFlag"} == 1) {
if ($All{"ERadio"}==1) {
dz->setText($SdzValues[$iScan]);
diff --git a/trimsp/src/TrimSPGUI/TrimSPGUI.ui b/trimsp/src/TrimSPGUI/TrimSPGUI.ui
index 973a26c..ec62163 100644
--- a/trimsp/src/TrimSPGUI/TrimSPGUI.ui
+++ b/trimsp/src/TrimSPGUI/TrimSPGUI.ui
@@ -676,24 +676,41 @@
Composition
+
+
+
Density [g/cm^3]
+
+
+
Thickness [Å]
+
+
+
+
+
+ 1
+
+
+
+
+
layerTable
- 4
- 4
+ 7
+ 7
100
100
diff --git a/trimsp/src/TrimSPGUI/TrimSPGUI.ui.h b/trimsp/src/TrimSPGUI/TrimSPGUI.ui.h
index 3da09a2..2a5d561 100644
--- a/trimsp/src/TrimSPGUI/TrimSPGUI.ui.h
+++ b/trimsp/src/TrimSPGUI/TrimSPGUI.ui.h
@@ -530,7 +530,11 @@ void TrimSPGUI::StartSequenceOne()
my $ScanAttrib = child($ScanName);
my $iScan=0;
foreach (@SValues) {
- $ScanAttrib->setText($_);
+ if ($All{"dRadio"}) {
+ $ScanAttrib->setText($All{"ScandL"},2,$_);
+ } else {
+ $ScanAttrib->setText($_);
+ }
if ( $All{"SdzFlag"} == 1) {
if ($All{"ERadio"}==1) {
dz->setText($SdzValues[$iScan]);