From 0aacdefade0af3278cf75eafdb51a1016ec48948 Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Sun, 7 Jun 2015 13:38:50 +0200 Subject: [PATCH] UI restyling Try to use up less space, in case users have smaller screens. --- relational_gui/maingui.ui | 1228 +++++++++++++++---------------------- 1 file changed, 507 insertions(+), 721 deletions(-) diff --git a/relational_gui/maingui.ui b/relational_gui/maingui.ui index d40a7d5..bc93e20 100644 --- a/relational_gui/maingui.ui +++ b/relational_gui/maingui.ui @@ -8,532 +8,529 @@ 0 0 800 - 669 + 671 Relational - + - - - Qt::Horizontal - - - - - - - Menu - - - - - - About - - - - - - - Survey - - - - - - - - - - - - - true - - - - - - Product - - - * - - - - - - - Difference - - - - - - - - - - - Union - - - - - - - - - - Intersection - - - - - - - - - - Division - - - ÷ - - - - - - - Natural join - - - - - - - - - - Left outer join - - - - - - - - - - Right outer join - - - - - - - - - - Full outer join - - - - - - - - - - Projection - - - π - - - - - - - Selection - - - σ - - - - - - - Rename - - - ρ - - - - - - - - - - - - - - Qt::Vertical - - - - 20 - 25 - - - - - - - - - - - - Qt::Horizontal - - - - Qt::Vertical + + + + + Menu - - - - 450 - 400 - - - - - 0 - 0 - - - - false - - - - Empty relation - - - - - - - QLayout::SetMinimumSize - - - - - QFrame::NoFrame - - - QFrame::Plain - - - 0 - - - - - - - 0 - 0 - - - - - 16777215 - 16777215 - - - - - 0 - 0 - - - - - - - - - - Optimize - - - - - - - Undo optimize - - - - - - - Clear history - - - - - - - - - - - - QFrame::NoFrame - - - QFrame::Plain - - - 0 - - - - - - - DejaVu Sans - 11 - 50 - false - false - false - false - true - - - - - - - - - - - - - - - - - - - - Execute - - - false - - - false - - - - - - - - - - + + + + + About + + + + + + + Survey + + + + - - - Qt::Vertical - - - - - 0 - 0 - - - - - 300 - 16777215 - - - - Relations - - - - - - - 0 - 0 - - - - - 16777215 - 16777215 - - - - true - - - - - - - New relation - - - - - - - Load relation - - - - - - - Save relation - - - - - - - Edit relation - - - - - - - Unload relation - - - - - - - - - 0 - 0 - - - - - 300 - 16777215 - - - - Attributes - - - - - - - 0 - 0 - - - - - 16777215 - 16777215 - - - - - - + + + + + + + + Product + + + * + + + + + + + Difference + + + - + + + + + + + Union + + + + + + + + + + Intersection + + + + + + + + + + Division + + + ÷ + + + + + + + Natural join + + + + + + + + + + Left outer join + + + + + + + + + + Right outer join + + + + + + + + + + Full outer join + + + + + + + + + + Projection + + + π + + + + + + + Selection + + + σ + + + + + + + Rename + + + ρ + + + + + + + + + + + + + + Qt::Vertical + + + + 20 + 25 + + + + + - - + + - - - QFrame::NoFrame - - - QFrame::Plain - - - 0 - - - - - - - 0 - 0 - - - - _last1 + + + + + Qt::Horizontal + + + + Qt::Vertical + + + + 450 + 400 + + + + + 0 + 0 + + + + false + + + + Empty relation + + + + + + + QLayout::SetMinimumSize + + + + + QFrame::NoFrame + + + QFrame::Plain + + + 0 + + + + + + + 0 + 0 + + + + + 16777215 + 16777215 + + + + + 0 + 0 + + + + + + + + + + Optimize + + + + + + + Undo optimize + + + + + + + Clear history + + + + + + + + + + + + QFrame::NoFrame + + + QFrame::Plain + + + 0 + + + + + + + DejaVu Sans + 11 + 50 + false + false + false + false + true + + + + + + + + + + + + + + + + + + + + Execute + + + false + + + false + + + + + + + + + + - - - - - = - - - txtQuery + + + Qt::Vertical + + + + 0 + 0 + + + + + 300 + 16777215 + + + + Relations + + + + + + + 0 + 0 + + + + + 16777215 + 16777215 + + + + true + + + + + + + + + Edit + + + + + + + Load + + + + + + + Save + + + + + + + New + + + + + + + Unload + + + + + + + + + + + 0 + 0 + + + + + 300 + 16777215 + + + + Attributes + + + + + + + 0 + 0 + + + + + 16777215 + 16777215 + + + + + + - - - - - - - - - - - - - - - Execute - - - true - - - true - - - - - + + + + + + QFrame::NoFrame + + + QFrame::Plain + + + 0 + + + + + + + 0 + 0 + + + + _last1 + + + + + + + = + + + txtQuery + + + + + + + + + + + + + + + + + Execute + + + true + + + true + + + + + + + @@ -698,9 +695,6 @@ cmdClearMultilineQuery cmdExecuteMultiline lstRelations - cmdNew - cmdLoad - cmdSave cmdEdit cmdUnload lstAttributes @@ -743,102 +737,6 @@ - - cmdProduct - clicked() - MainWindow - addProduct() - - - 53 - 166 - - - 180 - 611 - - - - - cmdDifference - clicked() - MainWindow - addDifference() - - - 94 - 193 - - - 46 - 611 - - - - - cmdArrow - clicked() - MainWindow - addArrow() - - - 101 - 538 - - - 58 - 608 - - - - - cmdRename - clicked() - MainWindow - addRename() - - - 69 - 507 - - - 111 - 611 - - - - - cmdSelection - clicked() - MainWindow - addSelection() - - - 99 - 476 - - - 16 - 611 - - - - - cmdProjection - clicked() - MainWindow - addProjection() - - - 101 - 445 - - - 91 - 597 - - - cmdUnload clicked() @@ -887,118 +785,6 @@ - - cmdOuterRight - clicked() - MainWindow - addORight() - - - 101 - 383 - - - 58 - 611 - - - - - cmdOuter - clicked() - MainWindow - addOuter() - - - 61 - 414 - - - 86 - 611 - - - - - cmdOuterLeft - clicked() - MainWindow - addOLeft() - - - 44 - 328 - - - 66 - 611 - - - - - cmdJoin - clicked() - MainWindow - addJoin() - - - 101 - 321 - - - 147 - 611 - - - - - cmdDivision - clicked() - MainWindow - addDivision() - - - 71 - 272 - - - 185 - 611 - - - - - cmdIntersection - clicked() - MainWindow - addIntersection() - - - 99 - 244 - - - 228 - 611 - - - - - cmdUnion - clicked() - MainWindow - addUnion() - - - 32 - 220 - - - 279 - 611 - - - lstRelations itemDoubleClicked(QListWidgetItem*)