1 #ifndef PIRSELECTKEYSETFORM_H
2 #define PIRSELECTKEYSETFORM_H
7 #include "pirmakenames.h"
10 class QListWidgetItem;
11 class PIRKeysetWidgetItem;
13 class PIREditKeysetDialog;
17 class PIRSelectKeysetForm;
20 class PIRSelectKeysetForm : public QWidget
25 // explicit PIRSelectKeysetForm(QWidget *parent = 0);
30 ~PIRSelectKeysetForm();
40 PIRKeysetWidgetItem *kwi);
42 // This is a bit of a hack, but not sure how to create a connection otherwise.
43 QListWidget *getKeysetListWidget();
45 bool selectNextKeyset();
46 bool selectPrevKeyset();
47 bool selectFirstKeyset();
49 QString getKeysetName();
51 void openCurrentKeysetDialog();
54 unsigned int targetID);
61 void filterListByMake(
64 void filterListByString(
67 void openKeysetDialog(
70 void on_searchStringLineEdit_textChanged(const QString &arg1);
71 void on_ssClosePushButton_clicked();
72 void on_showFavoritesCheckBox_toggled(bool checked);
77 Ui::PIRSelectKeysetForm *ui;
79 MainWindow *mainWindow;
80 PIREditKeysetDialog *editDialog;
82 bool showOnlyFavorites;
83 PIRMakeName currentMake;
87 #endif // PIRSELECTKEYSETFORM_H