mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 13:52:23 +00:00
Add performance stats overlay in status bar
Show FPS, frame time, visible/total objects, and visible/total triangles in the status bar. Toggled via Settings > Show Performance Stats, persisted in app settings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -34,8 +34,12 @@ public:
|
||||
QString geometryLibrary() const;
|
||||
void setGeometryLibrary(const QString& value);
|
||||
|
||||
bool showStats() const;
|
||||
void setShowStats(bool value);
|
||||
|
||||
signals:
|
||||
void geometryLibraryChanged(const QString& value);
|
||||
void showStatsChanged(bool value);
|
||||
|
||||
private:
|
||||
AppSettings();
|
||||
@@ -43,6 +47,7 @@ private:
|
||||
void persist();
|
||||
|
||||
QString geometry_library_;
|
||||
bool show_stats_ = false;
|
||||
};
|
||||
|
||||
#endif // APPSETTINGS_H
|
||||
|
||||
Reference in New Issue
Block a user