examples/widgets/windowflags/controllerwindow.cpp
changeset 7 f7bc934e204c
parent 0 1918ee327afb
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the examples of the Qt Toolkit.
     7 ** This file is part of the examples of the Qt Toolkit.
     8 **
     8 **
    56 
    56 
    57     QHBoxLayout *bottomLayout = new QHBoxLayout;
    57     QHBoxLayout *bottomLayout = new QHBoxLayout;
    58     bottomLayout->addStretch();
    58     bottomLayout->addStretch();
    59     bottomLayout->addWidget(quitButton);
    59     bottomLayout->addWidget(quitButton);
    60 
    60 
    61     QVBoxLayout *mainLayout = new QVBoxLayout;
    61     QHBoxLayout *mainLayout = new QHBoxLayout;
    62     mainLayout->addWidget(typeGroupBox);
    62     mainLayout->addWidget(typeGroupBox);
    63     mainLayout->addWidget(hintsGroupBox);
    63     mainLayout->addWidget(hintsGroupBox);
    64     mainLayout->addLayout(bottomLayout);
    64     mainLayout->addLayout(bottomLayout);
    65     setLayout(mainLayout);
    65     setLayout(mainLayout);
    66 
    66