ui->qcbox_formats->setSizeAdjustPolicy(QComboBox::AdjustToContents);
ui->qlv_availableSignals->setSizeAdjustPolicy(QListView::AdjustToContents);
+ /* Make the background of availableSignals view the same color as the widget base */
+ QPalette oldPalette(ui->qlv_availableSignals->palette());
+ QPalette newPalette(oldPalette);
+ newPalette.setColor(QPalette::Inactive, QPalette::Base, oldPalette.color(QPalette::Disabled, QPalette::Base));
+ newPalette.setColor(QPalette::Active, QPalette::Base, oldPalette.color(QPalette::Disabled, QPalette::Base));
+ ui->qlv_availableSignals->setPalette(newPalette);
+
connect(ui->qpb_browse, SIGNAL(clicked()), this, SLOT(onBrowseClicked()));
connect(ui->qpb_ok, SIGNAL(clicked()), this, SLOT(accept()));
connect(ui->qpb_cancel, SIGNAL(clicked()), this, SLOT(reject()));
</item>
<item>
<widget class="QListView" name="qlv_availableSignals">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="autoFillBackground">
+ <bool>false</bool>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Sunken</enum>
+ </property>
+ <property name="editTriggers">
+ <set>QAbstractItemView::NoEditTriggers</set>
+ </property>
+ <property name="showDropIndicator" stdset="0">
+ <bool>false</bool>
+ </property>
+ <property name="selectionMode">
+ <enum>QAbstractItemView::NoSelection</enum>
+ </property>
</widget>
</item>
</layout>