code brush
This commit is contained in:
@@ -64,6 +64,7 @@ class QAD_BLOCKVIEW_EXPORT BlockView: public QGraphicsView
|
||||
Q_PROPERTY(QRectF _nav READ _nav WRITE _setNav DESIGNABLE false SCRIPTABLE false)
|
||||
|
||||
friend class BlockBusItem;
|
||||
friend class BlockItemPin;
|
||||
|
||||
public:
|
||||
BlockView(QWidget * parent = 0);
|
||||
@@ -174,6 +175,7 @@ protected:
|
||||
virtual void copyBlocks(QList<BlockItem * > items, QPointF offset) {}
|
||||
virtual void copyBuses(QList<BlockBusItem * > items, QPointF offset) {}
|
||||
virtual void newBusStarted(int bus_type) {}
|
||||
virtual void newBusCreated(BlockBusItem * bus) {}
|
||||
|
||||
QGraphicsScene * scene_;
|
||||
QGraphicsRectItem sel_rect;
|
||||
@@ -205,7 +207,7 @@ protected:
|
||||
double prev_app_scale;
|
||||
|
||||
protected slots:
|
||||
void getPinMC(bool * v) {if (v) *v = m_pin_mc;}
|
||||
void getPinMC(bool * v);
|
||||
void adjustThumb();
|
||||
void newBranch(BlockBusItem * item);
|
||||
void newBranchTrace(BlockBusItem * item, QPointF to);
|
||||
@@ -221,7 +223,6 @@ protected slots:
|
||||
void _setNav(QRectF v);
|
||||
void _navFinished();
|
||||
void startBusPointMove(int bus_type);
|
||||
void endBusPointMove();
|
||||
void pinHoverInOut(BlockItemPin * pin);
|
||||
void checkPaste(bool queued);
|
||||
void checkPaste() {checkPaste(false);}
|
||||
|
||||
Reference in New Issue
Block a user