Implement Properties
Implement a properties sidebar. In order to prevent the UI from freezing, we use futures to load and cancel loading file information. We also make use of `gdk_pixbuf` and `svg_metadata` in order to get the file's metadata before the file fully loads, meaning there's little to no delay between changing files and seeing the metadata for large images. The properties widget uses expressions and properties to avoid glue code for setting each label, allowing us to have a clean separation between UI and data.
This commit is contained in:
parent
1e95dd4cbb
commit
ba4661031f
12 changed files with 664 additions and 45 deletions
|
|
@ -5,6 +5,8 @@
|
|||
<file compressed="true" preprocess="xml-stripblanks">gtk/window.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">gtk/image_page.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">gtk/image_view.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">gtk/properties_view.ui</file>
|
||||
<file>style.css</file>
|
||||
<file>style-hc.css</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue