Warning, file /plasma/latte-dock/app/settings/settingsdialog/layoutstableview.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef LAYOUTSTABLEVIEW_H
0007 #define LAYOUTSTABLEVIEW_H
0008 
0009 // Qt
0010 #include <QLabel>
0011 #include <QPaintEvent>
0012 #include <QTableView>
0013 #include <QDragEnterEvent>
0014 
0015 namespace Latte {
0016 namespace Settings {
0017 namespace View {
0018 
0019 class LayoutsTableView : public QTableView
0020 {
0021     Q_OBJECT
0022 public:
0023     LayoutsTableView(QWidget *parent = nullptr);
0024 
0025     void dragEntered(QDragEnterEvent *event);
0026     void dragLeft();
0027 
0028 protected:
0029     void paintEvent(QPaintEvent *event) override;
0030 
0031 private:
0032     QLabel *m_overlayDropMessage;
0033 
0034 
0035 };
0036 
0037 }
0038 }
0039 }
0040 #endif