Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Pierogi
Summary Forums Tracker Lists Tasks Docs News SCM Files
1 #ifndef SELECTIONWINDOW_H
2 #define SELECTIONWINDOW_H
4 #include "pirmakenames.h"
6 #include <QWidget>
7 #include <QListWidget>
8 #include <QLabel>
9 #include <QComboBox>
10 #include <QGridLayout>
11 #include <QString>
14 class SelectionWindow : public QWidget
15 {
16   Q_OBJECT
17   
18 public:
19   explicit SelectionWindow(
20     QWidget *parent = 0);
22   ~SelectionWindow();
24   void addNameToList(
25     QString name,
26     unsigned int index,
27     PIRMakeName make);
29 private slots:
30   void filterListByMake(
31     int make);
33 private:
34   QListWidget *nameListWidget;
35   QLabel *makeLabel;
36   QComboBox *makeComboBox;
37   QGridLayout *layout;
38 };
41 #endif // SELECTIONWINDOW_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment