2017-07-21 18:21:34 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
2023-04-06 09:23:37 +02:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2017-07-21 18:21:34 +02:00
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#include "MainWindow.h"
|
|
|
|
|
|
|
|
#include <SkinnyShortcut.h>
|
|
|
|
|
|
|
|
#include <QskFocusIndicator.h>
|
|
|
|
#include <QskObjectCounter.h>
|
|
|
|
|
|
|
|
#include <QGuiApplication>
|
|
|
|
|
|
|
|
int main( int argc, char* argv[] )
|
|
|
|
{
|
|
|
|
#ifdef ITEM_STATISTICS
|
|
|
|
QskObjectCounter counter( true );
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QGuiApplication app( argc, argv );
|
|
|
|
|
|
|
|
SkinnyShortcut::enable( SkinnyShortcut::AllShortcuts );
|
|
|
|
|
2022-11-24 09:08:53 +01:00
|
|
|
auto focusIndicator = new QskFocusIndicator();
|
2017-07-21 18:21:34 +02:00
|
|
|
focusIndicator->setObjectName( "FocusIndicator" );
|
|
|
|
|
|
|
|
MainWindow window;
|
|
|
|
window.resize( 600, 400 );
|
|
|
|
window.addItem( focusIndicator );
|
|
|
|
window.show();
|
|
|
|
|
|
|
|
return app.exec();
|
|
|
|
}
|