class QTreeWidgetItem;
class QGroupBox;
class QGridLayout;
+class QDialogButtonBox;
class ConfigControl : public QObject
{
QString _name;
QWidget *widget;
bool _advanced;
+#if 0
+/* You shouldn't use that now..*/
signals:
void Updated();
+#endif
};
/*******************************************************
class StringListConfigControl : public VStringConfigControl
{
+ Q_OBJECT;
public:
StringListConfigControl( vlc_object_t *, module_config_t *, QWidget *,
bool, QGridLayout*, int& );
void finish( bool );
QLabel *label;
QComboBox *combo;
+private slots:
+ void actionRequested( int );
+
};
+
+void setfillVLCConfigCombo(const char *configname, intf_thread_t *p_intf,
+ QComboBox *combo, QWidget *parent = 0 );
+
#if 0
struct ModuleCheckBox {
QCheckBox *checkbox;
class KeyInputDialog : public QDialog
{
public:
- KeyInputDialog( QList<module_config_t *> &, const char * );
+ KeyInputDialog( QList<module_config_t *> &, const char *, QWidget * );
int keyValue;
bool conflicts;
private:
QLabel *warning;
const char * keyToChange;
QList<module_config_t*> values;
+ QDialogButtonBox *buttonBox;
+};
+
+class KeyShortcutEdit: public QLineEdit
+{
+ Q_OBJECT
+private:
+ virtual void mousePressEvent( QMouseEvent *event );
+signals:
+ void pressed();
};
class KeySelectorControl : public ConfigControl
void finish();
QLabel *label;
QTreeWidget *table;
+ KeyShortcutEdit *shortcutValue;
QList<module_config_t *> values;
private slots:
- void selectKey( QTreeWidgetItem *);
+ void setTheKey();
+ void selectKey( QTreeWidgetItem * = NULL );
+ void select1Key( QTreeWidgetItem *);
};
#endif