1 #ifndef PIRSELECTKEYSETFORM_H
2 #define PIRSELECTKEYSETFORM_H
7 #include "pirmakenames.h"
10 class QListWidgetItem;
13 class PIRKeysetWidgetItem;
14 class PIREditKeysetDialog;
18 class PIRSelectKeysetForm;
21 class PIRSelectKeysetForm : public QWidget
26 // explicit PIRSelectKeysetForm(QWidget *parent = 0);
31 ~PIRSelectKeysetForm();
41 PIRKeysetWidgetItem *kwi);
43 // This is a bit of a hack, but not sure how to create a connection otherwise.
44 QListWidget *getKeysetListWidget();
46 bool selectNextKeyset();
47 bool selectPrevKeyset();
48 bool selectFirstKeyset();
50 QString getCurrentKeysetName();
52 QString getKeysetName(
55 void openCurrentKeysetDialog();
58 unsigned int targetID);
60 void populateKeysetComboBox(
68 void filterListByMake(
71 void filterListByString(
74 void openKeysetDialog(
77 void on_searchStringLineEdit_textChanged(const QString &arg1);
78 void on_ssClosePushButton_clicked();
79 void on_showFavoritesCheckBox_toggled(bool checked);
84 Ui::PIRSelectKeysetForm *ui;
86 MainWindow *mainWindow;
87 PIREditKeysetDialog *editDialog;
89 bool showOnlyFavorites;
90 PIRMakeName currentMake;
94 #endif // PIRSELECTKEYSETFORM_H