svn path=/trunk/kdenlive/; revision=4559
lyr->addWidget(m_effectsList);
lyr->setContentsMargins(0, 0, 0, 0);
search_effect->setTreeWidget(m_effectsList);
lyr->addWidget(m_effectsList);
lyr->setContentsMargins(0, 0, 0, 0);
search_effect->setTreeWidget(m_effectsList);
+ search_effect->setToolTip(i18n("Search in the effect list"));
buttonInfo->setIcon(KIcon("help-about"));
buttonInfo->setIcon(KIcon("help-about"));
+ buttonInfo->setToolTip(i18n("Show/Hide the effect description"));
setFocusPolicy(Qt::StrongFocus);
setFocusProxy(search_effect);
m_effectsList->setFocusProxy(search_effect);
setFocusPolicy(Qt::StrongFocus);
setFocusProxy(search_effect);
m_effectsList->setFocusProxy(search_effect);
- if (KdenliveSettings::showeffectinfo()) {
+ if (KdenliveSettings::showeffectinfo())
buttonInfo->setDown(true);
buttonInfo->setDown(true);
- } else infopanel->hide();
+ else
+ infopanel->hide();
+
menu->addAction(KIcon("edit-delete"), i18n("Delete effect"), this, SLOT(slotRemoveEffect()));
connect(type_combo, SIGNAL(currentIndexChanged(int)), this, SLOT(filterList(int)));
menu->addAction(KIcon("edit-delete"), i18n("Delete effect"), this, SLOT(slotRemoveEffect()));
connect(type_combo, SIGNAL(currentIndexChanged(int)), this, SLOT(filterList(int)));
void EffectsListView::slotEffectSelected()
{
QDomElement effect = m_effectsList->currentEffect();
void EffectsListView::slotEffectSelected()
{
QDomElement effect = m_effectsList->currentEffect();
- if (!effect.isNull()) emit addEffect(effect);
+ if (!effect.isNull())
+ emit addEffect(effect);
}
void EffectsListView::slotUpdateInfo()
}
void EffectsListView::slotUpdateInfo()
public:
EffectsListView(QWidget *parent = 0);
public:
EffectsListView(QWidget *parent = 0);
- /** @brief Re-initializes the list of effets. */
+ /** @brief Re-initializes the list of effects. */
void reloadEffectList();
//void slotAddEffect(GenTime pos, int track, QString name);
void reloadEffectList();
//void slotAddEffect(GenTime pos, int track, QString name);
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="KComboBox" name="type_combo">
- <item>
- <property name="text">
- <string>All</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Video</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Audio</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Custom</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QToolButton" name="buttonInfo">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- <item row="1" column="0" colspan="3">
+ <item row="3" column="0" colspan="4">
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
</widget>
</widget>
</item>
</widget>
</widget>
</item>
- <item row="0" column="1">
+ <item row="1" column="0">
+ <widget class="KComboBox" name="type_combo">
+ <item>
+ <property name="text">
+ <string>All</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Video</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Audio</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Custom</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QToolButton" name="buttonInfo">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" colspan="4">
<widget class="KTreeWidgetSearchLine" name="search_effect"/>
</item>
<widget class="KTreeWidgetSearchLine" name="search_effect"/>
</item>
+ <item row="1" column="1">
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
</layout>
</widget>
<customwidgets>
</layout>
</widget>
<customwidgets>
<header>kcombobox.h</header>
</customwidget>
</customwidgets>
<header>kcombobox.h</header>
</customwidget>
</customwidgets>
- <tabstops>
- <tabstop>type_combo</tabstop>
- <tabstop>buttonInfo</tabstop>
- </tabstops>
<resources/>
<connections/>
</ui>
<resources/>
<connections/>
</ui>