<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[Freeswitch-trunk][17211] </title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<div id="header">FreeSWITCH Subversion</div>
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=17211">17211</a></dd>
<dt>Author</dt> <dd>jmesquita</dd>
<dt>Date</dt> <dd>2010-04-03 21:28:34 -0500 (Sat, 03 Apr 2010)</dd>
</dl>
<h3>Log Message</h3>
<pre>Add a brand new codec config. Still needs i and h config.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#freeswitchtrunkfscommFSCommpro">freeswitch/trunk/fscomm/FSComm.pro</a></li>
<li><a href="#freeswitchtrunkfscommpreferencesprefdialogui">freeswitch/trunk/fscomm/preferences/prefdialog.ui</a></li>
<li><a href="#freeswitchtrunkfscommpreferencesprefsofiacpp">freeswitch/trunk/fscomm/preferences/prefsofia.cpp</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li>freeswitch/trunk/fscomm/widgets/</li>
<li><a href="#freeswitchtrunkfscommwidgetscodecwidgetcpp">freeswitch/trunk/fscomm/widgets/codecwidget.cpp</a></li>
<li><a href="#freeswitchtrunkfscommwidgetscodecwidgeth">freeswitch/trunk/fscomm/widgets/codecwidget.h</a></li>
<li><a href="#freeswitchtrunkfscommwidgetscodecwidgetui">freeswitch/trunk/fscomm/widgets/codecwidget.ui</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="freeswitchtrunkfscommFSCommpro"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/fscomm/FSComm.pro (17210 => 17211)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/FSComm.pro        2010-04-02 21:40:24 UTC (rev 17210)
+++ freeswitch/trunk/fscomm/FSComm.pro        2010-04-04 02:28:34 UTC (rev 17211)
</span><span class="lines">@@ -31,7 +31,8 @@
</span><span class="cx"> preferences/prefsofia.cpp \
</span><span class="cx"> preferences/accountdialog.cpp \
</span><span class="cx"> preferences/prefaccounts.cpp \
</span><del>- account.cpp
</del><ins>+ account.cpp \
+ widgets/codecwidget.cpp
</ins><span class="cx"> HEADERS += mainwindow.h \
</span><span class="cx"> fshost.h \
</span><span class="cx"> call.h \
</span><span class="lines">@@ -41,9 +42,11 @@
</span><span class="cx"> preferences/prefsofia.h \
</span><span class="cx"> preferences/accountdialog.h \
</span><span class="cx"> preferences/prefaccounts.h \
</span><del>- account.h
</del><ins>+ account.h \
+ widgets/codecwidget.h
</ins><span class="cx"> FORMS += mainwindow.ui \
</span><span class="cx"> preferences/prefdialog.ui \
</span><del>- preferences/accountdialog.ui
</del><ins>+ preferences/accountdialog.ui \
+ widgets/codecwidget.ui
</ins><span class="cx"> RESOURCES += resources.qrc
</span><span class="cx"> OTHER_FILES += conf/freeswitch.xml
</span></span></pre></div>
<a id="freeswitchtrunkfscommpreferencesprefdialogui"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/fscomm/preferences/prefdialog.ui (17210 => 17211)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/preferences/prefdialog.ui        2010-04-02 21:40:24 UTC (rev 17210)
+++ freeswitch/trunk/fscomm/preferences/prefdialog.ui        2010-04-04 02:28:34 UTC (rev 17211)
</span><span class="lines">@@ -201,7 +201,7 @@
</span><span class="cx"> <item>
</span><span class="cx"> <widget class="QTabWidget" name="tabWidget">
</span><span class="cx"> <property name="currentIndex">
</span><del>- <number>2</number>
</del><ins>+ <number>0</number>
</ins><span class="cx"> </property>
</span><span class="cx"> <widget class="QWidget" name="tab">
</span><span class="cx"> <attribute name="title">
</span><span class="lines">@@ -490,28 +490,17 @@
</span><span class="cx"> <string>Codecs</string>
</span><span class="cx"> </attribute>
</span><span class="cx"> <layout class="QFormLayout" name="formLayout_7">
</span><ins>+ <property name="fieldGrowthPolicy">
+ <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
+ </property>
</ins><span class="cx"> <item row="0" column="0">
</span><del>- <widget class="QLabel" name="label_21">
- <property name="text">
- <string>codec-prefs</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLineEdit" name="sofiaCodecPrefsEdit">
- <property name="text">
- <string>CELT@48000h,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
</del><span class="cx"> <widget class="QLabel" name="label_30">
</span><span class="cx"> <property name="text">
</span><span class="cx"> <string>inbound-codec-negotiation</string>
</span><span class="cx"> </property>
</span><span class="cx"> </widget>
</span><span class="cx"> </item>
</span><del>- <item row="1" column="1">
</del><ins>+ <item row="0" column="1">
</ins><span class="cx"> <widget class="QComboBox" name="sofiaInboundCodecNegotiationCombo">
</span><span class="cx"> <item>
</span><span class="cx"> <property name="text">
</span><span class="lines">@@ -525,15 +514,15 @@
</span><span class="cx"> </item>
</span><span class="cx"> </widget>
</span><span class="cx"> </item>
</span><del>- <item row="2" column="0">
</del><ins>+ <item row="1" column="0">
</ins><span class="cx"> <widget class="QLabel" name="label_42">
</span><span class="cx"> <property name="text">
</span><span class="cx"> <string>Codecs</string>
</span><span class="cx"> </property>
</span><span class="cx"> </widget>
</span><span class="cx"> </item>
</span><del>- <item row="2" column="1">
- <widget class="QListWidget" name="listAvailableCodecs"/>
</del><ins>+ <item row="1" column="1">
+ <widget class="CodecWidget" name="sofiaProfileCodecWidget" native="true"/>
</ins><span class="cx"> </item>
</span><span class="cx"> </layout>
</span><span class="cx"> </widget>
</span><span class="lines">@@ -1028,6 +1017,14 @@
</span><span class="cx"> </item>
</span><span class="cx"> </layout>
</span><span class="cx"> </widget>
</span><ins>+ <customwidgets>
+ <customwidget>
+ <class>CodecWidget</class>
+ <extends>QWidget</extends>
+ <header>widgets/codecwidget.h</header>
+ <container>1</container>
+ </customwidget>
+ </customwidgets>
</ins><span class="cx"> <resources>
</span><span class="cx"> <include location="../resources.qrc"/>
</span><span class="cx"> </resources>
</span></span></pre></div>
<a id="freeswitchtrunkfscommpreferencesprefsofiacpp"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/fscomm/preferences/prefsofia.cpp (17210 => 17211)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/preferences/prefsofia.cpp        2010-04-02 21:40:24 UTC (rev 17210)
+++ freeswitch/trunk/fscomm/preferences/prefsofia.cpp        2010-04-04 02:28:34 UTC (rev 17211)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> _ui->sofiaSipPortSpin->setValue(settings.value("sip-port").toInt());
</span><span class="cx"> _ui->sofiaDialplanEdit->setText(settings.value("dialplan").toString());
</span><span class="cx"> _ui->sofiaDtmfDurationSpin->setValue(settings.value("dtmf-duration").toInt());
</span><del>- _ui->sofiaCodecPrefsEdit->setText(settings.value("codec-prefs").toString());
</del><ins>+ _ui->sofiaProfileCodecWidget->setCodecString(settings.value("codec-prefs").toString());
</ins><span class="cx"> _ui->sofiaUseRtpTimerCombo->setCurrentIndex(_ui->sofiaUseRtpTimerCombo->findText(settings.value("use-rtp-timer").toString()));
</span><span class="cx"> _ui->sofiaRtpTimerNameEdit->setText(settings.value("rtp-timer-name").toString());
</span><span class="cx"> _ui->sofiaRtpIpEdit->setText(settings.value("rtp-ip").toString());
</span><span class="lines">@@ -68,15 +68,6 @@
</span><span class="cx"> settings.endGroup();
</span><span class="cx"> settings.endGroup();
</span><span class="cx">
</span><del>- /* This is here to show the proper codec config! */
- const switch_codec_implementation_t *codecs[SWITCH_MAX_CODECS];
- uint32_t num_codecs = switch_loadable_module_get_codecs(codecs, sizeof(codecs) / sizeof(codecs[0]));
- uint32_t x;
-
- for (x = 0; x < num_codecs; x++) {
- _ui->listAvailableCodecs->addItem(codecs[x]->iananame);
- }
-
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void PrefSofia::writeConfig()
</span><span class="lines">@@ -110,7 +101,7 @@
</span><span class="cx"> settings.setValue("sip-port", _ui->sofiaSipPortSpin->value());
</span><span class="cx"> settings.setValue("dialplan", _ui->sofiaDialplanEdit->text());
</span><span class="cx"> settings.setValue("dtmf-duration", _ui->sofiaDtmfDurationSpin->value());
</span><del>- settings.setValue("codec-prefs", _ui->sofiaCodecPrefsEdit->text());
</del><ins>+ settings.setValue("codec-prefs", _ui->sofiaProfileCodecWidget->getCodecString());
</ins><span class="cx"> settings.setValue("use-rtp-timer", _ui->sofiaUseRtpTimerCombo->currentText());
</span><span class="cx"> settings.setValue("rtp-timer-name", _ui->sofiaRtpTimerNameEdit->text());
</span><span class="cx"> settings.setValue("rtp-ip", _ui->sofiaRtpIpEdit->text());
</span></span></pre></div>
<a id="freeswitchtrunkfscommwidgetscodecwidgetcpp"></a>
<div class="addfile"><h4>Added: freeswitch/trunk/fscomm/widgets/codecwidget.cpp (0 => 17211)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/widgets/codecwidget.cpp         (rev 0)
+++ freeswitch/trunk/fscomm/widgets/codecwidget.cpp        2010-04-04 02:28:34 UTC (rev 17211)
</span><span class="lines">@@ -0,0 +1,148 @@
</span><ins>+#include "codecwidget.h"
+#include "ui_codecwidget.h"
+#include "fshost.h"
+
+CodecWidget::CodecWidget(QWidget *parent) :
+ QWidget(parent),
+ ui(new Ui::CodecWidget)
+{
+ ui->setupUi(this);
+ connect(ui->btnEnable, SIGNAL(clicked()), this, SLOT(enableCodecs()));
+ connect(ui->btnDisable, SIGNAL(clicked()), this, SLOT(disableCodecs()));
+ connect(ui->btnUp, SIGNAL(clicked()), this, SLOT(moveUp()));
+ connect(ui->btnDown, SIGNAL(clicked()), this, SLOT(moveDown()));
+ readCodecs();
+}
+
+CodecWidget::~CodecWidget()
+{
+ delete ui;
+}
+
+void CodecWidget::moveUp()
+{
+ QList<QListWidgetItem *>items = ui->listEnabledCodecs->selectedItems();
+ foreach(QListWidgetItem *item, items)
+ {
+ int row = ui->listEnabledCodecs->row(item);
+ if (row != 0)
+ ui->listEnabledCodecs->insertItem(row-1, ui->listEnabledCodecs->takeItem(row));
+ }
+}
+
+void CodecWidget::moveDown()
+{
+ QList<QListWidgetItem *>items = ui->listEnabledCodecs->selectedItems();
+ foreach(QListWidgetItem *item, items)
+ {
+ int row = ui->listEnabledCodecs->row(item);
+ if (row != ui->listEnabledCodecs->count())
+ ui->listEnabledCodecs->insertItem(row+1, ui->listEnabledCodecs->takeItem(row));
+ }
+}
+
+void CodecWidget::enableCodecs()
+{
+ QList<QListWidgetItem *>items = ui->listAvailCodecs->selectedItems();
+ foreach(QListWidgetItem *item, items)
+ {
+ ui->listEnabledCodecs->insertItem(0,item->text());
+ delete item;
+ }
+}
+
+void CodecWidget::disableCodecs()
+{
+ QList<QListWidgetItem *>items = ui->listEnabledCodecs->selectedItems();
+ foreach(QListWidgetItem *item, items)
+ {
+ ui->listAvailCodecs->insertItem(0,item->text());
+ delete item;
+ }
+}
+
+void CodecWidget::changeEvent(QEvent *e)
+{
+ QWidget::changeEvent(e);
+ switch (e->type()) {
+ case QEvent::LanguageChange:
+ ui->retranslateUi(this);
+ break;
+ default:
+ break;
+ }
+}
+
+void CodecWidget::readCodecs(void)
+{
+ /* This is here to show the proper codec config! */
+ const switch_codec_implementation_t *codecs[SWITCH_MAX_CODECS];
+ uint32_t num_codecs = switch_loadable_module_get_codecs(codecs, sizeof(codecs) / sizeof(codecs[0]));
+ uint32_t x;
+
+ for (x = 0; x < num_codecs; x++) {
+
+ /* Codecs we cannot enable/disable or dont want to */
+ if (QString(codecs[x]->iananame) == "PROXY" ||
+ QString(codecs[x]->iananame) == "PROXY-VID")
+ {
+ continue;
+ }
+
+ QList<QHash<QString, QString> > implList;
+ QHash<QString, QString> implPair;
+ implPair.insert(QString::number(codecs[x]->samples_per_second), QString::number(codecs[x]->microseconds_per_packet/1000));
+ implList.append(implPair);
+
+ /* Iterate over the other implementations */
+ switch_codec_implementation_t *curr = codecs[x]->next;
+ while (curr != NULL)
+ {
+ QHash<QString, QString> implPair;
+ implPair.insert(QString::number(curr->samples_per_second), QString::number(curr->microseconds_per_packet/1000));
+ implList.append(implPair);
+ curr = curr->next;
+ }
+ _listCodecs.insert(codecs[x]->iananame, implList);
+ ui->listAvailCodecs->insertItem(0, codecs[x]->iananame);
+ }
+ ui->listAvailCodecs->sortItems(Qt::AscendingOrder);
+}
+
+QString CodecWidget::getCodecString()
+{
+ QString codecList;
+ for(int i = 0; i<ui->listEnabledCodecs->count(); i++)
+ {
+ QString codecName = ui->listEnabledCodecs->item(i)->text();
+ if (!_listCodecs.contains(codecName))
+ QMessageBox::warning(this, tr("Error"), tr("Codec %1 does not exist as loaded codec, therefore will not be used.").arg(codecName), QMessageBox::Ok);
+ codecList += codecName;
+ if (i!= ui->listEnabledCodecs->count()-1)
+ codecList += ",";
+ }
+ return codecList;
+}
+
+void CodecWidget::setCodecString(QString codecList)
+{
+ QStringList rawEnCodecs;
+ QStringList split = codecList.split(",");
+ foreach(QString s, split)
+ {
+ QStringList cs = s.split("@");
+ if (!rawEnCodecs.contains(cs[0]))
+ {
+ ui->listEnabledCodecs->insertItem(ui->listEnabledCodecs->count(), cs[0]);
+ rawEnCodecs.append(cs[0]);
+ }
+ }
+
+ foreach(QString c, rawEnCodecs)
+ {
+ foreach(QListWidgetItem *i, ui->listAvailCodecs->findItems(c, Qt::MatchExactly))
+ {
+ delete i;
+ }
+ }
+}
</ins></span></pre></div>
<a id="freeswitchtrunkfscommwidgetscodecwidgeth"></a>
<div class="addfile"><h4>Added: freeswitch/trunk/fscomm/widgets/codecwidget.h (0 => 17211)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/widgets/codecwidget.h         (rev 0)
+++ freeswitch/trunk/fscomm/widgets/codecwidget.h        2010-04-04 02:28:34 UTC (rev 17211)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+#ifndef CODECWIDGET_H
+#define CODECWIDGET_H
+
+#include <QtGui>
+
+namespace Ui {
+ class CodecWidget;
+}
+
+class CodecWidget : public QWidget {
+ Q_OBJECT
+public:
+ CodecWidget(QWidget *parent = 0);
+ ~CodecWidget();
+ QString getCodecString();
+ void setCodecString(QString);
+
+protected:
+ void changeEvent(QEvent *e);
+
+private slots:
+ void enableCodecs();
+ void disableCodecs();
+ void moveUp();
+ void moveDown();
+
+private:
+ void readCodecs(void);
+ Ui::CodecWidget *ui;
+ QHash<QString, QList<QHash<QString, QString> > > _listCodecs;
+};
+
+#endif // CODECWIDGET_H
</ins></span></pre></div>
<a id="freeswitchtrunkfscommwidgetscodecwidgetui"></a>
<div class="addfile"><h4>Added: freeswitch/trunk/fscomm/widgets/codecwidget.ui (0 => 17211)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/widgets/codecwidget.ui         (rev 0)
+++ freeswitch/trunk/fscomm/widgets/codecwidget.ui        2010-04-04 02:28:34 UTC (rev 17211)
</span><span class="lines">@@ -0,0 +1,157 @@
</span><ins>+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>CodecWidget</class>
+ <widget class="QWidget" name="CodecWidget">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>612</width>
+ <height>235</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <item>
+ <widget class="QLabel" name="label">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Available Codecs</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignCenter</set>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QListWidget" name="listAvailCodecs">
+ <property name="dragEnabled">
+ <bool>true</bool>
+ </property>
+ <property name="dragDropMode">
+ <enum>QAbstractItemView::DragDrop</enum>
+ </property>
+ <property name="defaultDropAction">
+ <enum>Qt::MoveAction</enum>
+ </property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
+ <property name="selectionMode">
+ <enum>QAbstractItemView::ExtendedSelection</enum>
+ </property>
+ <property name="sortingEnabled">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QToolButton" name="btnEnable">
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="arrowType">
+ <enum>Qt::RightArrow</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="btnDisable">
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="arrowType">
+ <enum>Qt::LeftArrow</enum>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Enabled Codecs</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignCenter</set>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QListWidget" name="listEnabledCodecs">
+ <property name="dragEnabled">
+ <bool>true</bool>
+ </property>
+ <property name="dragDropMode">
+ <enum>QAbstractItemView::DragDrop</enum>
+ </property>
+ <property name="defaultDropAction">
+ <enum>Qt::MoveAction</enum>
+ </property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
+ <property name="selectionMode">
+ <enum>QAbstractItemView::ExtendedSelection</enum>
+ </property>
+ <property name="sortingEnabled">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_4">
+ <item>
+ <widget class="QToolButton" name="btnUp">
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="arrowType">
+ <enum>Qt::UpArrow</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="btnAdv">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="btnDown">
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="arrowType">
+ <enum>Qt::DownArrow</enum>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
</ins></span></pre>
</div>
</div>
<div id="footer">See you at ClueCon</div>
</body>
</html>