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.

302 lines
11KB

  1. /********************************************************************************
  2. ** Form generated from reading UI file 'carla_plugin_presets.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_PRESETS_H
  9. #define UI_CARLA_PLUGIN_PRESETS_H
  10. #include <QtCore/QVariant>
  11. #include <QtGui/QIcon>
  12. #include <QtWidgets/QApplication>
  13. #include <QtWidgets/QComboBox>
  14. #include <QtWidgets/QFrame>
  15. #include <QtWidgets/QHBoxLayout>
  16. #include <QtWidgets/QLabel>
  17. #include <QtWidgets/QSpacerItem>
  18. #include <QtWidgets/QVBoxLayout>
  19. #include <QtWidgets/QWidget>
  20. #include "widgets/digitalpeakmeter.h"
  21. #include "widgets/ledbutton.h"
  22. #include "widgets/pixmapbutton.h"
  23. QT_BEGIN_NAMESPACE
  24. class Ui_PluginWidget
  25. {
  26. public:
  27. QVBoxLayout *verticalLayout;
  28. QHBoxLayout *layout_top;
  29. QWidget *w_buttons;
  30. QHBoxLayout *horizontalLayout;
  31. PixmapButton *b_enable;
  32. PixmapButton *b_gui;
  33. PixmapButton *b_edit;
  34. QSpacerItem *spacer_namesep1;
  35. QFrame *line_2;
  36. QSpacerItem *spacer_namesep2;
  37. QLabel *label_name;
  38. QSpacerItem *spacer_namesep3;
  39. QHBoxLayout *layout_presets;
  40. QLabel *label_presets;
  41. QComboBox *cb_presets;
  42. QHBoxLayout *layout_leds;
  43. LEDButton *led_control;
  44. LEDButton *led_midi;
  45. LEDButton *led_audio_in;
  46. LEDButton *led_audio_out;
  47. QFrame *line;
  48. QHBoxLayout *layout_bottom;
  49. QWidget *w_knobs_left;
  50. QHBoxLayout *horizontalLayout_4;
  51. QSpacerItem *horizontalSpacer;
  52. QWidget *w_knobs_right;
  53. QHBoxLayout *horizontalLayout_3;
  54. QVBoxLayout *layout_peaks;
  55. DigitalPeakMeter *peak_in;
  56. DigitalPeakMeter *peak_out;
  57. void setupUi(QFrame *PluginWidget)
  58. {
  59. if (PluginWidget->objectName().isEmpty())
  60. PluginWidget->setObjectName(QString::fromUtf8("PluginWidget"));
  61. PluginWidget->resize(484, 65);
  62. PluginWidget->setContextMenuPolicy(Qt::CustomContextMenu);
  63. verticalLayout = new QVBoxLayout(PluginWidget);
  64. verticalLayout->setSpacing(0);
  65. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  66. verticalLayout->setContentsMargins(4, 3, 6, 3);
  67. layout_top = new QHBoxLayout();
  68. layout_top->setSpacing(1);
  69. layout_top->setObjectName(QString::fromUtf8("layout_top"));
  70. w_buttons = new QWidget(PluginWidget);
  71. w_buttons->setObjectName(QString::fromUtf8("w_buttons"));
  72. w_buttons->setMinimumSize(QSize(72, 24));
  73. w_buttons->setMaximumSize(QSize(72, 24));
  74. horizontalLayout = new QHBoxLayout(w_buttons);
  75. horizontalLayout->setSpacing(0);
  76. horizontalLayout->setContentsMargins(0, 0, 0, 0);
  77. horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  78. b_enable = new PixmapButton(w_buttons);
  79. b_enable->setObjectName(QString::fromUtf8("b_enable"));
  80. b_enable->setMinimumSize(QSize(24, 24));
  81. b_enable->setMaximumSize(QSize(24, 24));
  82. QIcon icon;
  83. icon.addFile(QString::fromUtf8(":/bitmaps/button_off.png"), QSize(), QIcon::Normal, QIcon::Off);
  84. b_enable->setIcon(icon);
  85. b_enable->setIconSize(QSize(24, 24));
  86. b_enable->setCheckable(true);
  87. b_enable->setFlat(true);
  88. horizontalLayout->addWidget(b_enable);
  89. b_gui = new PixmapButton(w_buttons);
  90. b_gui->setObjectName(QString::fromUtf8("b_gui"));
  91. b_gui->setMinimumSize(QSize(24, 24));
  92. b_gui->setMaximumSize(QSize(24, 24));
  93. QIcon icon1;
  94. icon1.addFile(QString::fromUtf8(":/bitmaps/button_gui.png"), QSize(), QIcon::Normal, QIcon::Off);
  95. b_gui->setIcon(icon1);
  96. b_gui->setIconSize(QSize(24, 24));
  97. b_gui->setCheckable(true);
  98. b_gui->setFlat(true);
  99. horizontalLayout->addWidget(b_gui);
  100. b_edit = new PixmapButton(w_buttons);
  101. b_edit->setObjectName(QString::fromUtf8("b_edit"));
  102. b_edit->setMinimumSize(QSize(24, 24));
  103. b_edit->setMaximumSize(QSize(24, 24));
  104. QIcon icon2;
  105. icon2.addFile(QString::fromUtf8(":/bitmaps/button_edit.png"), QSize(), QIcon::Normal, QIcon::Off);
  106. b_edit->setIcon(icon2);
  107. b_edit->setIconSize(QSize(24, 24));
  108. b_edit->setCheckable(true);
  109. b_edit->setFlat(true);
  110. horizontalLayout->addWidget(b_edit);
  111. layout_top->addWidget(w_buttons);
  112. spacer_namesep1 = new QSpacerItem(6, 1, QSizePolicy::Fixed, QSizePolicy::Minimum);
  113. layout_top->addItem(spacer_namesep1);
  114. line_2 = new QFrame(PluginWidget);
  115. line_2->setObjectName(QString::fromUtf8("line_2"));
  116. line_2->setMinimumSize(QSize(0, 20));
  117. line_2->setMaximumSize(QSize(16777215, 20));
  118. line_2->setLineWidth(0);
  119. line_2->setMidLineWidth(1);
  120. line_2->setFrameShape(QFrame::VLine);
  121. line_2->setFrameShadow(QFrame::Sunken);
  122. layout_top->addWidget(line_2);
  123. spacer_namesep2 = new QSpacerItem(8, 1, QSizePolicy::Fixed, QSizePolicy::Minimum);
  124. layout_top->addItem(spacer_namesep2);
  125. label_name = new QLabel(PluginWidget);
  126. label_name->setObjectName(QString::fromUtf8("label_name"));
  127. label_name->setTextFormat(Qt::PlainText);
  128. label_name->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
  129. layout_top->addWidget(label_name);
  130. spacer_namesep3 = new QSpacerItem(20, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
  131. layout_top->addItem(spacer_namesep3);
  132. layout_presets = new QHBoxLayout();
  133. layout_presets->setSpacing(4);
  134. layout_presets->setObjectName(QString::fromUtf8("layout_presets"));
  135. layout_presets->setContentsMargins(4, -1, 4, -1);
  136. label_presets = new QLabel(PluginWidget);
  137. label_presets->setObjectName(QString::fromUtf8("label_presets"));
  138. label_presets->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
  139. layout_presets->addWidget(label_presets);
  140. cb_presets = new QComboBox(PluginWidget);
  141. cb_presets->setObjectName(QString::fromUtf8("cb_presets"));
  142. cb_presets->setMinimumSize(QSize(125, 0));
  143. layout_presets->addWidget(cb_presets);
  144. layout_top->addLayout(layout_presets);
  145. layout_leds = new QHBoxLayout();
  146. layout_leds->setSpacing(1);
  147. layout_leds->setObjectName(QString::fromUtf8("layout_leds"));
  148. led_control = new LEDButton(PluginWidget);
  149. led_control->setObjectName(QString::fromUtf8("led_control"));
  150. led_control->setMinimumSize(QSize(14, 14));
  151. led_control->setMaximumSize(QSize(14, 14));
  152. led_control->setCheckable(true);
  153. layout_leds->addWidget(led_control);
  154. led_midi = new LEDButton(PluginWidget);
  155. led_midi->setObjectName(QString::fromUtf8("led_midi"));
  156. led_midi->setMinimumSize(QSize(14, 14));
  157. led_midi->setMaximumSize(QSize(14, 14));
  158. led_midi->setCheckable(true);
  159. layout_leds->addWidget(led_midi);
  160. led_audio_in = new LEDButton(PluginWidget);
  161. led_audio_in->setObjectName(QString::fromUtf8("led_audio_in"));
  162. led_audio_in->setMinimumSize(QSize(14, 14));
  163. led_audio_in->setMaximumSize(QSize(14, 14));
  164. led_audio_in->setCheckable(true);
  165. layout_leds->addWidget(led_audio_in);
  166. led_audio_out = new LEDButton(PluginWidget);
  167. led_audio_out->setObjectName(QString::fromUtf8("led_audio_out"));
  168. led_audio_out->setMinimumSize(QSize(14, 14));
  169. led_audio_out->setMaximumSize(QSize(14, 14));
  170. led_audio_out->setCheckable(true);
  171. layout_leds->addWidget(led_audio_out);
  172. layout_top->addLayout(layout_leds);
  173. verticalLayout->addLayout(layout_top);
  174. line = new QFrame(PluginWidget);
  175. line->setObjectName(QString::fromUtf8("line"));
  176. line->setLineWidth(0);
  177. line->setMidLineWidth(1);
  178. line->setFrameShape(QFrame::HLine);
  179. line->setFrameShadow(QFrame::Sunken);
  180. verticalLayout->addWidget(line);
  181. layout_bottom = new QHBoxLayout();
  182. layout_bottom->setSpacing(1);
  183. layout_bottom->setObjectName(QString::fromUtf8("layout_bottom"));
  184. layout_bottom->setContentsMargins(12, 4, 12, -1);
  185. w_knobs_left = new QWidget(PluginWidget);
  186. w_knobs_left->setObjectName(QString::fromUtf8("w_knobs_left"));
  187. horizontalLayout_4 = new QHBoxLayout(w_knobs_left);
  188. horizontalLayout_4->setContentsMargins(0, 0, 0, 0);
  189. horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
  190. layout_bottom->addWidget(w_knobs_left);
  191. horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  192. layout_bottom->addItem(horizontalSpacer);
  193. w_knobs_right = new QWidget(PluginWidget);
  194. w_knobs_right->setObjectName(QString::fromUtf8("w_knobs_right"));
  195. horizontalLayout_3 = new QHBoxLayout(w_knobs_right);
  196. horizontalLayout_3->setSpacing(0);
  197. horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
  198. horizontalLayout_3->setContentsMargins(12, 0, 0, 0);
  199. layout_bottom->addWidget(w_knobs_right);
  200. layout_peaks = new QVBoxLayout();
  201. layout_peaks->setSpacing(4);
  202. layout_peaks->setObjectName(QString::fromUtf8("layout_peaks"));
  203. layout_peaks->setContentsMargins(4, 0, 4, 2);
  204. peak_in = new DigitalPeakMeter(PluginWidget);
  205. peak_in->setObjectName(QString::fromUtf8("peak_in"));
  206. peak_in->setMinimumSize(QSize(150, 0));
  207. peak_in->setMaximumSize(QSize(150, 16777215));
  208. layout_peaks->addWidget(peak_in);
  209. peak_out = new DigitalPeakMeter(PluginWidget);
  210. peak_out->setObjectName(QString::fromUtf8("peak_out"));
  211. peak_out->setMinimumSize(QSize(150, 0));
  212. peak_out->setMaximumSize(QSize(150, 16777215));
  213. layout_peaks->addWidget(peak_out);
  214. layout_bottom->addLayout(layout_peaks);
  215. verticalLayout->addLayout(layout_bottom);
  216. retranslateUi(PluginWidget);
  217. QMetaObject::connectSlotsByName(PluginWidget);
  218. } // setupUi
  219. void retranslateUi(QFrame *PluginWidget)
  220. {
  221. PluginWidget->setWindowTitle(QCoreApplication::translate("PluginWidget", "Frame", nullptr));
  222. b_enable->setText(QString());
  223. b_gui->setText(QString());
  224. b_edit->setText(QString());
  225. label_name->setText(QCoreApplication::translate("PluginWidget", "PluginName", nullptr));
  226. label_presets->setText(QCoreApplication::translate("PluginWidget", "Preset:", nullptr));
  227. led_control->setText(QString());
  228. led_midi->setText(QString());
  229. led_audio_in->setText(QString());
  230. led_audio_out->setText(QString());
  231. } // retranslateUi
  232. };
  233. namespace Ui {
  234. class PluginWidget: public Ui_PluginWidget {};
  235. } // namespace Ui
  236. QT_END_NAMESPACE
  237. #endif // UI_CARLA_PLUGIN_PRESETS_H