25 lines
		
	
	
		
			474 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			474 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef CHECKLISTVIEWWIDGET_H
 | |
| #define CHECKLISTVIEWWIDGET_H
 | |
| 
 | |
| #include <QObject>
 | |
| #include <QWidget>
 | |
| #include <mainwindow.h>
 | |
| 
 | |
| #include <check/check.h>
 | |
| 
 | |
| class CheckListViewWidget : public QWidget
 | |
| {
 | |
|     Q_OBJECT
 | |
|     Check check;
 | |
|     MainWindow* mw;
 | |
| public:
 | |
|     explicit CheckListViewWidget(QWidget *parent = nullptr, Check check = Check());
 | |
| 
 | |
|     Check &get_check();
 | |
|     void delete_button_pressed();
 | |
| signals:
 | |
|     Check deleteButtonPressed();
 | |
| };
 | |
| 
 | |
| #endif // CHECKLISTVIEWWIDGET_H
 |