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();
48 QString getKeysetName();
55 void filterListByMake(
58 void filterListByString(
61 void openKeysetDialog(
64 void on_searchStringLineEdit_textChanged(const QString &arg1);
65 void on_ssClosePushButton_clicked();
66 void on_showFavoritesCheckBox_toggled(bool checked);
71 Ui::PIRSelectKeysetForm *ui;
73 MainWindow *mainWindow;
74 PIREditKeysetDialog *editDialog;
76 bool showOnlyFavorites;
77 PIRMakeName currentMake;
81 #endif // PIRSELECTKEYSETFORM_H