Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.2KB

  1. /*
  2. * Carla Tests
  3. * Copyright (C) 2013 Filipe Coelho <falktx@falktx.com>
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License as
  7. * published by the Free Software Foundation; either version 2 of
  8. * the License, or any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * For a full copy of the GNU General Public License see the GPL.txt file
  16. */
  17. #include "CarlaStyle.hpp"
  18. #include "digitalpeakmeter.hpp"
  19. #include "ledbutton.hpp"
  20. #include "paramspinbox.hpp"
  21. #include "pixmapdial.hpp"
  22. #include "pixmapkeyboard.hpp"
  23. #include <QtGui/QApplication>
  24. int main(int argc, char* argv[])
  25. {
  26. QApplication app(argc, argv);
  27. app.setStyle(new CarlaStyle());
  28. DigitalPeakMeter w1(nullptr);
  29. LEDButton w2(nullptr);
  30. ParamProgressBar w3(nullptr);
  31. PixmapDial w4(nullptr);
  32. PixmapKeyboard w5(nullptr);
  33. w4.setPixmap(2);
  34. w1.show();
  35. w2.show();
  36. w3.show();
  37. w4.show();
  38. w5.show();
  39. return app.exec();
  40. }