Anonim / 7 years, 8 months ago | Download | Plaintext | Odpowiedz |

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#include <QtGui>

using namespace std;

int main (int argc, char *argv[])
{
    QApplication app(argc, argv);
    QWidget window;
    window.resize(320, 240);
    window.show();
    window.setWindowTitle(QApplication::translate("problem", "Problem?"));
    QHBoxLayout *layout1 = new QHBoxLayout(&window);
    QLabel *label = new QLabel(QApplication::translate("label", "Problem, officer?"), &window);
    layout1->addWidget(label);
    window.setLayout(layout1);
    return app.exec();
}