Commit 3e8dca47 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: use searchLineEdit in plugins dialog.

parent 76911abd
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#include "plugins.hpp" #include "plugins.hpp"
#include "util/customwidgets.hpp"
//#include <vlc_modules.h> //#include <vlc_modules.h>
#include <QTreeWidget> #include <QTreeWidget>
...@@ -69,7 +71,7 @@ PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf ) ...@@ -69,7 +71,7 @@ PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
treePlugins->sortByColumn( 1, Qt::AscendingOrder ); treePlugins->sortByColumn( 1, Qt::AscendingOrder );
QLabel *label = new QLabel( _("&Search:"), this ); QLabel *label = new QLabel( _("&Search:"), this );
edit = new QLineEdit; edit = new SearchLineEdit( this );
label->setBuddy( edit ); label->setBuddy( edit );
layout->addWidget( label, 1, 0 ); layout->addWidget( label, 1, 0 );
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
class QTreeWidget; class QTreeWidget;
class QLineEdit; class QLineEdit;
class SearchLineEdit;
class PluginDialog : public QVLCFrame class PluginDialog : public QVLCFrame
{ {
Q_OBJECT; Q_OBJECT;
...@@ -39,7 +40,7 @@ private: ...@@ -39,7 +40,7 @@ private:
virtual ~PluginDialog(); virtual ~PluginDialog();
QTreeWidget *treePlugins; QTreeWidget *treePlugins;
QLineEdit *edit; SearchLineEdit *edit;
private slots: private slots:
void search( const QString ); void search( const QString );
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment