leocad/qt/lc_qselectdialog.h

37 lines
599 B
C
Raw Permalink Normal View History

#pragma once
2013-08-09 06:57:18 +02:00
#include <QDialog>
namespace Ui {
class lcQSelectDialog;
}
class lcQSelectDialog : public QDialog
{
Q_OBJECT
public:
lcQSelectDialog(QWidget* Parent, lcModel* Model);
2013-08-09 06:57:18 +02:00
~lcQSelectDialog();
2024-05-26 22:01:34 +02:00
std::vector<lcObject*> mObjects;
2013-08-09 06:57:18 +02:00
enum
{
IndexRole = Qt::UserRole
};
public slots:
void accept() override;
2013-08-09 06:57:18 +02:00
void on_selectAll_clicked();
void on_selectNone_clicked();
void on_selectInvert_clicked();
void itemChanged(QTreeWidgetItem *item, int column);
private:
Ui::lcQSelectDialog *ui;
void AddChildren(QTreeWidgetItem* ParentItem, lcGroup* ParentGroup, lcModel* Model);
2013-08-09 06:57:18 +02:00
};