Public Types | |
| enum | Tabs { ESTIMATE = 0 , BACKUP_DEVICE = 1 , BACKUP = 2 , BACKUP_FINISH = 3 } |
Public Member Functions | |
| signal void | request_close () |
| BackupWindow (bool embedded=false) | |
| Gtk.Widget | detach_root_widget () |
| void | reload_themed_icons () |
Private Member Functions | |
| void | build_ui () |
| void | build_sidebar () |
| Gtk.Button | make_nav_button (string icon_name, string label_text) |
| void | build_content () |
| Gtk.Widget | wrap_page (Gtk.Widget child) |
| void | build_pages () |
| bool | init_delayed () |
| bool | on_close_request () |
| void | save_changes () |
| void | create_actions () |
| void | action_buttons_set_initial_visibility (bool visible) |
| void | go_first () |
| void | go_prev () |
| void | go_next () |
| void | initialize_tab () |
| bool | validate_current_tab () |
| void | clear_sidebar_selection () |
| void | set_sidebar_active (Gtk.Button btn) |
| void | update_sidebar_state () |
| void | update_page_title () |
| void | set_page (int page) |
| Gtk.Image | themed_icon (string icon_name, int size) |
Private Attributes | |
| Gtk.Box | root_box |
| Gtk.Box | sidebar |
| Gtk.Box | content_box |
| Gtk.Box | header_box |
| Gtk.Box | body_box |
| Gtk.Box | bbox_action |
| Gtk.Stack | page_stack |
| int | current_page = -1 |
| Gtk.Button | btn_nav_estimate |
| Gtk.Button | btn_nav_location |
| Gtk.Button | btn_nav_backup |
| Gtk.Button | btn_nav_finish |
| Gtk.? Button | current_nav_btn = null |
| Gtk.Label | lbl_page_title |
| EstimateBox | estimate_box |
| BackupDeviceBox | backup_dev_box |
| BackupBox | backup_box |
| BackupFinishBox | backup_finish_box |
| Gtk.Button | btn_prev |
| Gtk.Button | btn_next |
| Gtk.Button | btn_cancel |
| Gtk.Button | btn_pause |
| Gtk.Button | btn_close |
| uint | tmr_init |
| int | def_width = 980 |
| int | def_height = 680 |
| bool | success = false |
| bool | embedded_mode = false |
| 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>() |
Definition at line 34 of file BackupWindow.vala.
| enum BackupWindow.Tabs |
| Enumerator | |
|---|---|
| ESTIMATE | |
| BACKUP_DEVICE | |
| BACKUP | |
| BACKUP_FINISH | |
Definition at line 642 of file BackupWindow.vala.
|
inline |
Definition at line 75 of file BackupWindow.vala.
References _, build_pages(), build_ui(), create_actions(), HeaderFactory.create_main_headerbar(), def_height, def_width, embedded_mode, init_delayed(), TeeJee.Logging.log_debug(), on_close_request(), and tmr_init.
Referenced by MainWindow.open_backup_flow().
|
inlineprivate |
Definition at line 377 of file BackupWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
inlineprivate |
Definition at line 193 of file BackupWindow.vala.
References _, body_box, content_box, header_box, lbl_page_title, and page_stack.
Referenced by build_ui().
|
inlineprivate |
Definition at line 245 of file BackupWindow.vala.
References _, backup_box, backup_dev_box, backup_finish_box, BackupBox.BackupBox(), BackupDeviceBox.BackupDeviceBox(), BackupFinishBox.BackupFinishBox(), estimate_box, EstimateBox.EstimateBox(), page_stack, and wrap_page().
Referenced by BackupWindow().
|
inlineprivate |
Definition at line 117 of file BackupWindow.vala.
References _, btn_nav_backup, btn_nav_estimate, btn_nav_finish, btn_nav_location, Error, IconManager.lookup(), make_nav_button(), sidebar, and themed_icon().
Referenced by build_ui().
|
inlineprivate |
Definition at line 101 of file BackupWindow.vala.
References build_content(), build_sidebar(), content_box, root_box, and sidebar.
Referenced by BackupWindow().
|
inlineprivate |
Definition at line 574 of file BackupWindow.vala.
References btn_nav_backup, btn_nav_estimate, btn_nav_finish, and btn_nav_location.
Referenced by update_sidebar_state().
|
inlineprivate |
Definition at line 302 of file BackupWindow.vala.
References _, action_buttons_set_initial_visibility(), App, bbox_action, btn_cancel, btn_close, btn_next, btn_pause, btn_prev, content_box, embedded_mode, go_next(), go_prev(), AsyncTask.pause(), BackupBox.pause(), request_close(), AsyncTask.resume(), BackupBox.resume(), save_changes(), AsyncTask.status, AsyncTask.stop(), and Main.task.
Referenced by BackupWindow().
|
inline |
Definition at line 649 of file BackupWindow.vala.
References root_box.
|
inlineprivate |
Definition at line 388 of file BackupWindow.vala.
References App, SnapshotRepo.available(), Main.btrfs_mode, Main.first_snapshot_size, SnapshotRepo.has_space(), initialize_tab(), Main.repo, and set_page().
Referenced by init_delayed().
|
inlineprivate |
Definition at line 436 of file BackupWindow.vala.
References current_page, initialize_tab(), set_page(), and validate_current_tab().
Referenced by create_actions(), and initialize_tab().
|
inlineprivate |
Definition at line 408 of file BackupWindow.vala.
References App, SnapshotRepo.available(), Main.btrfs_mode, current_page, Main.first_snapshot_size, SnapshotRepo.has_space(), initialize_tab(), Main.repo, and set_page().
Referenced by create_actions().
|
inlineprivate |
Definition at line 282 of file BackupWindow.vala.
References go_first(), and tmr_init.
Referenced by BackupWindow().
|
inlineprivate |
Definition at line 463 of file BackupWindow.vala.
References action_buttons_set_initial_visibility(), App, backup_box, backup_dev_box, backup_finish_box, btn_cancel, btn_close, btn_next, btn_pause, btn_prev, current_page, embedded_mode, estimate_box, EstimateBox.estimate_system_size(), go_next(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_msg(), BackupDeviceBox.refresh(), Main.repo, request_close(), SnapshotRepo.status_code, SnapshotRepo.status_details, SnapshotRepo.status_message, success, BackupBox.take_snapshot(), BackupFinishBox.update_message(), update_page_title(), update_sidebar_state(), and TeeJee.GtkHelper.wait_and_close_window().
Referenced by go_first(), go_next(), and go_prev().
|
inlineprivate |
Definition at line 164 of file BackupWindow.vala.
References sidebar, and themed_icon().
Referenced by build_sidebar().
|
inlineprivate |
Definition at line 293 of file BackupWindow.vala.
References save_changes().
Referenced by BackupWindow().
|
inline |
Definition at line 667 of file BackupWindow.vala.
References IconManager.lookup(), themed_img_list, themed_img_name, and themed_img_size.
| signal void BackupWindow.request_close | ( | ) |
Referenced by create_actions(), and initialize_tab().
|
inlineprivate |
Definition at line 298 of file BackupWindow.vala.
References App, and Main.cron_job_update().
Referenced by create_actions(), and on_close_request().
|
inlineprivate |
Definition at line 624 of file BackupWindow.vala.
References current_page, and page_stack.
Referenced by go_first(), go_next(), and go_prev().
|
inlineprivate |
Definition at line 581 of file BackupWindow.vala.
References current_nav_btn.
Referenced by update_sidebar_state().
|
inlineprivate |
Definition at line 659 of file BackupWindow.vala.
References IconManager.lookup_image(), themed_img_list, themed_img_name, and themed_img_size.
Referenced by build_sidebar(), and make_nav_button().
|
inlineprivate |
Definition at line 606 of file BackupWindow.vala.
References _, and current_page.
Referenced by initialize_tab().
|
inlineprivate |
Definition at line 586 of file BackupWindow.vala.
References btn_nav_backup, btn_nav_estimate, btn_nav_finish, btn_nav_location, clear_sidebar_selection(), current_page, and set_sidebar_active().
Referenced by initialize_tab().
|
inlineprivate |
Definition at line 557 of file BackupWindow.vala.
References App, SnapshotRepo.available(), current_page, SnapshotRepo.has_space(), Main.repo, SnapshotRepo.status_details, and SnapshotRepo.status_message.
Referenced by go_next().
|
inlineprivate |
Definition at line 232 of file BackupWindow.vala.
Referenced by build_pages().
|
private |
Definition at line 59 of file BackupWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 58 of file BackupWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 60 of file BackupWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 43 of file BackupWindow.vala.
Referenced by create_actions().
|
private |
Definition at line 42 of file BackupWindow.vala.
Referenced by build_content().
|
private |
Definition at line 65 of file BackupWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 67 of file BackupWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 50 of file BackupWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 48 of file BackupWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 51 of file BackupWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 49 of file BackupWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 64 of file BackupWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 66 of file BackupWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 63 of file BackupWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 40 of file BackupWindow.vala.
Referenced by build_content(), build_ui(), and create_actions().
|
private |
Definition at line 52 of file BackupWindow.vala.
Referenced by set_sidebar_active().
|
private |
Definition at line 45 of file BackupWindow.vala.
Referenced by go_next(), go_prev(), initialize_tab(), set_page(), update_page_title(), update_sidebar_state(), and validate_current_tab().
|
private |
Definition at line 71 of file BackupWindow.vala.
Referenced by BackupWindow().
|
private |
Definition at line 70 of file BackupWindow.vala.
Referenced by BackupWindow().
|
private |
Definition at line 73 of file BackupWindow.vala.
Referenced by BackupWindow(), create_actions(), and initialize_tab().
|
private |
Definition at line 57 of file BackupWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 41 of file BackupWindow.vala.
Referenced by build_content().
|
private |
Definition at line 54 of file BackupWindow.vala.
Referenced by build_content().
|
private |
Definition at line 44 of file BackupWindow.vala.
Referenced by build_content(), build_pages(), and set_page().
|
private |
Definition at line 38 of file BackupWindow.vala.
Referenced by build_ui(), and detach_root_widget().
|
private |
Definition at line 39 of file BackupWindow.vala.
Referenced by build_sidebar(), build_ui(), and make_nav_button().
|
private |
Definition at line 72 of file BackupWindow.vala.
Referenced by initialize_tab().
|
private |
Definition at line 655 of file BackupWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 656 of file BackupWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 657 of file BackupWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 69 of file BackupWindow.vala.
Referenced by BackupWindow(), and init_delayed().