adsfolio.gui.appearance

Table and metadata-pane appearance preferences.

class adsfolio.gui.appearance.AppearanceDialog(config, table_columns, detail_rows, parent=None)[source]

Bases: PySide6.QtWidgets.QDialog

Configure table and metadata fonts plus timestamp formatting.

Parameters:
property column_alignments: dict[str, str][source]

Return the selected non-default alignment for each column.

property column_fonts: dict[str, dict[str, Any]][source]

Return serializable font settings for table columns and detail pane.

property detail_compact_rows: bool[source]

Return whether row actions belong in the field context menu.

property detail_fonts: dict[str, dict[str, Any]][source]

Return serializable per-row typography for the detail pane.

property detail_hidden_rows: list[str][source]

Return detail row keys configured as hidden.

property detail_label_bold: bool[source]

Return whether detail-pane field labels should be bold.

property detail_row_order: list[str][source]

Return detail row keys in their configured display order.

property detail_row_spacing: int | None[source]

Return optional pixel separation between detail rows.

property expand_abstracts: bool[source]

Return whether abstracts should start expanded.

property filename_click_action: str[source]

Return the action used when a table filename is clicked.

property hidden_table_columns: list[str][source]

Return table-column keys configured as hidden.

Return whether links activate on a “double” or “single” click.

property pdf_viewer_command: str | None[source]

Return the optional command used to open local PDF files.

settings_changed
property show_edit_buttons: bool[source]

Return whether detail-row edit buttons should be shown.

property show_lock_buttons: bool[source]

Return whether detail-row lock buttons should be shown.

staticMetaObject = PySide6.QtCore.QMetaObject("AppearanceDialog" inherits "QDialog": Methods:   #41 type=Signal, signature=settings_changed() )
property table_column_order: list[str][source]

Return table-column keys in their configured visual order.

property table_row_height: int | None[source]

Return an optional fixed main-table row height.

property timestamp_format_value: str[source]

Return the selected timestamp format.

property web_browser_command: str | None[source]

Return the optional command used to open external links.