File indexing completed on 2025-01-05 03:35:24
0001 /* 0002 File : AspectDock.h 0003 Project : LabPlot 0004 Description : widget for aspect properties showing name and comments only 0005 -------------------------------------------------------------------- 0006 SPDX-FileCopyrightText: 2021 Alexander Semke <alexander.semke@web.de> 0007 0008 SPDX-License-Identifier: GPL-2.0-or-later 0009 */ 0010 0011 #ifndef ASPECTDOCK_H 0012 #define ASPECTDOCK_H 0013 0014 #include "kdefrontend/dockwidgets/BaseDock.h" 0015 #include "ui_aspectdock.h" 0016 0017 class AbstractAspect; 0018 template<class T> 0019 class QList; 0020 0021 class AspectDock : public BaseDock { 0022 Q_OBJECT 0023 0024 public: 0025 explicit AspectDock(QWidget*); 0026 void setAspects(QList<AbstractAspect*>); 0027 0028 private: 0029 Ui::AspectDock ui; 0030 0031 private Q_SLOTS: 0032 void aspectDescriptionChanged(const AbstractAspect*); 0033 }; 0034 0035 #endif // ASPECT_H