Added antialiasing
This commit is contained in:
parent
6dfe86335d
commit
e6bbaabde4
|
@ -95,7 +95,7 @@ namespace display {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else if(!pinConnections.empty()) {
|
||||
auto pinConnection = pinConnections[0];
|
||||
if(auto busConnection = dynamic_cast<domain::BusConnectionInstance*>(pinConnection)) {
|
||||
menu.addSection(QString::fromStdString(busConnection->bus->name));
|
||||
|
|
|
@ -13,6 +13,8 @@ namespace display {
|
|||
Schema::Schema() {
|
||||
schema = nullptr;
|
||||
library = std::nullopt;
|
||||
setRenderHint(QPainter::Antialiasing);
|
||||
setAlignment(Qt::AlignCenter);
|
||||
this->setScene(&scene);
|
||||
this->setAcceptDrops(true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue