[qet] [4427] Add QScrollArea to AboutQET Widget |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4427
Author: scorpio810
Date: 2016-04-07 03:24:54 +0200 (Thu, 07 Apr 2016)
Log Message:
-----------
Add QScrollArea to AboutQET Widget
Modified Paths:
--------------
trunk/sources/aboutqet.cpp
Modified: trunk/sources/aboutqet.cpp
===================================================================
--- trunk/sources/aboutqet.cpp 2016-04-05 19:12:42 UTC (rev 4426)
+++ trunk/sources/aboutqet.cpp 2016-04-07 01:24:54 UTC (rev 4427)
@@ -24,6 +24,7 @@
#include <QVBoxLayout>
#include <QLabel>
#include <QTextEdit>
+#include <QScrollArea>
/**
Constructeur
@@ -33,7 +34,7 @@
// Titre, taille, comportement...
setWindowTitle(tr("À propos de QElectrotech", "window title"));
setMinimumWidth(680);
- setMinimumHeight(920);
+ setMinimumHeight(600);
setModal(true);
// Trois onglets
@@ -55,6 +56,13 @@
vlayout -> addWidget(tabs);
vlayout -> addWidget(buttons);
setLayout(vlayout);
+
+ QScrollArea* scrollArea = new QScrollArea(this);
+ scrollArea->setWidgetResizable(true);
+ scrollArea->setFixedSize (690, 610);
+ scrollArea->setWidget(tabs);
+
+
}
/**