添加creeper-qt最新依赖
This commit is contained in:
44
components/hand-view.cc
Normal file
44
components/hand-view.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
//
|
||||
// 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},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user