mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-16 18:44:47 +00:00
Interface mockup 7
This commit is contained in:
@@ -62,7 +62,7 @@ QWidget* makeRelationshipList(const QList<ifcinterface::panels::properties::Rela
|
||||
row_data.value,
|
||||
"keyValueValueLabel",
|
||||
":/icons/cursor-pointer.svg",
|
||||
"relationshipIconLabel",
|
||||
"keyValueTrailingIconLabel",
|
||||
72});
|
||||
}
|
||||
return new ifcinterface::components::KeyValueTable(table_rows, parent);
|
||||
@@ -101,7 +101,7 @@ void PropertiesPanelWidget::render(const PropertiesPanelState& state) {
|
||||
auto* entity_class = new QLabel(state.entity.entity_class, entity_text);
|
||||
entity_class->setObjectName("entityClassLabel");
|
||||
auto* entity_type = new QLabel(state.entity.predefined_type, entity_text);
|
||||
entity_type->setObjectName("entityTypeLabel");
|
||||
entity_type->setProperty("textRole", "secondary");
|
||||
entity_text_layout->addWidget(entity_class);
|
||||
entity_text_layout->addWidget(entity_type);
|
||||
entity_layout->addWidget(entity_icon, 0, Qt::AlignVCenter);
|
||||
|
||||
@@ -44,6 +44,7 @@ TodoPanelWidget::TodoPanelWidget(const QString& title, QWidget* parent)
|
||||
auto* heading = new QLabel(title, body);
|
||||
|
||||
auto* content = new QLabel("Coming soon", body);
|
||||
content->setProperty("textRole", "disabled");
|
||||
content->setAlignment(Qt::AlignCenter);
|
||||
|
||||
body_layout->addWidget(heading);
|
||||
|
||||
Reference in New Issue
Block a user