]> git.sesse.net Git - nageru/blobdiff - ui_mainwindow.ui
Don't highlight any controllers if no MIDI controller is attached.
[nageru] / ui_mainwindow.ui
index 67bf75cee31f517d60258f381a0ae47adc4e73b8..5959b11408fd50be4ea6561659804bde62a47799 100644 (file)
                </layout>
               </item>
               <item>
-               <widget class="QLabel" name="peak_display">
+               <widget class="ClickableLabel" name="peak_display">
                 <property name="minimumSize">
                  <size>
                   <width>30</width>
     <addaction name="multichannel_audio_mode"/>
     <addaction name="separator"/>
     <addaction name="input_mapping_action"/>
+    <addaction name="midi_mapping_action"/>
    </widget>
    <addaction name="menuWhat"/>
    <addaction name="menu_Audio"/>
     <string>Multichannel</string>
    </property>
   </action>
+  <action name="midi_mapping_action">
+   <property name="text">
+    <string>Setup MIDI controller…</string>
+   </property>
+  </action>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <customwidgets>
    <header>vumeter.h</header>
    <container>1</container>
   </customwidget>
+  <customwidget>
+   <class>ClickableLabel</class>
+   <extends>QLabel</extends>
+   <header>clickable_label.h</header>
+  </customwidget>
   <customwidget>
    <class>GLWidget</class>
    <extends>QWidget</extends>