#include <QObject>
#include <QList>
#include <QMap>
+#include <QPoint>
#include <set>
/// Struct to define selection model information to store/restore selection
struct SelectionInfo
{
- std::set<AttributePtr> myAttributes; /// the selected attributes
+ /// the selected attributes and indices of points if array
+ std::map<AttributePtr, int> myAttributes;
std::set<ResultPtr> myResults; /// the selected results
TopoDS_Shape myFirstResultShape; /// the first shape of feature result
TopTools_MapOfShape myLocalSelectedShapes; /// shapes of local selection
*/
virtual void processEvent(const std::shared_ptr<Events_Message>& theMessage);
+ /// Returns true if current mode of objects creation is by drag mouse
+ bool isDragModeCreation() const;
+
public slots:
/// Process sketch plane selected event
QMap<ResultPtr, Handle(AIS_Shape)> myPointsHighlight;
bool myNoDragMoving;
+
+ QPoint myMousePoint;
};