File indexing completed on 2024-06-16 05:25:06
0001 /* 0002 This file is part of the Okteta Kasten Framework, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2009, 2010 Alex Richardson <alex.richardson@gmx.de> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef KASTEN_STRUCTURESTOOLVIEW_HPP 0010 #define KASTEN_STRUCTURESTOOLVIEW_HPP 0011 0012 // Kasten gui 0013 #include <Kasten/AbstractToolView> 0014 0015 namespace Kasten { 0016 class StructureView; 0017 class StructuresTool; 0018 0019 class StructuresToolView : public AbstractToolView 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 explicit StructuresToolView(StructuresTool* tool); 0025 ~StructuresToolView() override; 0026 0027 public: // AbstractToolView API 0028 QWidget* widget() const override; 0029 QString title() const override; 0030 AbstractTool* tool() const override; 0031 0032 private: 0033 StructureView* mWidget; 0034 }; 0035 0036 } 0037 0038 #endif