git-svn-id: svn://db.shs.com.ru/libs@168 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -100,8 +100,10 @@ protected:
|
||||
void unmarkPins(bool to_normal = false);
|
||||
void moveBuses(const QList<QGraphicsItem * > & items, QPointF dp);
|
||||
QList<BlockBusItem * > internalBuses(const QList<BlockItem * > & items);
|
||||
QList<BlockItem * > selectedBlocks();
|
||||
double _thumb() const {return _talpha;}
|
||||
void scrollFromThumb();
|
||||
void deleteCopyTemp();
|
||||
|
||||
virtual void loadBus(BlockBusItem * bus) {}
|
||||
virtual void copyBlocks(QList<BlockItem * > items, QPointF offset) {}
|
||||
@@ -113,6 +115,7 @@ protected:
|
||||
QGraphicsItem * mm_ci;
|
||||
QList<QGraphicsItem * > sel_items;
|
||||
QList<BlockItem * > copy_items;
|
||||
QList<BlockBusItem * > copy_buses;
|
||||
BlockBusItem tmp_bus, * match_bus, * bus_from;
|
||||
BlockViewWavetrace wavetrace;
|
||||
QPoint press_point, screen_point, thumb_press;
|
||||
@@ -140,6 +143,7 @@ protected slots:
|
||||
void removedBus(QObject * o);
|
||||
void removedBlock(QObject * o);
|
||||
void removeJunk();
|
||||
void sceneSelectionChanged();
|
||||
void _setThumb(double v);
|
||||
|
||||
public slots:
|
||||
@@ -159,7 +163,10 @@ public slots:
|
||||
void zoomIn() {zoom(1.2);}
|
||||
void zoomOut() {zoom(1. / 1.2);}
|
||||
void zoomReset();
|
||||
|
||||
|
||||
void copySelected();
|
||||
void pasteSelected();
|
||||
|
||||
void reconnectAll();
|
||||
void selectNone();
|
||||
void selectAll();
|
||||
@@ -174,6 +181,7 @@ signals:
|
||||
void actionEvent(BlockItemBase::Action action, QList<QGraphicsItem * > items);
|
||||
void blockRemoved(BlockItem * item);
|
||||
void connectionsChanged();
|
||||
void copyEnabledChanged(bool);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user