mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
About qet : use QTabWidget instead of QETTabWidget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3808 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -15,12 +15,16 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include <QtWidgets>
|
|
||||||
#include "qettabwidget.h"
|
|
||||||
#include "aboutqet.h"
|
#include "aboutqet.h"
|
||||||
#include "qet.h"
|
#include "qet.h"
|
||||||
#include "qeticons.h"
|
#include "qeticons.h"
|
||||||
|
|
||||||
|
#include <QTabWidget>
|
||||||
|
#include <QDialogButtonBox>
|
||||||
|
#include <QVBoxLayout>
|
||||||
|
#include <QLabel>
|
||||||
|
#include <QTextEdit>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructeur
|
Constructeur
|
||||||
@param parent The parent of the dialog QWidget
|
@param parent The parent of the dialog QWidget
|
||||||
@@ -33,7 +37,7 @@ AboutQET::AboutQET(QWidget *parent) : QDialog(parent) {
|
|||||||
setModal(true);
|
setModal(true);
|
||||||
|
|
||||||
// Trois onglets
|
// Trois onglets
|
||||||
QETTabWidget *tabs = new QETTabWidget(this);
|
QTabWidget *tabs = new QTabWidget(this);
|
||||||
tabs -> addTab(aboutTab(), tr("À &propos", "tab title"));
|
tabs -> addTab(aboutTab(), tr("À &propos", "tab title"));
|
||||||
tabs -> addTab(authorsTab(), tr("A&uteurs", "tab title"));
|
tabs -> addTab(authorsTab(), tr("A&uteurs", "tab title"));
|
||||||
tabs -> addTab(translatorsTab(), tr("&Traducteurs", "tab title"));
|
tabs -> addTab(translatorsTab(), tr("&Traducteurs", "tab title"));
|
||||||
|
|||||||
Reference in New Issue
Block a user