From 31611141067d1876a3b1ee2d8bafd64839c476d3 Mon Sep 17 00:00:00 2001 From: Boris Barbulovski Date: Sat, 8 Feb 2014 08:50:39 +0100 Subject: SubsurfaceAbout class cleanup. Main change is that now SubsurfaceAbout doesn't have instance object, but it constructs and destructs dynamically. * Remove the static SubsurfaceAbout::instance() class member * construct/destruct about dialog on demand * Other small aboutbox cleanups. Signed-off-by: Boris Barbulovski ACK-ed-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/about.ui | 93 ++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 58 insertions(+), 35 deletions(-) (limited to 'qt-ui/about.ui') diff --git a/qt-ui/about.ui b/qt-ui/about.ui index 71f0acb0f..0c1735e26 100644 --- a/qt-ui/about.ui +++ b/qt-ui/about.ui @@ -29,22 +29,7 @@ true - - - 20 - - - 30 - - - 30 - - - 30 - - - 20 - + @@ -61,7 +46,7 @@ - + Qt::RichText @@ -75,17 +60,55 @@ - - - Qt::Horizontal - - - QDialogButtonBox::Close - - - true - - + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + &License + + + + + + + &Website + + + + + + + &Close + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + @@ -94,18 +117,18 @@ - buttonBox - rejected() + closeButton + clicked() SubsurfaceAbout - close() + accept() - 227 - 437 + 290 + 411 - 227 - 224 + 340 + 409 -- cgit v1.2.3-70-g09d2