43 lines
1.0 KiB
C++
Raw Normal View History

2017-07-21 18:21:34 +02:00
/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* This file may be used under the terms of the 3-clause BSD License
*****************************************************************************/
#include "MainWindow.h"
#include <SkinnyShortcut.h>
2021-12-23 18:36:32 +01:00
#ifdef CONTEXT_MENU
#include <SkinnyShapeProvider.h>
#endif
2017-07-21 18:21:34 +02:00
#include <QskFocusIndicator.h>
#include <QskObjectCounter.h>
#include <QGuiApplication>
int main( int argc, char* argv[] )
{
#ifdef ITEM_STATISTICS
QskObjectCounter counter( true );
#endif
2021-12-23 18:36:32 +01:00
#ifdef CONTEXT_MENU
Qsk::addGraphicProvider( "shapes", new SkinnyShapeProvider() );
#endif
2017-07-21 18:21:34 +02:00
QGuiApplication app( argc, argv );
SkinnyShortcut::enable( SkinnyShortcut::AllShortcuts );
QskFocusIndicator* focusIndicator = new QskFocusIndicator();
focusIndicator->setObjectName( "FocusIndicator" );
MainWindow window;
window.resize( 600, 400 );
window.addItem( focusIndicator );
window.show();
return app.exec();
}