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.

286 lines
10KB

  1. /********************************************************************************
  2. ** Form generated from reading UI file 'carla_plugin_calf.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.13.2
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8. #ifndef UI_CARLA_PLUGIN_CALF_H
  9. #define UI_CARLA_PLUGIN_CALF_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QFrame>
  13. #include <QtWidgets/QHBoxLayout>
  14. #include <QtWidgets/QLabel>
  15. #include <QtWidgets/QSpacerItem>
  16. #include <QtWidgets/QVBoxLayout>
  17. #include <QtWidgets/QWidget>
  18. #include "widgets/digitalpeakmeter.h"
  19. #include "widgets/ledbutton.h"
  20. #include "widgets/pixmapbutton.h"
  21. QT_BEGIN_NAMESPACE
  22. class Ui_PluginWidget
  23. {
  24. public:
  25. QVBoxLayout *verticalLayout;
  26. QHBoxLayout *layout_top;
  27. QWidget *w_buttons;
  28. QHBoxLayout *horizontalLayout_5;
  29. PixmapButton *b_enable;
  30. QLabel *label_active;
  31. QSpacerItem *spacer_namesep1;
  32. QFrame *line_sep;
  33. QSpacerItem *spacer_namesep2;
  34. QLabel *label_name;
  35. QSpacerItem *spacer_namesep3;
  36. QVBoxLayout *layout_midi;
  37. QLabel *label_midi;
  38. LEDButton *led_midi;
  39. QVBoxLayout *layout_peak_in;
  40. QLabel *label_audio_in;
  41. DigitalPeakMeter *peak_in;
  42. QVBoxLayout *layout_peak_out;
  43. QLabel *label_audio_out;
  44. DigitalPeakMeter *peak_out;
  45. QFrame *line;
  46. QHBoxLayout *layout_bottom;
  47. QHBoxLayout *w_buttons2;
  48. PixmapButton *b_gui;
  49. PixmapButton *b_edit;
  50. PixmapButton *b_remove;
  51. QSpacerItem *spacer_knobs;
  52. QWidget *w_knobs;
  53. QHBoxLayout *horizontalLayout_4;
  54. QLabel *label_logo;
  55. void setupUi(QFrame *PluginWidget)
  56. {
  57. if (PluginWidget->objectName().isEmpty())
  58. PluginWidget->setObjectName(QString::fromUtf8("PluginWidget"));
  59. PluginWidget->resize(622, 90);
  60. PluginWidget->setContextMenuPolicy(Qt::CustomContextMenu);
  61. verticalLayout = new QVBoxLayout(PluginWidget);
  62. verticalLayout->setSpacing(0);
  63. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  64. verticalLayout->setContentsMargins(4, 3, 6, 3);
  65. layout_top = new QHBoxLayout();
  66. layout_top->setSpacing(1);
  67. layout_top->setObjectName(QString::fromUtf8("layout_top"));
  68. w_buttons = new QWidget(PluginWidget);
  69. w_buttons->setObjectName(QString::fromUtf8("w_buttons"));
  70. w_buttons->setMinimumSize(QSize(72, 0));
  71. w_buttons->setMaximumSize(QSize(72, 16777215));
  72. horizontalLayout_5 = new QHBoxLayout(w_buttons);
  73. horizontalLayout_5->setSpacing(2);
  74. horizontalLayout_5->setContentsMargins(0, 0, 0, 0);
  75. horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
  76. b_enable = new PixmapButton(w_buttons);
  77. b_enable->setObjectName(QString::fromUtf8("b_enable"));
  78. b_enable->setCheckable(true);
  79. horizontalLayout_5->addWidget(b_enable);
  80. label_active = new QLabel(w_buttons);
  81. label_active->setObjectName(QString::fromUtf8("label_active"));
  82. horizontalLayout_5->addWidget(label_active);
  83. layout_top->addWidget(w_buttons);
  84. spacer_namesep1 = new QSpacerItem(6, 1, QSizePolicy::Fixed, QSizePolicy::Minimum);
  85. layout_top->addItem(spacer_namesep1);
  86. line_sep = new QFrame(PluginWidget);
  87. line_sep->setObjectName(QString::fromUtf8("line_sep"));
  88. line_sep->setMinimumSize(QSize(0, 20));
  89. line_sep->setMaximumSize(QSize(16777215, 20));
  90. line_sep->setLineWidth(0);
  91. line_sep->setMidLineWidth(1);
  92. line_sep->setFrameShape(QFrame::VLine);
  93. line_sep->setFrameShadow(QFrame::Sunken);
  94. layout_top->addWidget(line_sep);
  95. spacer_namesep2 = new QSpacerItem(8, 1, QSizePolicy::Fixed, QSizePolicy::Minimum);
  96. layout_top->addItem(spacer_namesep2);
  97. label_name = new QLabel(PluginWidget);
  98. label_name->setObjectName(QString::fromUtf8("label_name"));
  99. QFont font;
  100. font.setBold(true);
  101. font.setWeight(75);
  102. label_name->setFont(font);
  103. label_name->setAlignment(Qt::AlignCenter);
  104. layout_top->addWidget(label_name);
  105. spacer_namesep3 = new QSpacerItem(20, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
  106. layout_top->addItem(spacer_namesep3);
  107. layout_midi = new QVBoxLayout();
  108. layout_midi->setSpacing(0);
  109. layout_midi->setObjectName(QString::fromUtf8("layout_midi"));
  110. layout_midi->setContentsMargins(-1, -1, 4, -1);
  111. label_midi = new QLabel(PluginWidget);
  112. label_midi->setObjectName(QString::fromUtf8("label_midi"));
  113. label_midi->setAlignment(Qt::AlignBottom|Qt::AlignHCenter);
  114. layout_midi->addWidget(label_midi);
  115. led_midi = new LEDButton(PluginWidget);
  116. led_midi->setObjectName(QString::fromUtf8("led_midi"));
  117. led_midi->setMinimumSize(QSize(25, 25));
  118. led_midi->setMaximumSize(QSize(25, 25));
  119. led_midi->setIconSize(QSize(25, 25));
  120. led_midi->setCheckable(true);
  121. layout_midi->addWidget(led_midi);
  122. layout_top->addLayout(layout_midi);
  123. layout_peak_in = new QVBoxLayout();
  124. layout_peak_in->setSpacing(0);
  125. layout_peak_in->setObjectName(QString::fromUtf8("layout_peak_in"));
  126. label_audio_in = new QLabel(PluginWidget);
  127. label_audio_in->setObjectName(QString::fromUtf8("label_audio_in"));
  128. label_audio_in->setAlignment(Qt::AlignBottom|Qt::AlignHCenter);
  129. layout_peak_in->addWidget(label_audio_in);
  130. peak_in = new DigitalPeakMeter(PluginWidget);
  131. peak_in->setObjectName(QString::fromUtf8("peak_in"));
  132. peak_in->setMinimumSize(QSize(150, 0));
  133. layout_peak_in->addWidget(peak_in);
  134. layout_top->addLayout(layout_peak_in);
  135. layout_peak_out = new QVBoxLayout();
  136. layout_peak_out->setSpacing(0);
  137. layout_peak_out->setObjectName(QString::fromUtf8("layout_peak_out"));
  138. label_audio_out = new QLabel(PluginWidget);
  139. label_audio_out->setObjectName(QString::fromUtf8("label_audio_out"));
  140. label_audio_out->setAlignment(Qt::AlignBottom|Qt::AlignHCenter);
  141. layout_peak_out->addWidget(label_audio_out);
  142. peak_out = new DigitalPeakMeter(PluginWidget);
  143. peak_out->setObjectName(QString::fromUtf8("peak_out"));
  144. peak_out->setMinimumSize(QSize(150, 0));
  145. layout_peak_out->addWidget(peak_out);
  146. layout_top->addLayout(layout_peak_out);
  147. verticalLayout->addLayout(layout_top);
  148. line = new QFrame(PluginWidget);
  149. line->setObjectName(QString::fromUtf8("line"));
  150. line->setLineWidth(0);
  151. line->setMidLineWidth(1);
  152. line->setFrameShape(QFrame::HLine);
  153. line->setFrameShadow(QFrame::Sunken);
  154. verticalLayout->addWidget(line);
  155. layout_bottom = new QHBoxLayout();
  156. layout_bottom->setSpacing(1);
  157. layout_bottom->setObjectName(QString::fromUtf8("layout_bottom"));
  158. layout_bottom->setContentsMargins(6, 4, 4, -1);
  159. w_buttons2 = new QHBoxLayout();
  160. w_buttons2->setSpacing(3);
  161. w_buttons2->setObjectName(QString::fromUtf8("w_buttons2"));
  162. b_gui = new PixmapButton(PluginWidget);
  163. b_gui->setObjectName(QString::fromUtf8("b_gui"));
  164. b_gui->setCheckable(true);
  165. w_buttons2->addWidget(b_gui);
  166. b_edit = new PixmapButton(PluginWidget);
  167. b_edit->setObjectName(QString::fromUtf8("b_edit"));
  168. b_edit->setCheckable(true);
  169. w_buttons2->addWidget(b_edit);
  170. b_remove = new PixmapButton(PluginWidget);
  171. b_remove->setObjectName(QString::fromUtf8("b_remove"));
  172. w_buttons2->addWidget(b_remove);
  173. layout_bottom->addLayout(w_buttons2);
  174. spacer_knobs = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  175. layout_bottom->addItem(spacer_knobs);
  176. w_knobs = new QWidget(PluginWidget);
  177. w_knobs->setObjectName(QString::fromUtf8("w_knobs"));
  178. QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
  179. sizePolicy.setHorizontalStretch(0);
  180. sizePolicy.setVerticalStretch(0);
  181. sizePolicy.setHeightForWidth(w_knobs->sizePolicy().hasHeightForWidth());
  182. w_knobs->setSizePolicy(sizePolicy);
  183. horizontalLayout_4 = new QHBoxLayout(w_knobs);
  184. horizontalLayout_4->setSpacing(2);
  185. horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
  186. horizontalLayout_4->setContentsMargins(4, 0, 4, 0);
  187. layout_bottom->addWidget(w_knobs);
  188. label_logo = new QLabel(PluginWidget);
  189. label_logo->setObjectName(QString::fromUtf8("label_logo"));
  190. label_logo->setMinimumSize(QSize(71, 30));
  191. label_logo->setMaximumSize(QSize(71, 30));
  192. label_logo->setPixmap(QPixmap(QString::fromUtf8(":/bitmaps/logo_calf.png")));
  193. label_logo->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
  194. layout_bottom->addWidget(label_logo);
  195. verticalLayout->addLayout(layout_bottom);
  196. retranslateUi(PluginWidget);
  197. QMetaObject::connectSlotsByName(PluginWidget);
  198. } // setupUi
  199. void retranslateUi(QFrame *PluginWidget)
  200. {
  201. PluginWidget->setWindowTitle(QCoreApplication::translate("PluginWidget", "Frame", nullptr));
  202. b_enable->setText(QCoreApplication::translate("PluginWidget", "Enable", nullptr));
  203. label_active->setText(QCoreApplication::translate("PluginWidget", "On/Off", nullptr));
  204. label_name->setText(QCoreApplication::translate("PluginWidget", "PluginName", nullptr));
  205. label_midi->setText(QCoreApplication::translate("PluginWidget", "MIDI", nullptr));
  206. led_midi->setText(QString());
  207. label_audio_in->setText(QCoreApplication::translate("PluginWidget", "AUDIO IN", nullptr));
  208. label_audio_out->setText(QCoreApplication::translate("PluginWidget", "AUDIO OUT", nullptr));
  209. b_gui->setText(QCoreApplication::translate("PluginWidget", "GUI", nullptr));
  210. b_edit->setText(QCoreApplication::translate("PluginWidget", "Edit", nullptr));
  211. b_remove->setText(QCoreApplication::translate("PluginWidget", "Remove", nullptr));
  212. label_logo->setText(QString());
  213. } // retranslateUi
  214. };
  215. namespace Ui {
  216. class PluginWidget: public Ui_PluginWidget {};
  217. } // namespace Ui
  218. QT_END_NAMESPACE
  219. #endif // UI_CARLA_PLUGIN_CALF_H