2022-05-10 10:06:48 +00:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
#include "spreadsheet.h"
|
|
|
|
|
2012-11-22 12:40:51 +00:00
|
|
|
#include <QApplication>
|
2011-12-22 18:33:28 +00:00
|
|
|
#include <QLayout>
|
2012-11-22 12:40:51 +00:00
|
|
|
|
2018-11-13 19:43:58 +00:00
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
2011-04-27 10:05:43 +00:00
|
|
|
Q_INIT_RESOURCE(spreadsheet);
|
2020-02-12 15:27:36 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
QApplication app(argc, argv);
|
|
|
|
SpreadSheet sheet(10, 6);
|
|
|
|
sheet.setWindowIcon(QPixmap(":/images/interview.png"));
|
|
|
|
sheet.show();
|
2011-12-22 18:33:28 +00:00
|
|
|
sheet.layout()->setSizeConstraint(QLayout::SetFixedSize);
|
2011-04-27 10:05:43 +00:00
|
|
|
return app.exec();
|
|
|
|
}
|
|
|
|
|
|
|
|
|