libsysprof-ui: land new UI design

This comprises a massive rewrite of the UI for browsing captures. We use
the SysprofAid class to scan capture files for content and then auto-
matically add visualizers and details pages.

To avoid breaking things incrementally, we just land this as a very large
commit. Not necessarily ideal, but given the amount of stuff that could
break, this is easier.

As part of this process, we're removing a lot of the surface API so that
we can limit how much we need to maintain in terms of ABI.
This commit is contained in:
Christian Hergert
2019-06-24 20:28:18 -07:00
parent a40564cdda
commit e8528609ec
99 changed files with 10571 additions and 5538 deletions

View File

@ -14,11 +14,40 @@
</packing>
</child>
<child>
<object class="SysprofCaptureView" id="capture_view">
<object class="DzlMultiPaned">
<property name="orientation">vertical</property>
<property name="visible">true</property>
<child>
<object class="SysprofVisualizersFrame" id="visualizers">
<property name="vexpand">false</property>
<property name="visible">true</property>
</object>
</child>
<child>
<object class="GtkSeparator">
<property name="orientation">horizontal</property>
<property name="visible">true</property>
</object>
</child>
<child>
<object class="GtkStack" id="pages">
<property name="homogeneous">false</property>
<property name="vexpand">true</property>
<property name="visible">true</property>
<child>
<object class="SysprofDetailsPage" id="details">
<property name="visible">true</property>
</object>
<packing>
<property name="title" translatable="yes">Details</property>
<property name="name">details</property>
</packing>
</child>
</object>
</child>
</object>
<packing>
<property name="name">capture</property>
<property name="name">view</property>
</packing>
</child>
<child>
@ -26,14 +55,11 @@
<property name="visible">true</property>
</object>
<packing>
<property name="name">recording</property>
<property name="name">record</property>
</packing>
</child>
<child>
<object class="SysprofEmptyStateView" id="failed_view">
<property name="icon-name">computer-fail-symbolic</property>
<property name="title" translatable="yes">Something went wrong</property>
<property name="subtitle" translatable="yes">Sysprof failed to access the requested performance data.</property>
<object class="SysprofFailedStateView" id="failed_view">
<property name="visible">true</property>
</object>
<packing>