/*************************************************************************** source::worx raDIYo Copyright © 2020-2022 c.holzheuer chris@sourceworx.org This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ***************************************************************************/ #include #include #include #include #include #include #include #include #include #include /** BUGS: - play pause nicht Rotary synchron - Icon-hint auch für linken rotary? '<-->' wäre konsequent - dazu setup opfern - ein-hand bedienung: Volume per Left-Rotary ? */ int main(int argc, char *argv[] ) { QCoreApplication::setOrganizationName ( raDIYo::OrgName ); QCoreApplication::setOrganizationDomain( raDIYo::DomainName ); QCoreApplication::setApplicationName ( raDIYo::AppName ); QApplication application( argc, argv ); // get the dimension available on this screen QSize availableSize = QGuiApplication::primaryScreen()->availableGeometry().size(); int width = availableSize.width(); int height = availableSize.height(); int xpos = ( width - RaDIYo::SWScreenLargeX ) / 2; int ypos = ( height - RaDIYo::SWScreenLargeY ) / 2; RaDIYo raDIYo; raDIYo.move( xpos, ypos + 40 ); raDIYo.show(); return application.exec(); }