/****************************************************************************** * QSkinny - Copyright (C) 2016 Uwe Rathmann * SPDX-License-Identifier: BSD-3-Clause *****************************************************************************/ #include #ifdef ITEM_STATISTICS #include #endif #include #include #include #include "ListBox.h" #include "TreeBox.h" int main( int argc, char* argv[] ) { #ifdef ITEM_STATISTICS QskObjectCounter counter( true ); #endif QGuiApplication app( argc, argv ); SkinnyShortcut::enable( SkinnyShortcut::AllShortcuts ); QskWindow window; window.setColor( "Silver" ); auto* const layout = new QskLinearBox(Qt::Horizontal); layout->setSpacing(8); (void) new ListBox(layout); (void) new TreeBox(layout); window.addItem( layout ); window.resize( 400, 600 ); window.show(); return app.exec(); }