#include <MainWindow.hpp>
Public Member Functions | |
| MainWindow () | |
| ~MainWindow () override=default | |
| void | showDashboard () |
| void | open_settings_window () |
| MainWindow () | |
| void | create_snapshot () |
| void | delete_selected () |
| void | mark_selected () |
| void | browse_selected () |
| void | view_snapshot_log (bool view_restore_log) |
| void | show_settings () |
| MainWindow () | |
| ~MainWindow () override | |
| MainWindow () | |
| ~MainWindow () override | |
Protected Member Functions | |
| bool | on_close_request () override |
Private Types | |
| enum class | ThemeMode { Dark , Light } |
| enum class | WizardStep { Source , Destination , Scan , Recover } |
Static Private Member Functions | |
| static std::string | result_group_label (const ScanResult &result) |
| static std::string | result_subgroup_label (const ScanResult &result) |
| static std::string | human_size (uint64_t bytes) |
| static std::string | read_language () |
| static void | save_language (const std::string &lang_code) |
| static std::string | read_theme () |
| static void | save_theme (const std::string &theme_code) |
| static std::string | cacheKey (const std::string &app, const std::string &host, const std::string &ip) |
Private Attributes | |
| Gtk::Box | mainBox {Gtk::Orientation::HORIZONTAL} |
| Gtk::Stack | stack_ |
| std::vector< Gtk::Button * > | sidebar_buttons_ |
| AboutPage | about_page_ |
| DonatePage | donate_page_ |
| DashboardPage | dashboard_page_ |
| ScanPage | scan_page_ {*this} |
| LogPage | log_page_ |
| ClamdConfig | clamdConfig_ |
| SettingsWindow * | settings_window_ = nullptr |
| BankPage * | bank_page_ = nullptr |
| QuarantinePage | quarantine_page_ |
| PhishingPage * | phishing_page_ = nullptr |
| VpnPage * | vpn_page_ = nullptr |
| UpdatePage | update_page_ |
| PrivacyPage * | privacy_page_ |
| RootGuardPage * | rootguard_page_ = nullptr |
| AntiRansomwarePage * | anti_ransomware_page_ = nullptr |
| USBScanPage * | usb_page_ = nullptr |
| SambaPage * | samba_page_ = nullptr |
| IdentityLeakPage * | identity_leak_page_ = nullptr |
| PasswordManagerPage * | password_manager_page_ = nullptr |
| BackupPage * | backup_page_ = nullptr |
| Gtk::Button * | dashboard_button_ = nullptr |
| Gtk.Box | hbox_root |
| Gtk.Box | vbox_sidebar |
| Gtk.Stack | content_stack |
| Gtk.? Widget | settings_page_widget = null |
| Gtk.? Widget | wizard_page_widget = null |
| Gtk.? Widget | about_page_widget = null |
| Gtk.? Widget | backup_page_widget = null |
| Gtk.? Widget | restore_page_widget = null |
| Gtk.? Widget | delete_page_widget = null |
| Gtk.? Widget | rsync_log_page_widget = null |
| Gtk.Button | btn_nav_snapshots |
| Gtk.Button | btn_nav_settings |
| Gtk.Button | btn_nav_wizard |
| Gtk.Button | btn_nav_about |
| Gtk.? Button | current_nav_btn = null |
| Gtk.? CssProvider | css_provider = null |
| bool | dark_mode = false |
| Gtk.? Button | btn_theme_light = null |
| Gtk.? Button | btn_theme_dark = null |
| Gtk.? ComboBoxText | lang_combo = null |
| string | current_lang = "en_US" |
| Gtk.Button | btn_backup |
| Gtk.Button | btn_restore |
| Gtk.Button | btn_delete_snapshot |
| Gtk.Button | btn_browse_snapshot |
| Gee.ArrayList< Gtk.Image > | themed_img_list = new Gee.ArrayList<Gtk.Image>() |
| Gee.ArrayList< string > | themed_img_name = new Gee.ArrayList<string>() |
| Gee.ArrayList< int > | themed_img_size = new Gee.ArrayList<int>() |
| SettingsWindow? | embedded_settings = null |
| SetupWizardWindow? | embedded_wizard = null |
| SnapshotListBox | snapshot_list_box |
| Gtk.Image | img_shield |
| Gtk.Label | lbl_status_title |
| Gtk.Label | lbl_status_detail |
| Gtk.Label | lbl_snap_count |
| Gtk.Label | lbl_free_space |
| Gtk.Label | lbl_device_name |
| uint | tmr_init |
| int | def_width = 500 |
| int | def_height = -1 |
| int | compact_window_width = 980 |
| int | compact_window_height = 520 |
| bool | window_in_expanded_mode = false |
| ThemeMode | current_theme_ = ThemeMode::Dark |
| WizardStep | current_step_ = WizardStep::Source |
| Glib::RefPtr< Gtk::CssProvider > | css_provider_ |
| Gtk::Box | main_box_ {Gtk::Orientation::HORIZONTAL, 0} |
| Gtk::Stack | page_stack_ |
| Gtk::Box | sidebar_ {Gtk::Orientation::VERTICAL, 10} |
| Gtk::Box | dashboard_page_ {Gtk::Orientation::VERTICAL, 16} |
| Gtk::Box | recovery_page_ {Gtk::Orientation::VERTICAL, 16} |
| Gtk::Box | about_page_ {Gtk::Orientation::VERTICAL, 24} |
| Gtk::Grid | cards_grid_ |
| Gtk::Frame | card_status_ |
| Gtk::Frame | card_source_ |
| Gtk::Frame | card_update_ |
| Gtk::Label | status_card_label_ |
| Gtk::Label | source_card_label_ |
| Gtk::Label | update_card_label_ |
| Gtk::Frame | devices_frame_ |
| Gtk::ScrolledWindow | devices_scroller_ |
| Gtk::ListBox | devices_list_ |
| Gtk::Label | brand_label_ |
| Gtk::Button | btn_dashboard_ |
| Gtk::Button | btn_recovery_ |
| Gtk::Button | btn_about_ |
| Gtk::Button | btn_refresh_ |
| Gtk::Button | btn_theme_dark_ |
| Gtk::Button | btn_theme_light_ |
| Gtk::Button * | recovery_button_ = nullptr |
| Gtk::Button * | about_button_ = nullptr |
| Gtk::DropDown | lang_combo_ |
| bool | lang_changing_ = false |
| Gtk::Box | recovery_header_ {Gtk::Orientation::VERTICAL, 8} |
| Gtk::Label | recovery_title_ |
| Gtk::Label | recovery_subtitle_ |
| Gtk::Frame | wizard_frame_ |
| Gtk::Box | wizard_root_ {Gtk::Orientation::VERTICAL, 12} |
| Gtk::Stack | wizard_stack_ |
| Gtk::Box | wizard_nav_ {Gtk::Orientation::HORIZONTAL, 8} |
| Gtk::Button | btn_wizard_back_ |
| Gtk::Button | btn_wizard_next_ |
| Gtk::Label | wizard_notice_label_ |
| Gtk::Box | source_step_box_ {Gtk::Orientation::VERTICAL, 8} |
| Gtk::Label | source_step_label_ |
| Gtk::Box | source_button_row_ {Gtk::Orientation::HORIZONTAL, 8} |
| Gtk::Button | btn_open_image_ |
| Gtk::Button | btn_use_selected_device_ |
| Gtk::Button | btn_launch_elevated_ |
| Gtk::ScrolledWindow | recovery_devices_scroller_ |
| Gtk::ListBox | recovery_devices_list_ |
| Gtk::Box | destination_step_box_ {Gtk::Orientation::VERTICAL, 8} |
| Gtk::Label | destination_step_label_ |
| Gtk::Box | destination_button_row_ {Gtk::Orientation::HORIZONTAL, 8} |
| Gtk::Entry | entry_output_ |
| Gtk::Button | btn_choose_destination_ |
| Gtk::Box | scan_step_box_ {Gtk::Orientation::VERTICAL, 8} |
| Gtk::Label | scan_step_label_ |
| Gtk::ProgressBar | scan_progress_bar_ |
| Gtk::Label | scan_status_label_ |
| Gtk::Label | scan_timer_label_ |
| Gtk::Button | btn_scan_now_ |
| Gtk::Box | recover_step_box_ {Gtk::Orientation::VERTICAL, 8} |
| Gtk::Label | recover_step_label_ |
| Gtk::Frame | results_frame_ |
| Gtk::ScrolledWindow | results_scroller_ |
| Gtk::Box | results_tree_box_ {Gtk::Orientation::VERTICAL, 8} |
| Gtk::Label | results_count_label_ |
| Gtk::Label | results_selected_label_ |
| Gtk::Box | results_actions_row_ {Gtk::Orientation::HORIZONTAL, 8} |
| Gtk::Button | btn_results_select_all_ |
| Gtk::Button | btn_results_clear_ |
| Gtk::Button | btn_recover_now_ |
| Gtk::ScrolledWindow | log_scroller_ |
| Gtk::TextView | log_view_ |
| Glib::RefPtr< Gtk::TextBuffer > | log_buffer_ |
| Glib::RefPtr< Gtk::FileDialog > | file_dialog_ |
| Glib::RefPtr< Gtk::FileDialog > | folder_dialog_ |
| std::vector< DeviceInfo > | devices_ |
| std::string | selected_source_path_ |
| std::string | selected_source_label_ |
| std::string | output_dir_ |
| ScanReport | last_report_ |
| std::vector< bool > | result_selection_ |
| std::vector< Gtk::CheckButton * > | result_check_buttons_ |
| ScanWorker | scan_worker_ |
| RecoveryWorker | recovery_worker_ |
| ScanProgress | last_scan_progress_ |
| sigc::connection | scan_timer_connection_ |
| std::chrono::steady_clock::time_point | scan_started_at_ {} |
| Gtk::Box | m_mainBox { Gtk::Orientation::HORIZONTAL, 0 } |
| Gtk::Stack | m_stack |
| UIServer | m_uiServer |
| ConnectionsPage | m_connectionsPage { m_uiServer } |
| AppsPage | m_appsPage |
| NetworkPage | m_networkPage |
| RulesPage | m_rulesPage |
| StatsPage | m_statsPage |
| AboutPage | m_aboutPage |
| SettingsPage | m_settingsPage |
| TrayIcon | m_tray |
| std::unique_ptr< AlertDialog > | m_alertDialog |
| std::unique_ptr< LanguageDialog > | m_langDialog |
| std::map< std::string, ReplyAction > | m_verdictCache |
| std::vector< Gtk::Button * > | m_sidebarButtons |
| Gtk::Button * | m_activeButton = nullptr |
| Gtk::Label * | m_daemonLabel = nullptr |
| Glib::RefPtr< Gtk::CssProvider > | m_cssProvider |
| bool | m_darkMode = false |
| Gtk::Button * | m_btnLight = nullptr |
| Gtk::Button * | m_btnDark = nullptr |
| Gtk::Statusbar | m_statusbar |
| guint | m_statusCtx = 0 |
| uint64_t | m_statAllowed = 0 |
| uint64_t | m_statDenied = 0 |
| std::string | m_configFile |
| std::string | m_language |
| bool | m_protectionEnabled = true |
| std::string | m_autostartBackupFile |
| guint | m_desktopActivityTimer = 0 |
| bool | m_desktopActiveSent = true |
| std::chrono::steady_clock::time_point | m_lastUiActivity {} |
Static Private Attributes | |
| const string | THEME_CONFIG_DIR = "/etc/bastionguard-backup" |
| const string | THEME_CONFIG_FILE = "/etc/bastionguard-backup/theme.json" |
| const string | LANG_CONFIG_FILE = "/etc/bastionguard-backup/language.json" |
| static string[] | LANG_CODES |
| static string[] | LANG_NAMES |
Definition at line 53 of file MainWindow.hpp.
|
strongprivate |
|
strongprivate |
| Enumerator | |
|---|---|
| Source | |
| Destination | |
| Scan | |
| Recover | |
Definition at line 23 of file main_window.hpp.
| MainWindow::MainWindow | ( | ) |
Definition at line 39 of file MainWindow.cpp.
References _, about_page_, activate_sidebar_button(), anti_ransomware_page_, backup_page_, bank_page_, build_headerbar(), build_sidebar(), BastionGuard::Platform::cef_available(), clamdConfig_, dashboard_button_, dashboard_page_, donate_page_, identity_leak_page_, ClamdConfig::load(), log_page_, main(), mainBox, password_manager_page_, phishing_page_, privacy_page_, quarantine_page_, rootguard_page_, samba_page_, scan_page_, stack_, DashboardPage::update_from_logs(), update_page_, usb_page_, and vpn_page_.
Referenced by ClamApp::launch_main_window(), AppGtk::start_application(), and startDesktopActivityMonitor().
|
overridedefault |
Definition at line 292 of file MainWindow.cpp.
References m_connectionsPage, m_desktopActivityTimer, m_networkPage, m_tray, m_uiServer, ConnectionsPage::saveLog(), NetworkPage::saveLog(), TrayIcon::stop(), and UIServer::stop().
|
inline |
Definition at line 104 of file MainWindow.vala.
References activate_nav(), App, apply_language_env(), btn_nav_snapshots, HeaderFactory.create_main_headerbar(), current_lang, dark_mode, hbox_root, init_content(), init_delayed(), init_sidebar(), Main.live_system(), load_css(), load_language_preference(), load_theme_preference(), TeeJee.Logging.log_debug(), on_close_request(), tmr_init, update_theme_buttons(), and IconManager.use_dark.
| MainWindow::MainWindow | ( | ) |
|
override |
| MainWindow::MainWindow | ( | ) |
|
override |
|
inlineprivate |
Definition at line 657 of file MainWindow.vala.
References apply_window_mode_for_page(), content_stack, and current_nav_btn.
Referenced by MainWindow(), make_nav_btn(), and show_snapshots_page().
|
private |
Definition at line 440 of file MainWindow.cpp.
References sidebar_buttons_.
Referenced by MainWindow(), on_sidebar_about(), on_sidebar_dashboard(), on_sidebar_recovery(), and showDashboard().
|
private |
|
private |
Definition at line 680 of file MainWindow.cpp.
References m_activeButton, and m_sidebarButtons.
Referenced by makeSidebarButton().
|
private |
Definition at line 799 of file main_window.cpp.
References log_buffer_.
Referenced by activate_sidebar_button(), on_choose_destination(), on_launch_elevated(), on_recover_now(), on_recovery_completed(), on_refresh_devices(), on_scan_completed(), on_scan_now(), on_use_selected_device(), and select_source().
|
private |
|
inlineprivate |
Sets the process locale WITHOUT touching system settings. Must be called before any _() translation is evaluated. lang_code matches the .po filename: en_US, it_IT, de_DE, etc.
Definition at line 331 of file MainWindow.vala.
References TeeJee.Logging.log_debug().
Referenced by MainWindow().
|
inlineprivate |
Definition at line 482 of file MainWindow.vala.
References load_css(), and save_theme_preference().
Referenced by build_headerbar(), init_sidebar(), on_theme_dark(), and on_theme_light().
|
private |
Definition at line 595 of file main_window.cpp.
References css_provider_, current_theme_, Dark, resource(), and update_theme_buttons().
|
inlineprivate |
Definition at line 719 of file MainWindow.vala.
References compact_window_height, compact_window_width, page_requires_expanded_window(), remember_compact_window_size(), resize_main_window(), and window_in_expanded_mode.
Referenced by activate_nav(), and set_dynamic_page().
|
private |
Imposta la variabile d'ambiente LANGUAGE e reinizializza gettext. Deve essere chiamata PRIMA che qualsiasi stringa tradotta venga costruita. Poiché GTK/GLib non supportano il cambio di lingua a runtime senza riavvio, il metodo si limita a impostare l'ambiente: l'effetto si vedrà al prossimo avvio (il LanguageDialog avvisa l'utente di questo).
Definition at line 399 of file MainWindow.cpp.
|
private |
Definition at line 982 of file MainWindow.cpp.
References _, m_autostartBackupFile, m_configFile, m_protectionEnabled, m_settingsPage, SettingsPage::refreshState(), saveConfig(), SettingsPage::setProtectionEnabled(), setStatus(), and SettingsPage::setSystemIntegrationStatus().
|
private |
Definition at line 449 of file MainWindow.cpp.
References loadTheme(), m_btnDark, m_btnLight, m_darkMode, and saveConfig().
Referenced by buildHeaderBar().
|
inline |
Definition at line 1217 of file MainWindow.vala.
References App, Main.btrfs_mode, SnapshotRepo.mount_path, Main.repo, SnapshotListBox.selected_snapshots(), snapshot_list_box, and SnapshotRepo.snapshots_path.
Referenced by init_snapshots_page().
|
inlineprivate |
Definition at line 1310 of file MainWindow.vala.
References content_stack.
Referenced by init_snapshots_page().
|
inlineprivate |
Definition at line 1242 of file MainWindow.vala.
References check_if_deletion_running(), and restore().
Referenced by init_snapshots_page().
|
inlineprivate |
Definition at line 1288 of file MainWindow.vala.
References content_stack.
Referenced by show_settings().
|
inlineprivate |
Definition at line 1292 of file MainWindow.vala.
References content_stack.
Referenced by init_delayed(), and on_close_request().
|
private |
Definition at line 1325 of file main_window.cpp.
References about_page_, resource(), tr(), and trs().
Referenced by build_headerbar().
|
private |
Definition at line 391 of file main_window.cpp.
References card_source_, card_status_, card_update_, cards_grid_, dashboard_page_, devices_frame_, devices_list_, devices_scroller_, source_card_label_, status_card_label_, tr(), and update_card_label_.
Referenced by build_headerbar().
|
inlineprivate |
Definition at line 152 of file MainWindow.vala.
References minimize(), and themed_icon().
|
private |
Definition at line 145 of file MainWindow.cpp.
References _, minimize(), and resource().
Referenced by MainWindow().
|
private |
|
private |
Definition at line 569 of file main_window.cpp.
References build_wizard(), log_scroller_, log_view_, recovery_header_, recovery_page_, recovery_subtitle_, recovery_title_, and wizard_frame_.
Referenced by build_headerbar().
|
private |
Definition at line 254 of file main_window.cpp.
References about_button_, brand_label_, btn_about_, btn_dashboard_, btn_recovery_, btn_refresh_, btn_theme_dark_, btn_theme_light_, dashboard_button_, lang_combo_, on_language_changed(), read_language(), recovery_button_, resource(), sidebar_, sidebar_buttons_, and tr().
|
private |
Definition at line 198 of file MainWindow.cpp.
References _, BastionGuard::Platform::cef_available(), dashboard_button_, mainBox, open_settings_window(), resource(), sidebar_buttons_, and stack_.
Referenced by build_headerbar(), and MainWindow().
|
private |
Definition at line 452 of file main_window.cpp.
References btn_choose_destination_, btn_launch_elevated_, btn_open_image_, btn_recover_now_, btn_results_clear_, btn_results_select_all_, btn_scan_now_, btn_use_selected_device_, btn_wizard_back_, btn_wizard_next_, destination_button_row_, destination_step_box_, destination_step_label_, entry_output_, recover_step_box_, recover_step_label_, recovery_devices_list_, recovery_devices_scroller_, results_actions_row_, results_count_label_, results_frame_, results_scroller_, results_selected_label_, results_tree_box_, scan_progress_bar_, scan_status_label_, scan_step_box_, scan_step_label_, scan_timer_label_, source_button_row_, source_step_box_, source_step_label_, tr(), wizard_frame_, wizard_nav_, wizard_notice_label_, wizard_root_, and wizard_stack_.
Referenced by build_headerbar(), and build_recovery_page().
|
private |
Definition at line 470 of file MainWindow.cpp.
References _, applyTheme(), m_btnDark, m_btnLight, m_darkMode, minimize(), resource(), and showLanguageDialog().
|
private |
Definition at line 549 of file MainWindow.cpp.
References _, m_daemonLabel, m_mainBox, makeSidebarButton(), and resource().
|
staticprivate |
Definition at line 808 of file MainWindow.cpp.
Referenced by onNewConnection(), and onVerdict().
|
inlineprivate |
Definition at line 1248 of file MainWindow.vala.
References _, App, open_delete_flow(), Main.thread_delete_running, and ui_sensitive().
Referenced by btn_restore_clicked(), and create_snapshot().
|
inline |
Definition at line 1152 of file MainWindow.vala.
References App, SnapshotRepo.available(), Main.btrfs_mode, Main.check_btrfs_layout_system(), check_if_deletion_running(), open_backup_flow(), Main.repo, SnapshotRepo.status_details, SnapshotRepo.status_message, and ui_sensitive().
Referenced by init_snapshots_page().
|
inline |
Definition at line 1163 of file MainWindow.vala.
References _, App, SnapshotRepo.available(), Main.delete_list, TeeJee.GtkHelper.gtk_dialog_run(), SnapshotRepo.has_snapshots(), open_delete_flow(), Main.repo, SnapshotListBox.selected_snapshots(), snapshot_list_box, SnapshotRepo.status_message, Main.thread_delete_running, and ui_sensitive().
Referenced by init_snapshots_page().
|
private |
Definition at line 1321 of file main_window.cpp.
Referenced by on_language_changed().
|
staticprivate |
Definition at line 1560 of file main_window.cpp.
Referenced by on_dashboard_device_activated(), on_language_changed(), on_use_selected_device(), populate_device_lists(), and populate_scan_results().
|
inlineprivate |
Definition at line 820 of file MainWindow.vala.
References _, about_page_widget, content_stack, IconManager.lookup_image(), and make_card().
Referenced by init_content().
|
inlineprivate |
Definition at line 906 of file MainWindow.vala.
References content_stack, hbox_root, init_about_page(), init_settings_page(), init_snapshots_page(), and init_wizard_page().
Referenced by MainWindow().
|
inlineprivate |
Definition at line 1103 of file MainWindow.vala.
References App, SnapshotRepo.available(), Main.backup_parent_uuid, btn_wizard_clicked(), Main.btrfs_mode, Main.first_run, SnapshotRepo.from_uuid(), refresh_all(), Main.repo, and tmr_init.
Referenced by MainWindow().
|
inlineprivate |
Definition at line 801 of file MainWindow.vala.
References content_stack, SettingsWindow.detach_root_widget(), embedded_settings, SettingsWindow.request_close(), settings_page_widget, SettingsWindow.SettingsWindow(), and show_snapshots_page().
Referenced by init_content().
|
inlineprivate |
Definition at line 508 of file MainWindow.vala.
References _, apply_theme(), btn_nav_about, btn_nav_settings, btn_nav_snapshots, btn_nav_wizard, btn_theme_dark, btn_theme_light, current_lang, hbox_root, LANG_CODES, lang_combo, LANG_NAMES, IconManager.lookup_image(), make_nav_btn(), make_theme_btn(), on_language_changed(), update_theme_buttons(), and vbox_sidebar.
Referenced by MainWindow().
|
inlineprivate |
Definition at line 931 of file MainWindow.vala.
References _, browse_selected(), SnapshotListBox.browse_selected(), btn_about_clicked(), btn_backup, btn_browse_snapshot, btn_delete_snapshot, btn_restore, btn_restore_clicked(), content_stack, create_snapshot(), delete_selected(), SnapshotListBox.delete_selected(), img_shield, lbl_device_name, lbl_free_space, lbl_snap_count, lbl_status_detail, lbl_status_title, IconManager.lookup(), make_action_btn(), make_card(), mark_selected(), SnapshotListBox.mark_selected(), IconManager.SHIELD_HIGH, snapshot_list_box, SnapshotListBox.SnapshotListBox(), view_snapshot_log(), and SnapshotListBox.view_snapshot_log().
Referenced by init_content().
|
inlineprivate |
Definition at line 810 of file MainWindow.vala.
References content_stack, SetupWizardWindow.detach_root_widget(), embedded_wizard, SetupWizardWindow.request_close(), SetupWizardWindow.SetupWizardWindow(), show_snapshots_page(), and wizard_page_widget.
Referenced by init_content().
|
inlineprivate |
Definition at line 432 of file MainWindow.vala.
References css_provider, dark_mode, Error, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), reload_themed_icons(), ResourceHelper.resolve_css(), ResourceHelper.resource_exists(), ResourceHelper.resource_prefix(), update_theme_buttons(), and IconManager.use_dark.
Referenced by apply_theme(), and MainWindow().
|
inlineprivate |
Reads the saved language code from language.json. Returns "en_US" if the file is absent or invalid (first run).
Definition at line 266 of file MainWindow.vala.
References Error, LANG_CODES, LANG_CONFIG_FILE, TeeJee.Logging.log_debug(), and TeeJee.Logging.log_error().
Referenced by MainWindow().
|
inlineprivate |
Definition at line 200 of file MainWindow.vala.
References Error, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), and THEME_CONFIG_FILE.
Referenced by MainWindow().
|
private |
Definition at line 330 of file MainWindow.cpp.
References m_autostartBackupFile, m_configFile, m_darkMode, m_language, and m_protectionEnabled.
|
private |
Definition at line 435 of file MainWindow.cpp.
References m_cssProvider, and resource().
Referenced by applyTheme().
|
inlineprivate |
Definition at line 1078 of file MainWindow.vala.
References themed_icon().
Referenced by init_snapshots_page().
|
inlineprivate |
Definition at line 1067 of file MainWindow.vala.
Referenced by init_about_page(), and init_snapshots_page().
|
inlineprivate |
Definition at line 615 of file MainWindow.vala.
References activate_nav(), themed_icon(), and vbox_sidebar.
Referenced by init_sidebar().
|
inlineprivate |
Definition at line 637 of file MainWindow.vala.
References themed_icon().
Referenced by init_sidebar().
|
private |
Definition at line 625 of file MainWindow.cpp.
References activateSidebarButton(), m_sidebarButtons, and m_stack.
Referenced by buildSidebar().
|
inline |
Definition at line 1197 of file MainWindow.vala.
References _, App, SnapshotRepo.load_snapshots(), SnapshotListBox.refresh(), Main.repo, SnapshotListBox.selected_snapshots(), and snapshot_list_box.
Referenced by init_snapshots_page().
|
private |
Definition at line 451 of file MainWindow.cpp.
Referenced by build_headerbar(), buildHeaderBar(), and minimize_window().
|
private |
Definition at line 1313 of file main_window.cpp.
References minimize().
Referenced by on_language_changed().
|
private |
Definition at line 762 of file MainWindow.cpp.
References m_lastUiActivity, and sendDesktopActivityState().
Referenced by startDesktopActivityMonitor().
|
private |
Definition at line 844 of file main_window.cpp.
References append_log(), entry_output_, folder_dialog_, output_dir_, tr(), trs(), update_source_state(), and update_wizard_step().
Referenced by on_language_changed().
|
inlineprivate |
Definition at line 1122 of file MainWindow.vala.
References _, App, SnapshotRepo.available(), btn_wizard_clicked(), CustomMessageDialog.CustomMessageDialog(), Main.delete_file_task, Main.delete_list, Main.exit_app(), TeeJee.GtkHelper.gtk_dialog_run(), SnapshotRepo.has_space(), Main.live_system(), TeeJee.Logging.log_error(), on_close_request(), Main.repo, AsyncTask.status, SnapshotRepo.status_message, AsyncTask.stop(), Main.task, and Main.thread_delete_running.
|
overrideprotected |
Definition at line 458 of file MainWindow.cpp.
References _.
Referenced by MainWindow(), and on_close_request().
|
overrideprivate |
|
private |
Definition at line 881 of file main_window.cpp.
References current_step_, devices_, human_size(), on_sidebar_recovery(), select_source(), Source, and update_wizard_step().
Referenced by on_language_changed().
|
inlineprivate |
Definition at line 365 of file MainWindow.vala.
References _, current_lang, TeeJee.GtkHelper.gtk_dialog_run(), LANG_CODES, lang_combo, restart_application(), and save_language_preference().
Referenced by build_sidebar(), and init_sidebar().
|
private |
References hide_window(), human_size(), minimize_window(), on_choose_destination(), on_dashboard_device_activated(), on_launch_elevated(), on_open_image(), on_recover_now(), on_recovery_completed(), on_recovery_device_activated(), on_scan_completed(), on_scan_now(), on_scan_progress(), on_theme_dark(), on_theme_light(), on_use_selected_device(), on_wizard_back(), on_wizard_next(), populate_scan_results(), read_language(), read_theme(), result_group_label(), result_subgroup_label(), save_language(), save_theme(), selected_result_indices(), set_all_results_selected(), and update_selected_results_state().
|
private |
Definition at line 1015 of file main_window.cpp.
References append_log(), PrivilegeUtils::is_running_as_root(), PrivilegeUtils::launch_pkexec_relaunch(), and trs().
Referenced by on_language_changed().
|
private |
Definition at line 822 of file main_window.cpp.
References file_dialog_, on_sidebar_recovery(), select_source(), tr(), and update_wizard_step().
Referenced by on_language_changed().
|
private |
Definition at line 984 of file main_window.cpp.
References append_log(), btn_recover_now_, last_report_, on_recovery_completed(), output_dir_, recovery_worker_, ScanReport::results, RecoveryWorker::running(), selected_result_indices(), RecoveryWorker::start(), and trs().
Referenced by on_language_changed().
|
private |
Definition at line 1299 of file main_window.cpp.
References append_log(), RecoveryResult::error, RecoverySummary::exported_images, RecoveryResult::logs, RecoveryResult::ok, RecoverySummary::recovered_files, RecoveryResult::summary, trs(), and update_selected_results_state().
Referenced by on_language_changed(), and on_recover_now().
|
private |
Definition at line 894 of file main_window.cpp.
References on_use_selected_device(), and recovery_devices_list_.
Referenced by on_language_changed().
|
private |
Definition at line 817 of file main_window.cpp.
References append_log(), refresh_devices(), and trs().
Referenced by activate_sidebar_button().
|
private |
Definition at line 1053 of file main_window.cpp.
References append_log(), btn_scan_now_, current_step_, last_report_, ScanReport::logs, populate_scan_results(), Recover, ScanReport::results, scan_progress_bar_, scan_started_at_, scan_status_label_, scan_timer_connection_, scan_timer_label_, tr(), trs(), update_action_controls(), and update_wizard_step().
Referenced by on_language_changed(), and on_scan_now().
|
private |
Definition at line 940 of file main_window.cpp.
References append_log(), btn_scan_now_, PrivilegeUtils::can_read_source(), PrivilegeUtils::is_running_as_root(), last_scan_progress_, on_scan_completed(), on_scan_progress(), ScanWorker::running(), scan_progress_bar_, scan_started_at_, scan_status_label_, scan_timer_connection_, scan_timer_label_, scan_worker_, selected_source_path_, ScanWorker::start(), tr(), and trs().
Referenced by on_language_changed().
|
private |
Definition at line 1031 of file main_window.cpp.
References ScanProgress::detail, ScanProgress::fraction, last_scan_progress_, scan_progress_bar_, scan_status_label_, ScanProgress::stage, and tr().
Referenced by on_language_changed(), and on_scan_now().
|
private |
Definition at line 1435 of file main_window.cpp.
References about_button_, about_page_, activate_sidebar_button(), and page_stack_.
Referenced by activate_sidebar_button().
|
private |
Definition at line 805 of file main_window.cpp.
References activate_sidebar_button(), dashboard_button_, dashboard_page_, and page_stack_.
Referenced by activate_sidebar_button().
|
private |
Definition at line 811 of file main_window.cpp.
References activate_sidebar_button(), page_stack_, recovery_button_, and recovery_page_.
Referenced by activate_sidebar_button(), on_dashboard_device_activated(), and on_open_image().
|
private |
Definition at line 900 of file main_window.cpp.
References apply_theme(), current_theme_, Dark, and save_theme().
Referenced by on_language_changed().
|
private |
Definition at line 906 of file main_window.cpp.
References apply_theme(), current_theme_, Light, and save_theme().
Referenced by on_language_changed().
|
private |
Definition at line 866 of file main_window.cpp.
References append_log(), devices_, human_size(), recovery_devices_list_, select_source(), trs(), and update_wizard_step().
Referenced by on_language_changed(), and on_recovery_device_activated().
|
private |
Definition at line 912 of file main_window.cpp.
References current_step_, Destination, Recover, Scan, Source, and update_wizard_step().
Referenced by on_language_changed().
|
private |
Definition at line 922 of file main_window.cpp.
References current_step_, Destination, last_report_, output_dir_, Recover, ScanReport::results, Scan, selected_source_path_, Source, and update_wizard_step().
Referenced by on_language_changed().
|
private |
Definition at line 875 of file MainWindow.cpp.
References _, AlertInfo::connection, AlertInfo::has_connection, m_appsPage, m_connectionsPage, m_networkPage, m_statAllowed, m_statDenied, m_statsPage, m_tray, AppsPage::noteConnection(), NetworkPage::noteConnection(), ConnectionsPage::onNewConnection(), ConnectionsPage::saveLog(), TrayIcon::set_tooltip(), ConnectionsPage::setLastVerdict(), setStatus(), AlertInfo::text, AlertInfo::type, StatsPage::updateStats(), and AlertInfo::what.
|
private |
Definition at line 779 of file MainWindow.cpp.
References _, m_daemonLabel, m_desktopActiveSent, m_tray, pollDesktopActivity(), sendDesktopActivityState(), TrayIcon::set_tooltip(), and setStatus().
|
private |
Definition at line 792 of file MainWindow.cpp.
References _, m_daemonLabel, m_tray, TrayIcon::set_tooltip(), and setStatus().
|
private |
Definition at line 815 of file MainWindow.cpp.
References _, ALLOW_ALWAYS, ConnectionInfo::app_args, ConnectionInfo::app_comm, ConnectionInfo::app_path, cacheKey(), ConnectionInfo::dest_host, ConnectionInfo::dest_ip, ConnectionInfo::dest_port, m_alertDialog, m_appsPage, m_connectionsPage, m_networkPage, m_statAllowed, m_statDenied, m_statsPage, m_uiServer, m_verdictCache, AppsPage::noteConnection(), NetworkPage::noteConnection(), ConnectionsPage::onNewConnection(), onVerdict(), ConnectionsPage::saveLog(), UIServer::sendReply(), ConnectionsPage::setLastVerdict(), setStatus(), and StatsPage::updateStats().
|
private |
Definition at line 916 of file MainWindow.cpp.
References _, ALLOW_ALWAYS, ALLOW_ONCE, ConnectionInfo::app_comm, ConnectionInfo::app_path, cacheKey(), DENY_ALWAYS, DENY_ONCE, ConnectionInfo::dest_host, ConnectionInfo::dest_ip, m_appsPage, m_connectionsPage, m_networkPage, m_statAllowed, m_statDenied, m_statsPage, m_uiServer, m_verdictCache, AppsPage::noteConnection(), NetworkPage::noteConnection(), ConnectionsPage::saveLog(), UIServer::sendReply(), ConnectionsPage::setLastVerdict(), setStatus(), and StatsPage::updateStats().
Referenced by onNewConnection().
|
inlineprivate |
Definition at line 762 of file MainWindow.vala.
References backup_page_widget, BackupWindow.BackupWindow(), refresh_all(), set_dynamic_page(), show_snapshots_page(), and ui_sensitive().
Referenced by create_snapshot().
|
inlineprivate |
Definition at line 772 of file MainWindow.vala.
References delete_page_widget, DeleteWindow.DeleteWindow(), refresh_all(), set_dynamic_page(), show_snapshots_page(), and ui_sensitive().
Referenced by check_if_deletion_running(), and delete_selected().
|
inlineprivate |
Definition at line 782 of file MainWindow.vala.
References App, SnapshotRepo.load_snapshots(), refresh_all(), Main.repo, restore_page_widget, RestoreWindow.RestoreWindow(), set_dynamic_page(), and show_snapshots_page().
Referenced by restore().
|
inlineprivate |
Definition at line 793 of file MainWindow.vala.
References rsync_log_page_widget, RsyncLogWindow.RsyncLogWindow(), set_dynamic_page(), and show_snapshots_page().
Referenced by view_snapshot_log().
| void MainWindow::open_settings_window | ( | ) |
Definition at line 493 of file MainWindow.cpp.
References clamdConfig_, settings_window_, and SettingsWindow::SettingsWindow().
Referenced by build_sidebar(), and ClamApp::launch_main_window().
|
inlineprivate |
Definition at line 683 of file MainWindow.vala.
Referenced by apply_window_mode_for_page().
|
private |
Definition at line 751 of file MainWindow.cpp.
References sendDesktopActivityState().
Referenced by onDaemonConnected(), and startDesktopActivityMonitor().
|
private |
Definition at line 650 of file main_window.cpp.
References PrivilegeUtils::can_read_source(), devices_, devices_list_, human_size(), PrivilegeUtils::is_running_as_root(), recovery_devices_list_, selected_source_path_, tr(), and trs().
Referenced by activate_sidebar_button(), and refresh_devices().
|
private |
Definition at line 1109 of file main_window.cpp.
References Error, human_size(), Info, ScanReport::input_path, output_dir_, recover_step_label_, result_check_buttons_, result_selection_, result_subgroup_label(), ScanReport::results, results_count_label_, results_tree_box_, selected_source_label_, trs(), update_selected_results_state(), and Warning.
Referenced by on_language_changed(), and on_scan_completed().
|
staticprivate |
Definition at line 1441 of file main_window.cpp.
Referenced by build_sidebar(), and on_language_changed().
|
staticprivate |
Definition at line 1467 of file main_window.cpp.
Referenced by on_language_changed().
|
inlineprivate |
Definition at line 1114 of file MainWindow.vala.
References SnapshotListBox.refresh(), snapshot_list_box, ui_sensitive(), and update_statusbar().
Referenced by init_delayed(), open_backup_flow(), open_delete_flow(), open_restore_flow(), and settings_changed().
|
private |
Definition at line 641 of file main_window.cpp.
References devices_, DeviceEnumerator::enumerate_linux_block_devices(), populate_device_lists(), trs(), and update_card_label_.
Referenced by activate_sidebar_button(), and on_refresh_devices().
|
private |
Definition at line 1048 of file MainWindow.cpp.
References _, m_autostartBackupFile, m_protectionEnabled, m_settingsPage, SettingsPage::refreshState(), SettingsPage::setProtectionEnabled(), and SettingsPage::setSystemIntegrationStatus().
|
inlineprivate |
Definition at line 1387 of file MainWindow.vala.
References embedded_settings, embedded_wizard, IconManager.lookup(), SettingsWindow.reload_themed_icons(), SetupWizardWindow.reload_themed_icons(), themed_img_list, themed_img_name, and themed_img_size.
Referenced by load_css().
|
inlineprivate |
Definition at line 697 of file MainWindow.vala.
References compact_window_height, compact_window_width, and window_in_expanded_mode.
Referenced by apply_window_mode_for_page().
|
inlineprivate |
Definition at line 710 of file MainWindow.vala.
References Idle.
Referenced by apply_window_mode_for_page().
|
inlineprivate |
Spawns a fresh instance of the application and exits the current one. The new process reads language.json at startup and loads the correct locale before any _() call — this is the only reliable way to switch gettext locale.
Definition at line 399 of file MainWindow.vala.
References App, Error, Main.exit_app(), and TeeJee.Logging.log_error().
Referenced by on_language_changed().
|
inlineprivate |
Definition at line 1259 of file MainWindow.vala.
References _, App, Main.init_mount_list(), Snapshot.marked_for_deletion, Main.mirror_system, open_restore_flow(), SnapshotListBox.selected_snapshots(), and snapshot_list_box.
Referenced by btn_restore_clicked().
|
staticprivate |
Definition at line 1085 of file main_window.cpp.
References ScanResult::kind, LostPartitionCandidate, Partition, and ScanResult::type.
Referenced by on_language_changed().
|
staticprivate |
Definition at line 1095 of file main_window.cpp.
References FilesystemCandidate, FilesystemVolume, ScanResult::kind, LostPartitionCandidate, NtfsMetadata, NtfsVolume, Partition, and ScanResult::type.
Referenced by on_language_changed(), and populate_scan_results().
|
staticprivate |
Definition at line 1458 of file main_window.cpp.
Referenced by on_language_changed().
|
inlineprivate |
Definition at line 310 of file MainWindow.vala.
References Error, LANG_CONFIG_FILE, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), and THEME_CONFIG_DIR.
Referenced by on_language_changed().
|
staticprivate |
Definition at line 1483 of file main_window.cpp.
Referenced by on_language_changed(), on_theme_dark(), and on_theme_light().
|
inlineprivate |
Definition at line 239 of file MainWindow.vala.
References Error, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), THEME_CONFIG_DIR, and THEME_CONFIG_FILE.
Referenced by apply_theme().
|
private |
Definition at line 312 of file MainWindow.cpp.
References m_autostartBackupFile, m_configFile, m_darkMode, m_language, and m_protectionEnabled.
Referenced by applyProtectionEnabled(), and applyTheme().
|
private |
Definition at line 715 of file main_window.cpp.
References append_log(), devices_, devices_list_, last_report_, recovery_devices_list_, selected_source_label_, selected_source_path_, trs(), and update_source_state().
Referenced by activate_sidebar_button(), on_dashboard_device_activated(), on_open_image(), and on_use_selected_device().
|
private |
Definition at line 1275 of file main_window.cpp.
References Error, Info, last_report_, result_selection_, ScanReport::results, and Warning.
Referenced by on_language_changed(), on_recover_now(), and update_selected_results_state().
|
private |
Definition at line 768 of file MainWindow.cpp.
References _, m_desktopActiveSent, m_uiServer, UIServer::queueNotification(), and setStatus().
Referenced by noteDesktopActivity(), onDaemonConnected(), and pollDesktopActivity().
|
private |
Definition at line 1287 of file main_window.cpp.
References Error, Info, last_report_, result_check_buttons_, result_selection_, ScanReport::results, update_selected_results_state(), and Warning.
Referenced by on_language_changed().
|
inlineprivate |
Definition at line 751 of file MainWindow.vala.
References apply_window_mode_for_page(), and content_stack.
Referenced by open_backup_flow(), open_delete_flow(), open_restore_flow(), and open_rsync_log_page().
|
private |
Definition at line 975 of file MainWindow.cpp.
References m_statusbar, and m_statusCtx.
Referenced by applyProtectionEnabled(), onDaemonAlert(), onDaemonConnected(), onDaemonDisconnected(), onNewConnection(), onVerdict(), sendDesktopActivityState(), and showLanguageDialog().
|
inlineprivate |
Definition at line 1296 of file MainWindow.vala.
References App, Main.btrfs_mode, SnapshotRepo.device, SnapshotRepo.from_null(), SnapshotRepo.from_uuid(), Device.fstype, SnapshotRepo.load_snapshots(), refresh_all(), Main.repo, Main.save_app_config(), Main.sys_root, and Device.uuid.
|
inline |
Definition at line 1285 of file MainWindow.vala.
References btn_settings_clicked().
|
inlineprivate |
Definition at line 679 of file MainWindow.vala.
References activate_nav(), and btn_nav_snapshots.
Referenced by init_settings_page(), init_wizard_page(), open_backup_flow(), open_delete_flow(), open_restore_flow(), and open_rsync_log_page().
| void MainWindow::showDashboard | ( | ) |
Definition at line 465 of file MainWindow.cpp.
References _, activate_sidebar_button(), dashboard_button_, dashboard_page_, and stack_.
Referenced by ClamApp::launch_main_window().
|
private |
Definition at line 414 of file MainWindow.cpp.
References _, m_configFile, m_langDialog, m_language, and setStatus().
Referenced by buildHeaderBar().
|
private |
Definition at line 696 of file MainWindow.cpp.
References m_desktopActivityTimer, m_lastUiActivity, MainWindow(), noteDesktopActivity(), and pollDesktopActivity().
|
inlineprivate |
Definition at line 1379 of file MainWindow.vala.
References IconManager.lookup_image(), themed_img_list, themed_img_name, and themed_img_size.
Referenced by build_headerbar(), make_action_btn(), make_nav_btn(), and make_theme_btn().
|
inlineprivate |
Definition at line 1314 of file MainWindow.vala.
References TeeJee.GtkHelper.gtk_set_busy().
Referenced by check_if_deletion_running(), create_snapshot(), delete_selected(), open_backup_flow(), open_delete_flow(), and refresh_all().
|
private |
Definition at line 1428 of file main_window.cpp.
References btn_results_clear_, btn_results_select_all_, btn_scan_now_, last_report_, ScanReport::results, ScanWorker::running(), scan_worker_, selected_source_path_, and update_selected_results_state().
Referenced by build_headerbar(), on_scan_completed(), and update_source_state().
|
private |
Definition at line 1261 of file main_window.cpp.
References btn_recover_now_, Error, Info, last_report_, output_dir_, recovery_worker_, ScanReport::results, results_selected_label_, RecoveryWorker::running(), selected_result_indices(), selected_source_path_, trs(), and Warning.
Referenced by on_language_changed(), on_recovery_completed(), populate_scan_results(), set_all_results_selected(), and update_action_controls().
|
private |
Definition at line 743 of file main_window.cpp.
References PrivilegeUtils::can_read_source(), PrivilegeUtils::is_running_as_root(), output_dir_, recover_step_label_, scan_step_label_, selected_source_label_, selected_source_path_, source_card_label_, tr(), trs(), and update_action_controls().
Referenced by activate_sidebar_button(), on_choose_destination(), and select_source().
|
inlineprivate |
Definition at line 1320 of file MainWindow.vala.
References _, App, SnapshotRepo.check_status(), Device.device, SnapshotRepo.device, TeeJee.FileSystem.format_file_size(), Device.free_bytes, img_shield, lbl_device_name, lbl_free_space, lbl_snap_count, lbl_status_detail, lbl_status_title, IconManager.lookup(), Main.repo, IconManager.SHIELD_HIGH, IconManager.SHIELD_LOW, IconManager.SHIELD_MED, SnapshotRepo.snapshots, SnapshotRepo.status_code, SnapshotRepo.status_details, and SnapshotRepo.status_message.
Referenced by refresh_all().
|
inlineprivate |
Definition at line 488 of file MainWindow.vala.
References btn_theme_dark, btn_theme_light, and dark_mode.
Referenced by apply_theme(), init_sidebar(), load_css(), and MainWindow().
|
private |
|
private |
Definition at line 776 of file main_window.cpp.
References btn_wizard_back_, btn_wizard_next_, current_step_, Destination, destination_step_box_, last_report_, output_dir_, Recover, recover_step_box_, ScanReport::results, Scan, scan_step_box_, selected_source_path_, Source, source_step_box_, and wizard_stack_.
Referenced by activate_sidebar_button(), on_choose_destination(), on_dashboard_device_activated(), on_open_image(), on_scan_completed(), on_use_selected_device(), on_wizard_back(), and on_wizard_next().
|
inline |
Definition at line 1229 of file MainWindow.vala.
References _, TeeJee.FileSystem.file_exists(), open_rsync_log_page(), SnapshotListBox.selected_snapshots(), and snapshot_list_box.
Referenced by init_snapshots_page().
|
private |
Definition at line 116 of file main_window.hpp.
Referenced by build_sidebar(), and on_sidebar_about().
|
private |
Definition at line 68 of file MainWindow.hpp.
Referenced by build_about_page(), MainWindow(), and on_sidebar_about().
|
private |
Definition at line 92 of file main_window.hpp.
|
private |
Definition at line 33 of file MainWindow.vala.
Referenced by init_about_page().
|
private |
Definition at line 84 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 89 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 34 of file MainWindow.vala.
Referenced by open_backup_flow().
|
private |
Definition at line 76 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 107 of file main_window.hpp.
Referenced by build_sidebar().
|
private |
Definition at line 110 of file main_window.hpp.
Referenced by build_sidebar().
|
private |
Definition at line 71 of file MainWindow.vala.
Referenced by init_snapshots_page().
|
private |
Definition at line 74 of file MainWindow.vala.
Referenced by init_snapshots_page().
|
private |
Definition at line 147 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 108 of file main_window.hpp.
Referenced by build_sidebar().
|
private |
Definition at line 73 of file MainWindow.vala.
Referenced by init_snapshots_page().
|
private |
Definition at line 139 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 43 of file MainWindow.vala.
Referenced by init_sidebar().
|
private |
Definition at line 41 of file MainWindow.vala.
Referenced by init_sidebar().
|
private |
Definition at line 40 of file MainWindow.vala.
Referenced by init_sidebar(), MainWindow(), and show_snapshots_page().
|
private |
Definition at line 42 of file MainWindow.vala.
Referenced by init_sidebar().
|
private |
Definition at line 137 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 166 of file main_window.hpp.
Referenced by build_wizard(), on_recover_now(), and update_selected_results_state().
|
private |
Definition at line 109 of file main_window.hpp.
Referenced by build_sidebar().
|
private |
Definition at line 111 of file main_window.hpp.
Referenced by build_sidebar().
|
private |
Definition at line 72 of file MainWindow.vala.
Referenced by init_snapshots_page().
|
private |
Definition at line 165 of file main_window.hpp.
Referenced by build_wizard(), and update_action_controls().
|
private |
Definition at line 164 of file main_window.hpp.
Referenced by build_wizard(), and update_action_controls().
|
private |
Definition at line 154 of file main_window.hpp.
Referenced by build_wizard(), on_scan_completed(), on_scan_now(), and update_action_controls().
|
private |
Definition at line 50 of file MainWindow.vala.
Referenced by init_sidebar(), and update_theme_buttons().
|
private |
Definition at line 112 of file main_window.hpp.
Referenced by build_sidebar().
|
private |
Definition at line 49 of file MainWindow.vala.
Referenced by init_sidebar(), and update_theme_buttons().
|
private |
Definition at line 113 of file main_window.hpp.
Referenced by build_sidebar().
|
private |
Definition at line 138 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 130 of file main_window.hpp.
Referenced by build_wizard(), and update_wizard_step().
|
private |
Definition at line 131 of file main_window.hpp.
Referenced by build_wizard(), and update_wizard_step().
|
private |
Definition at line 97 of file main_window.hpp.
Referenced by build_dashboard().
|
private |
Definition at line 96 of file main_window.hpp.
Referenced by build_dashboard().
|
private |
Definition at line 98 of file main_window.hpp.
Referenced by build_dashboard().
|
private |
Definition at line 95 of file main_window.hpp.
Referenced by build_dashboard().
|
private |
Definition at line 73 of file MainWindow.hpp.
Referenced by MainWindow(), and open_settings_window().
|
private |
Definition at line 101 of file MainWindow.vala.
Referenced by apply_window_mode_for_page(), and remember_compact_window_size().
|
private |
Definition at line 100 of file MainWindow.vala.
Referenced by apply_window_mode_for_page(), and remember_compact_window_size().
|
private |
Definition at line 30 of file MainWindow.vala.
Referenced by activate_nav(), btn_about_clicked(), btn_settings_clicked(), btn_wizard_clicked(), init_about_page(), init_content(), init_settings_page(), init_snapshots_page(), init_wizard_page(), and set_dynamic_page().
|
private |
Definition at line 47 of file MainWindow.vala.
Referenced by load_css().
|
private |
Definition at line 84 of file main_window.hpp.
Referenced by apply_theme().
|
private |
Definition at line 58 of file MainWindow.vala.
Referenced by init_sidebar(), MainWindow(), and on_language_changed().
|
private |
Definition at line 44 of file MainWindow.vala.
Referenced by activate_nav().
|
private |
Definition at line 82 of file main_window.hpp.
Referenced by on_dashboard_device_activated(), on_scan_completed(), on_wizard_back(), on_wizard_next(), and update_wizard_step().
|
private |
Definition at line 81 of file main_window.hpp.
Referenced by apply_theme(), on_theme_dark(), and on_theme_light().
|
private |
Definition at line 48 of file MainWindow.vala.
Referenced by load_css(), MainWindow(), and update_theme_buttons().
|
private |
Definition at line 93 of file MainWindow.hpp.
Referenced by build_sidebar(), build_sidebar(), MainWindow(), on_sidebar_dashboard(), and showDashboard().
|
private |
Definition at line 70 of file MainWindow.hpp.
Referenced by build_dashboard(), MainWindow(), on_sidebar_dashboard(), and showDashboard().
|
private |
Definition at line 90 of file main_window.hpp.
|
private |
Definition at line 99 of file MainWindow.vala.
|
private |
Definition at line 98 of file MainWindow.vala.
|
private |
Definition at line 36 of file MainWindow.vala.
Referenced by open_delete_flow().
|
private |
Definition at line 145 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 143 of file main_window.hpp.
Referenced by build_wizard(), and update_wizard_step().
|
private |
Definition at line 144 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 175 of file main_window.hpp.
Referenced by on_dashboard_device_activated(), on_use_selected_device(), populate_device_lists(), refresh_devices(), and select_source().
|
private |
Definition at line 103 of file main_window.hpp.
Referenced by build_dashboard().
|
private |
Definition at line 105 of file main_window.hpp.
Referenced by build_dashboard(), populate_device_lists(), and select_source().
|
private |
Definition at line 104 of file main_window.hpp.
Referenced by build_dashboard().
|
private |
Definition at line 69 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 82 of file MainWindow.vala.
Referenced by init_settings_page(), and reload_themed_icons().
|
private |
Definition at line 83 of file MainWindow.vala.
Referenced by init_wizard_page(), and reload_themed_icons().
|
private |
Definition at line 146 of file main_window.hpp.
Referenced by build_wizard(), and on_choose_destination().
|
private |
Definition at line 172 of file main_window.hpp.
Referenced by on_open_image().
|
private |
Definition at line 173 of file main_window.hpp.
Referenced by on_choose_destination().
|
private |
Definition at line 28 of file MainWindow.vala.
Referenced by init_content(), init_sidebar(), and MainWindow().
|
private |
Definition at line 87 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 89 of file MainWindow.vala.
Referenced by init_snapshots_page(), and update_statusbar().
|
private |
Definition at line 120 of file main_window.hpp.
|
staticprivate |
Definition at line 61 of file MainWindow.vala.
Referenced by init_sidebar(), load_language_preference(), and on_language_changed().
|
private |
Definition at line 57 of file MainWindow.vala.
Referenced by init_sidebar(), and on_language_changed().
|
private |
Definition at line 119 of file main_window.hpp.
Referenced by build_sidebar().
|
staticprivate |
Definition at line 54 of file MainWindow.vala.
Referenced by load_language_preference(), and save_language_preference().
|
staticprivate |
Definition at line 65 of file MainWindow.vala.
Referenced by init_sidebar().
|
private |
Definition at line 179 of file main_window.hpp.
Referenced by on_recover_now(), on_scan_completed(), on_wizard_next(), select_source(), selected_result_indices(), set_all_results_selected(), update_action_controls(), update_selected_results_state(), and update_wizard_step().
|
private |
Definition at line 186 of file main_window.hpp.
Referenced by on_scan_now(), and on_scan_progress().
|
private |
Definition at line 94 of file MainWindow.vala.
Referenced by init_snapshots_page(), and update_statusbar().
|
private |
Definition at line 93 of file MainWindow.vala.
Referenced by init_snapshots_page(), and update_statusbar().
|
private |
Definition at line 92 of file MainWindow.vala.
Referenced by init_snapshots_page(), and update_statusbar().
|
private |
Definition at line 91 of file MainWindow.vala.
Referenced by init_snapshots_page(), and update_statusbar().
|
private |
Definition at line 90 of file MainWindow.vala.
Referenced by init_snapshots_page(), and update_statusbar().
|
private |
Definition at line 170 of file main_window.hpp.
Referenced by append_log().
|
private |
Definition at line 72 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 168 of file main_window.hpp.
Referenced by build_recovery_page().
|
private |
Definition at line 169 of file main_window.hpp.
Referenced by build_recovery_page().
|
private |
Definition at line 48 of file MainWindow.hpp.
|
private |
Definition at line 69 of file MainWindow.hpp.
Referenced by activateSidebarButton().
|
private |
Definition at line 55 of file MainWindow.hpp.
Referenced by onNewConnection().
|
private |
Definition at line 44 of file MainWindow.hpp.
Referenced by onDaemonAlert(), onNewConnection(), and onVerdict().
|
private |
Definition at line 90 of file MainWindow.hpp.
Referenced by applyProtectionEnabled(), loadConfig(), refreshSystemIntegrationStatus(), and saveConfig().
|
private |
Definition at line 76 of file MainWindow.hpp.
Referenced by applyTheme(), and buildHeaderBar().
|
private |
Definition at line 75 of file MainWindow.hpp.
Referenced by applyTheme(), and buildHeaderBar().
|
private |
Definition at line 87 of file MainWindow.hpp.
Referenced by applyProtectionEnabled(), loadConfig(), saveConfig(), and showLanguageDialog().
|
private |
Definition at line 43 of file MainWindow.hpp.
Referenced by onDaemonAlert(), onNewConnection(), onVerdict(), and ~MainWindow().
|
private |
Definition at line 73 of file MainWindow.hpp.
Referenced by loadTheme().
|
private |
Definition at line 70 of file MainWindow.hpp.
Referenced by buildSidebar(), onDaemonConnected(), and onDaemonDisconnected().
|
private |
Definition at line 74 of file MainWindow.hpp.
Referenced by applyTheme(), buildHeaderBar(), loadConfig(), and saveConfig().
|
private |
Definition at line 96 of file MainWindow.hpp.
Referenced by onDaemonConnected(), and sendDesktopActivityState().
|
private |
Definition at line 95 of file MainWindow.hpp.
Referenced by startDesktopActivityMonitor(), and ~MainWindow().
|
private |
Definition at line 58 of file MainWindow.hpp.
Referenced by showLanguageDialog().
|
private |
Definition at line 88 of file MainWindow.hpp.
Referenced by loadConfig(), saveConfig(), and showLanguageDialog().
|
private |
Definition at line 97 of file MainWindow.hpp.
Referenced by noteDesktopActivity(), and startDesktopActivityMonitor().
|
private |
Definition at line 36 of file MainWindow.hpp.
Referenced by buildSidebar().
|
private |
Definition at line 45 of file MainWindow.hpp.
Referenced by onDaemonAlert(), onNewConnection(), onVerdict(), and ~MainWindow().
|
private |
Definition at line 89 of file MainWindow.hpp.
Referenced by applyProtectionEnabled(), loadConfig(), refreshSystemIntegrationStatus(), and saveConfig().
|
private |
Definition at line 46 of file MainWindow.hpp.
|
private |
Definition at line 49 of file MainWindow.hpp.
Referenced by applyProtectionEnabled(), and refreshSystemIntegrationStatus().
|
private |
Definition at line 68 of file MainWindow.hpp.
Referenced by activateSidebarButton(), and makeSidebarButton().
|
private |
Definition at line 37 of file MainWindow.hpp.
Referenced by makeSidebarButton().
|
private |
Definition at line 83 of file MainWindow.hpp.
Referenced by onDaemonAlert(), onNewConnection(), and onVerdict().
|
private |
Definition at line 84 of file MainWindow.hpp.
Referenced by onDaemonAlert(), onNewConnection(), and onVerdict().
|
private |
Definition at line 47 of file MainWindow.hpp.
Referenced by onDaemonAlert(), onNewConnection(), and onVerdict().
|
private |
Definition at line 79 of file MainWindow.hpp.
Referenced by setStatus().
|
private |
Definition at line 80 of file MainWindow.hpp.
Referenced by setStatus().
|
private |
Definition at line 52 of file MainWindow.hpp.
Referenced by onDaemonAlert(), onDaemonConnected(), onDaemonDisconnected(), and ~MainWindow().
|
private |
Definition at line 40 of file MainWindow.hpp.
Referenced by onNewConnection(), onVerdict(), sendDesktopActivityState(), and ~MainWindow().
|
private |
Definition at line 62 of file MainWindow.hpp.
Referenced by onNewConnection(), and onVerdict().
|
private |
Definition at line 86 of file main_window.hpp.
|
private |
Definition at line 64 of file MainWindow.hpp.
Referenced by build_sidebar(), and MainWindow().
|
private |
Definition at line 178 of file main_window.hpp.
Referenced by on_choose_destination(), on_recover_now(), on_wizard_next(), populate_scan_results(), update_selected_results_state(), update_source_state(), and update_wizard_step().
|
private |
Definition at line 87 of file main_window.hpp.
Referenced by on_sidebar_about(), on_sidebar_dashboard(), and on_sidebar_recovery().
|
private |
Definition at line 88 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 79 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 82 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 78 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 156 of file main_window.hpp.
Referenced by build_wizard(), and update_wizard_step().
|
private |
Definition at line 157 of file main_window.hpp.
Referenced by build_wizard(), populate_scan_results(), and update_source_state().
|
private |
Definition at line 115 of file main_window.hpp.
Referenced by build_sidebar(), and on_sidebar_recovery().
|
private |
Definition at line 141 of file main_window.hpp.
Referenced by build_wizard(), on_recovery_device_activated(), on_use_selected_device(), populate_device_lists(), and select_source().
|
private |
Definition at line 140 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 122 of file main_window.hpp.
Referenced by build_recovery_page().
|
private |
Definition at line 91 of file main_window.hpp.
Referenced by build_recovery_page(), and on_sidebar_recovery().
|
private |
Definition at line 124 of file main_window.hpp.
Referenced by build_recovery_page().
|
private |
Definition at line 123 of file main_window.hpp.
Referenced by build_recovery_page().
|
private |
Definition at line 184 of file main_window.hpp.
Referenced by on_recover_now(), and update_selected_results_state().
|
private |
Definition at line 35 of file MainWindow.vala.
Referenced by open_restore_flow().
|
private |
Definition at line 181 of file main_window.hpp.
Referenced by populate_scan_results(), and set_all_results_selected().
|
private |
Definition at line 180 of file main_window.hpp.
Referenced by populate_scan_results(), selected_result_indices(), and set_all_results_selected().
|
private |
Definition at line 163 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 161 of file main_window.hpp.
Referenced by build_wizard(), and populate_scan_results().
|
private |
Definition at line 158 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 159 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 162 of file main_window.hpp.
Referenced by build_wizard(), and update_selected_results_state().
|
private |
Definition at line 160 of file main_window.hpp.
Referenced by build_wizard(), and populate_scan_results().
|
private |
Definition at line 83 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 37 of file MainWindow.vala.
Referenced by open_rsync_log_page().
|
private |
Definition at line 86 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 71 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 151 of file main_window.hpp.
Referenced by build_wizard(), on_scan_completed(), on_scan_now(), and on_scan_progress().
|
private |
Definition at line 188 of file main_window.hpp.
Referenced by on_scan_completed(), and on_scan_now().
|
private |
Definition at line 152 of file main_window.hpp.
Referenced by build_wizard(), on_scan_completed(), on_scan_now(), and on_scan_progress().
|
private |
Definition at line 149 of file main_window.hpp.
Referenced by build_wizard(), and update_wizard_step().
|
private |
Definition at line 150 of file main_window.hpp.
Referenced by build_wizard(), and update_source_state().
|
private |
Definition at line 187 of file main_window.hpp.
Referenced by on_scan_completed(), and on_scan_now().
|
private |
Definition at line 153 of file main_window.hpp.
Referenced by build_wizard(), on_scan_completed(), and on_scan_now().
|
private |
Definition at line 183 of file main_window.hpp.
Referenced by on_scan_now(), and update_action_controls().
|
private |
Definition at line 177 of file main_window.hpp.
Referenced by populate_scan_results(), select_source(), and update_source_state().
|
private |
Definition at line 176 of file main_window.hpp.
Referenced by on_scan_now(), on_wizard_next(), populate_device_lists(), select_source(), update_action_controls(), update_selected_results_state(), update_source_state(), and update_wizard_step().
|
private |
Definition at line 31 of file MainWindow.vala.
Referenced by init_settings_page().
|
private |
Definition at line 74 of file MainWindow.hpp.
Referenced by open_settings_window().
|
private |
Definition at line 89 of file main_window.hpp.
Referenced by build_sidebar().
|
private |
Definition at line 66 of file MainWindow.hpp.
Referenced by activate_sidebar_button(), build_sidebar(), and build_sidebar().
|
private |
Definition at line 86 of file MainWindow.vala.
Referenced by browse_selected(), delete_selected(), init_snapshots_page(), mark_selected(), refresh_all(), restore(), and view_snapshot_log().
|
private |
Definition at line 136 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 100 of file main_window.hpp.
Referenced by build_dashboard(), and update_source_state().
|
private |
Definition at line 134 of file main_window.hpp.
Referenced by build_wizard(), and update_wizard_step().
|
private |
Definition at line 135 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 65 of file MainWindow.hpp.
Referenced by build_sidebar(), MainWindow(), and showDashboard().
|
private |
Definition at line 99 of file main_window.hpp.
Referenced by build_dashboard().
|
staticprivate |
Definition at line 52 of file MainWindow.vala.
Referenced by save_language_preference(), and save_theme_preference().
|
staticprivate |
Definition at line 53 of file MainWindow.vala.
Referenced by load_theme_preference(), and save_theme_preference().
|
private |
Definition at line 77 of file MainWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 78 of file MainWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 79 of file MainWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 97 of file MainWindow.vala.
Referenced by init_delayed(), and MainWindow().
|
private |
Definition at line 101 of file main_window.hpp.
Referenced by build_dashboard(), and refresh_devices().
|
private |
Definition at line 81 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 85 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 29 of file MainWindow.vala.
Referenced by init_sidebar(), and make_nav_btn().
|
private |
Definition at line 80 of file MainWindow.hpp.
Referenced by MainWindow().
|
private |
Definition at line 102 of file MainWindow.vala.
Referenced by apply_window_mode_for_page(), and remember_compact_window_size().
|
private |
Definition at line 126 of file main_window.hpp.
Referenced by build_recovery_page(), and build_wizard().
|
private |
Definition at line 129 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 132 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 32 of file MainWindow.vala.
Referenced by init_wizard_page().
|
private |
Definition at line 127 of file main_window.hpp.
Referenced by build_wizard().
|
private |
Definition at line 128 of file main_window.hpp.
Referenced by build_wizard(), and update_wizard_step().