命名规范

This commit is contained in:
2026-07-29 12:30:40 +08:00
parent ae07e67619
commit 5a3511bb58
261 changed files with 8776 additions and 8831 deletions
+21
View File
@@ -0,0 +1,21 @@
#pragma once
#include <QBoxLayout>
#include <QLayoutItem>
#include <QMargins>
#include "Base.h"
namespace Psc {
class Layout : public Layout_Item {
public:
explicit Layout(Qt::Orientation orientation = Qt::Horizontal) : orientation(orientation) {
}
int space = 8;
QMargins margins = {8, 8, 8, 8};
QVector<Layout_Item*> items;
Qt::Orientation orientation = Qt::Horizontal;
void layout();
Direction direction = Direction::Default;
protected:
template <typename T>
void layout_impl();
};
} // namespace Psc