Browse Source

Improve add-plugin dialog workflow

tags/v2.1-rc1
falkTX 6 years ago
parent
commit
f8b5a9b37c
2 changed files with 31 additions and 6 deletions
  1. +29
    -5
      resources/ui/carla_database.ui
  2. +2
    -1
      source/frontend/carla_database.py

+ 29
- 5
resources/ui/carla_database.ui View File

@@ -108,8 +108,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>164</width>
<height>164</height>
<width>119</width>
<height>124</height>
</rect>
</property>
<attribute name="label">
@@ -164,8 +164,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>164</width>
<height>136</height>
<width>131</width>
<height>96</height>
</rect>
</property>
<attribute name="label">
@@ -796,9 +796,33 @@
</widget>
<tabstops>
<tabstop>lineEdit</tabstop>
<tabstop>tableWidget</tabstop>
<tabstop>b_add</tabstop>
<tabstop>b_cancel</tabstop>
<tabstop>b_refresh</tabstop>
<tabstop>tableWidget</tabstop>
<tabstop>pushButton</tabstop>
<tabstop>ch_internal</tabstop>
<tabstop>ch_ladspa</tabstop>
<tabstop>ch_dssi</tabstop>
<tabstop>ch_lv2</tabstop>
<tabstop>ch_vst</tabstop>
<tabstop>ch_vst3</tabstop>
<tabstop>ch_au</tabstop>
<tabstop>ch_kits</tabstop>
<tabstop>ch_effects</tabstop>
<tabstop>ch_instruments</tabstop>
<tabstop>ch_midi</tabstop>
<tabstop>ch_other</tabstop>
<tabstop>ch_native</tabstop>
<tabstop>ch_bridged</tabstop>
<tabstop>ch_bridged_wine</tabstop>
<tabstop>ch_inline_display</tabstop>
<tabstop>ch_stereo</tabstop>
<tabstop>ch_rtsafe</tabstop>
<tabstop>ch_gui</tabstop>
<tabstop>ch_cv</tabstop>
<tabstop>tab_reqs</tabstop>
<tabstop>tab_info</tabstop>
</tabstops>
<resources>
<include location="../resources.qrc"/>


+ 2
- 1
source/frontend/carla_database.py View File

@@ -1494,6 +1494,7 @@ class PluginDatabaseW(QDialog):
# Post-connect setup

self._reAddPlugins()
self.ui.lineEdit.setFocus()

# --------------------------------------------------------------------------------------------------------

@@ -1772,7 +1773,7 @@ class PluginDatabaseW(QDialog):

index = self.fLastTableIndex

pluginText = plugin['name']+plugin['label']+plugin['maker']+plugin['filename']
pluginText = (plugin['name']+plugin['label']+plugin['maker']+plugin['filename']).lower()
self.ui.tableWidget.setItem(index, self.TABLEWIDGET_ITEM_NAME, QTableWidgetItem(plugin['name']))
self.ui.tableWidget.setItem(index, self.TABLEWIDGET_ITEM_LABEL, QTableWidgetItem(plugin['label']))
self.ui.tableWidget.setItem(index, self.TABLEWIDGET_ITEM_MAKER, QTableWidgetItem(plugin['maker']))


Loading…
Cancel
Save