44 lines
1.4 KiB
C++
44 lines
1.4 KiB
C++
//
|
|
// Created by Lenn on 2025/11/24.
|
|
//
|
|
#include "component.hh"
|
|
#include "base/globalhelper.hh"
|
|
#include "creeper-qt/utility/theme/theme.hh"
|
|
#include "creeper-qt/utility/wrapper/layout.hh"
|
|
#include "creeper-qt/utility/wrapper/widget.hh"
|
|
#include "creeper-qt/layout/flow.hh"
|
|
#include "creeper-qt/layout/linear.hh"
|
|
#include "creeper-qt/widget/cards/basic-card.hh"
|
|
#include <concepts>
|
|
#include <creeper-qt/utility/material-icon.hh>
|
|
#include <creeper-qt/utility/wrapper/mutable-value.hh>
|
|
#include <creeper-qt/widget/buttons/icon-button.hh>
|
|
#include <creeper-qt/widget/cards/filled-card.hh>
|
|
#include <creeper-qt/widget/cards/outlined-card.hh>
|
|
#include <creeper-qt/widget/dropdown-menu.hh>
|
|
#include <creeper-qt/widget/image.hh>
|
|
#include <creeper-qt/widget/shape/wave-circle.hh>
|
|
#include <creeper-qt/widget/sliders.hh>
|
|
#include <creeper-qt/widget/switch.hh>
|
|
#include <creeper-qt/widget/text-fields.hh>
|
|
#include <creeper-qt/widget/text.hh>
|
|
#include <creeper-qt/widget/buttons/icon-button.hh>
|
|
#include <cstddef>
|
|
#include <iterator>
|
|
#include <qcontainerfwd.h>
|
|
#include <qlogging.h>
|
|
#include <qnamespace.h>
|
|
#include <ranges>
|
|
#include <utility>
|
|
|
|
using namespace creeper;
|
|
namespace capro = card::pro;
|
|
namespace lnpro = linear::pro;
|
|
namespace ibpro = icon_button::pro;
|
|
|
|
auto HandViewComponent(HandViewComponentState& state) noexcept -> raw_pointer<QWidget> {
|
|
return new FilledCard {
|
|
capro::ThemeManager{state.manager},
|
|
capro::SizePolicy {QSizePolicy::Expanding},
|
|
};
|
|
} |