version 2.22.0

blockview small code clean
add PIValueTree to BLockItem, BlockItemPin and BlockBusItem
add QAD::CursorOverrider::restore()
fix QCodeEdit escape key while block selection
This commit is contained in:
2024-01-14 11:45:28 +03:00
parent e2a91a4fbd
commit c3dcf36a20
10 changed files with 135 additions and 48 deletions

View File

@@ -110,6 +110,8 @@ public:
void saveState();
void restoreState();
PIValueTree & values() { return value_tree; }
enum {
Type = UserType + 2
};
@@ -151,6 +153,7 @@ protected:
QImage im_bus, im_end;
QPolygonF pol, bpol, pol_s;
Qt::KeyboardModifiers mm_mods;
PIValueTree value_tree;
bool temp_, square_node;
double pen_width, grid_step, im_bus_scale, im_end_scale;
int selPoint, selSegment, max_ep, bus_type, state_;