还是一堆bug的状态
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
#pragma once
|
||||
#include <QBoxLayout>
|
||||
#include <QLayoutItem>
|
||||
#include <QMargins>
|
||||
#include "Base.h"
|
||||
namespace Psc {
|
||||
#include "global.h"
|
||||
namespace Flex_Qt {
|
||||
class Layout : public Layout_Item {
|
||||
public:
|
||||
explicit Layout(Qt::Orientation orientation = Qt::Horizontal) : orientation(orientation) {
|
||||
}
|
||||
explicit Layout(Qt::Orientation orientation = Qt::Horizontal) : orientation(orientation) {}
|
||||
int space = 8;
|
||||
QMargins margins = {8, 8, 8, 8};
|
||||
std::vector<Layout_Item*> items;
|
||||
@@ -18,4 +14,4 @@ protected:
|
||||
template <typename T>
|
||||
void layout_impl();
|
||||
};
|
||||
} // namespace Psc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user