From 53d6c4b8bfcb119635b26b78dee0ae4be8490b90 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 22 Apr 2004 16:01:56 +0000 Subject: Fill the screen better on BigScreen --- (limited to 'noncore/apps') diff --git a/noncore/apps/oxygen/calcdlg.ui b/noncore/apps/oxygen/calcdlg.ui index 51bf334..60d312d 100644 --- a/noncore/apps/oxygen/calcdlg.ui +++ b/noncore/apps/oxygen/calcdlg.ui @@ -11,84 +11,67 @@ 0 0 - 237 - 318 + 323 + 380 - - QTabWidget + + caption + CalcDlg + + + layoutMargin + + + layoutSpacing + + - name - TabWidget3 + margin + -1 - geometry - - 0 - 0 - 240 - 320 - + spacing + -1 - - QWidget + + QTabWidget name - tab + TabWidget3 + + + layoutMargin + + + layoutSpacing - - title - Molecular Weight - - QLayoutWidget + QWidget name - Layout6 - - - geometry - - 0 - 0 - 230 - 290 - + tab + + title + Molecular Weight + margin - 0 + -1 spacing - 6 + -1 - QLabel - - name - TextLabel2 - - - text - Chemical Formula - - - - QLineEdit - - name - formula - - - QLayoutWidget name - Layout3 + Layout6 - + margin 0 @@ -98,72 +81,107 @@ 6 - QPushButton + QLabel name - calculate + TextLabel2 text - Calculate + Chemical Formula + + + + QLineEdit + + name + formula - QPushButton + QLayoutWidget name - clear_fields + Layout3 + + + + margin + 0 + + + spacing + 6 + + + QPushButton + + name + calculate + + + text + Calculate + + + + QPushButton + + name + clear_fields + + + text + Clear + + + + + + QLabel + + name + TextLabel3 text - Clear + Molecular Weight (u): - - - - QLabel - - name - TextLabel3 - - - text - Molecular Weight (u): - - - - QLineEdit - - name - result - - - - QLabel - - name - TextLabel1 - - - text - Elemental Composition (%): - - - - QMultiLineEdit - - name - anal_display - - - readOnly - true - + + QLineEdit + + name + result + + + + QLabel + + name + TextLabel1 + + + text + Elemental Composition (%): + + + + QMultiLineEdit + + name + anal_display + + + readOnly + true + + + - + diff --git a/noncore/apps/oxygen/dataTable.cpp b/noncore/apps/oxygen/dataTable.cpp index 48e2b20..798230a 100644 --- a/noncore/apps/oxygen/dataTable.cpp +++ b/noncore/apps/oxygen/dataTable.cpp @@ -97,6 +97,8 @@ void OxydataWidget::setLayout() OxydataTable::OxydataTable(int numRows, int numCols, QWidget *parent, const char *name) : QTable(numRows, numCols,parent, name) { + setColumnStretchable( 0, true ); + setColumnStretchable( 1, true ); for (int zeile = 0; zeile < numRows; zeile++) for ( int spalte = 0; spalte < numCols; spalte++ ) -- cgit v0.9.0.2