QString getName() const
{ return name; }
+
+ QColor setColor(const QColor& newColor) {
+ QColor lastcolor = currentColor;
+ currentColor = newColor;
+ return lastcolor;
+ }
+
+ const QColor defaultColor = QColor(0xcc, 0xcc, 0xff, 0xff);
+ const QColor highlightColor = QColor(0xff, 0x99, 0xff, 0xff);
private:
void updateFunctionName(RenameFunctionEvent* event);
void populateWidget();
uint32_t width, height;
QString name;
+ QColor currentColor;
std::unique_ptr<QGraphicsTextItem> _widget;
QTextTable* _table;
BasicBlock* block;