mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-05-30 02:49:12 -04:00
27 lines
524 B
C++
27 lines
524 B
C++
// Copyright (C) 2024-2026 Petr Mironychev
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
class QLabel;
|
|
class QVBoxLayout;
|
|
|
|
namespace QodeAssist::Settings {
|
|
|
|
class SectionBox : public QWidget
|
|
{
|
|
public:
|
|
explicit SectionBox(const QString &title, QWidget *parent = nullptr);
|
|
|
|
QVBoxLayout *bodyLayout() const { return m_bodyLayout; }
|
|
|
|
private:
|
|
QLabel *m_title = nullptr;
|
|
QWidget *m_body = nullptr;
|
|
QVBoxLayout *m_bodyLayout = nullptr;
|
|
};
|
|
|
|
} // namespace QodeAssist::Settings
|