Inital commit
This commit is contained in:
30
desktopfilewidget.h
Normal file
30
desktopfilewidget.h
Normal file
@ -0,0 +1,30 @@
|
||||
#ifndef DESKTOPFILEWIDGET_H
|
||||
#define DESKTOPFILEWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QCheckBox>
|
||||
#include "desktopfile.h"
|
||||
|
||||
namespace Ui {
|
||||
class DesktopFileWidget;
|
||||
}
|
||||
|
||||
class DesktopFileWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DesktopFileWidget(const DesktopFile& desktopfile, QWidget *parent = nullptr);
|
||||
~DesktopFileWidget();
|
||||
|
||||
bool isChecked();
|
||||
|
||||
protected:
|
||||
|
||||
virtual void mousePressEvent(QMouseEvent* event);
|
||||
|
||||
private:
|
||||
Ui::DesktopFileWidget *ui;
|
||||
};
|
||||
|
||||
#endif // DESKTOPFILEWIDGET_H
|
Reference in New Issue
Block a user