OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
componentlistwidget.hpp
Go to the documentation of this file.
1 #ifndef COMPONENTLISTWIDGET_HPP
2 #define COMPONENTLISTWIDGET_HPP
3 
4 #include <QListWidget>
5 
7 {
8  Q_OBJECT
9 
10  Q_PROPERTY(QStringList mCheckedItems READ checkedItems)
11 
12 public:
13  ComponentListWidget(QWidget *parent = 0);
14 
15  QStringList mCheckedItems;
16  QStringList checkedItems();
17 
18 signals:
19  void checkedItemsChanged(const QStringList &items);
20 
21 private slots:
22  void updateCheckedItems(QListWidgetItem *item);
23  void updateCheckedItems(const QModelIndex &index, int start, int end);
24 };
25 
26 #endif // COMPONENTLISTWIDGET_HPP
static const struct @2 signals[]
void updateCheckedItems(QListWidgetItem *item)
Definition: componentlistwidget.cpp:29
QStringList checkedItems()
Definition: componentlistwidget.cpp:18
QStringList mCheckedItems
Definition: componentlistwidget.hpp:10
Definition: componentlistwidget.hpp:6
ComponentListWidget(QWidget *parent=0)
Definition: componentlistwidget.cpp:6
void checkedItemsChanged(const QStringList &items)