From 3cefe8cc8b4d6257d393e7ee83ff660d49417310 Mon Sep 17 00:00:00 2001 From: 3A <524019351@qq.com> Date: Mon, 21 Dec 2020 11:41:11 +0800 Subject: [PATCH] =?UTF-8?q?layout=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LogicalCircuit.pro | 1 + layout.h | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 layout.h diff --git a/LogicalCircuit.pro b/LogicalCircuit.pro index 567a8e0..e71b44f 100644 --- a/LogicalCircuit.pro +++ b/LogicalCircuit.pro @@ -11,6 +11,7 @@ HEADERS += \ QString.h \ gate.h \ help.h \ + layout.h \ lefParser.h \ lefStru.h \ node.h \ diff --git a/layout.h b/layout.h new file mode 100644 index 0000000..48e6e7f --- /dev/null +++ b/layout.h @@ -0,0 +1,19 @@ +#pragma once +#include "node.h" +#include "lefParser.h" + +class layout +{ +private: + nodeManager* manager; + lefParser lp; + int width; + int heigh; + +public: + layout(nodeManager* manager, lefParser lp, int width, int heigh) : + manager(manager), lp(lp), width(width), heigh(heigh) + { + //进行布局 + } +};