|
GnuCash
5.6-150-g038405b370+
|
Files | |
| file | gnc-plugin-page-register-filter.cpp |
| Functions providing a register page filter for the GnuCash UI. | |
| file | gnc-plugin-page-register-filter.hpp |
| Functions providing a register page filter for the GnuCash UI. | |
| file | gnc-plugin-page-register-filter.hpp |
| Functions providing a register page filter for the GnuCash UI. | |
| file | gnc-plugin-page-register.h |
| Functions providing a register page for the GnuCash UI. | |
Data Structures | |
| struct | RegisterFilterDialog |
| struct | status_action |
| struct | FilterData |
| struct | RegisterSortDialog |
| struct | SortData |
| struct | GncPluginPageRegisterPrivate |
| struct | GncPluginPageRegister |
| struct | GncPluginPageRegisterClass |
Macros | |
| #define | DEFAULT_LINES_AMOUNT 50 |
| #define | CUT_TRANSACTION_LABEL N_("Cu_t Transaction") |
| #define | COPY_TRANSACTION_LABEL N_("_Copy Transaction") |
| #define | PASTE_TRANSACTION_LABEL N_("_Paste Transaction") |
| #define | DUPLICATE_TRANSACTION_LABEL N_("Dup_licate Transaction") |
| #define | DELETE_TRANSACTION_LABEL N_("_Delete Transaction") |
| #define | LINK_TRANSACTION_LABEL N_("_Manage Document Link…") |
| #define | LINK_TRANSACTION_OPEN_LABEL N_("_Open Linked Document") |
| #define | JUMP_LINKED_INVOICE_LABEL N_("Jump to Business item") |
| #define | CUT_SPLIT_LABEL N_("Cu_t Split") |
| #define | COPY_SPLIT_LABEL N_("_Copy Split") |
| #define | PASTE_SPLIT_LABEL N_("_Paste Split") |
| #define | DUPLICATE_SPLIT_LABEL N_("Dup_licate Split") |
| #define | DELETE_SPLIT_LABEL N_("_Delete Split") |
| #define | CUT_TRANSACTION_TIP N_("Cut the selected transaction into clipboard") |
| #define | COPY_TRANSACTION_TIP N_("Copy the selected transaction into clipboard") |
| #define | PASTE_TRANSACTION_TIP N_("Paste the transaction from the clipboard") |
| #define | DUPLICATE_TRANSACTION_TIP N_("Make a copy of the current transaction") |
| #define | DELETE_TRANSACTION_TIP N_("Delete the current transaction") |
| #define | LINK_TRANSACTION_TIP N_("Add, change, or unlink the document linked with the current transaction") |
| #define | LINK_TRANSACTION_OPEN_TIP N_("Open the linked document for the current transaction") |
| #define | JUMP_LINKED_INVOICE_TIP N_("Jump to the linked invoice, bill, expense or credit note") |
| #define | CUT_SPLIT_TIP N_("Cut the selected split into clipboard") |
| #define | COPY_SPLIT_TIP N_("Copy the selected split into clipboard") |
| #define | PASTE_SPLIT_TIP N_("Paste the split from the clipboard") |
| #define | DUPLICATE_SPLIT_TIP N_("Make a copy of the current split") |
| #define | DELETE_SPLIT_TIP N_("Delete the current split") |
| #define | KEY_REGISTER_TYPE "RegisterType" |
| #define | KEY_ACCOUNT_NAME "AccountName" |
| #define | KEY_ACCOUNT_GUID "AccountGuid" |
| #define | KEY_REGISTER_STYLE "RegisterStyle" |
| #define | KEY_DOUBLE_LINE "DoubleLineMode" |
| #define | LABEL_ACCOUNT "Account" |
| #define | LABEL_SUBACCOUNT "SubAccount" |
| #define | LABEL_GL "GL" |
| #define | LABEL_SEARCH "Search" |
| #define | GNC_TYPE_PLUGIN_PAGE_REGISTER (gnc_plugin_page_register_get_type ()) |
| #define | GNC_PLUGIN_PAGE_REGISTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_REGISTER, GncPluginPageRegister)) |
| #define | GNC_PLUGIN_PAGE_REGISTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_REGISTER, GncPluginPageRegisterClass)) |
| #define | GNC_IS_PLUGIN_PAGE_REGISTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_REGISTER)) |
| #define | GNC_IS_PLUGIN_PAGE_REGISTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_REGISTER)) |
| #define | GNC_PLUGIN_PAGE_REGISTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_REGISTER, GncPluginPageRegisterClass)) |
| #define | GNC_PLUGIN_PAGE_REGISTER_NAME "GncPluginPageRegister" |
Enumerations | |
| enum | GncPrefJumpMultSplits : gint { JUMP_DEFAULT = 0, JUMP_LARGEST_VALUE_FIRST_SPLIT = 1, JUMP_SMALLEST_VALUE_FIRST_SPLIT = 2 } |
Functions | |
| void | gnc_ppr_filter_select_range_cb (GtkRadioButton *button, RegisterFilterDialog *rfd) |
| This function is called when the radio buttons changes state. More... | |
| void | gnc_ppr_filter_start_cb (GtkWidget *radio, RegisterFilterDialog *rfd) |
| This function is called when one of the start date radio buttons is selected. More... | |
| void | gnc_ppr_filter_end_cb (GtkWidget *radio, RegisterFilterDialog *rfd) |
| This function is called when one of the end date radio buttons is selected. More... | |
| void | gnc_ppr_filter_response_cb (GtkDialog *dialog, gint response, RegisterFilterDialog *rfd) |
| This function is called when the "Filter By…" dialog is closed. More... | |
| void | gnc_ppr_filter_status_select_all_cb (GtkButton *button, RegisterFilterDialog *rfd) |
| This function is called whenever the "select all" status button is clicked. More... | |
| void | gnc_ppr_filter_status_clear_all_cb (GtkButton *button, RegisterFilterDialog *rfd) |
| This function is called whenever the "clear all" status button is clicked. More... | |
| void | gnc_ppr_filter_status_one_cb (GtkToggleButton *button, RegisterFilterDialog *rfd) |
| This function is called whenever one of the status entries is checked or unchecked. More... | |
| void | gnc_ppr_filter_save_cb (GtkToggleButton *button, RegisterFilterDialog *rfd) |
| This function is called whenever the save status is checked or unchecked. More... | |
| void | gnc_ppr_filter_days_changed_cb (GtkSpinButton *button, RegisterFilterDialog *rfd) |
| This function is called when the "number of days" spin button is changed which is then saved and updates the time limitation on the register query. More... | |
| void | gnc_ppr_filter_set_tooltip (GncPluginPage *plugin_page, FilterData *fd) |
| This function is used to update the tooltip shown in the register which shows a summary of the current filter. More... | |
| void | gnc_ppr_filter_clear_current_filter (GncPluginPage *plugin_page) |
| This function is used to clear the current filter so that a specific split can be shown in the register. More... | |
| void | gnc_ppr_filter_update_register (GncPluginPage *plugin_page) |
| This function is called to update the register. More... | |
| void | gnc_ppr_filter_by (GncPluginPage *plugin_page, Query *query, FilterData *fd, bool show_save_button) |
| This function is called for the filter dialog. More... | |
| void | gnc_ppr_sort_response_cb (GtkDialog *dialog, gint response, RegisterSortDialog *rsd) |
| This function is called when the "Sort By…" dialog is closed. More... | |
| void | gnc_ppr_sort_button_cb (GtkToggleButton *button, RegisterSortDialog *rsd) |
| This function is called when a radio button in the "Sort By…" dialog is clicked. More... | |
| void | gnc_ppr_sort_order_save_cb (GtkToggleButton *button, RegisterSortDialog *rsd) |
| This function is called whenever the save sort order is checked or unchecked which allows saving of the sort order. More... | |
| void | gnc_ppr_sort_order_reverse_cb (GtkToggleButton *button, RegisterSortDialog *rsd) |
| This function is called whenever the reverse sort order is checked or unchecked which allows reversing of the sort order. More... | |
| void | gnc_ppr_sort_update_register (GncPluginPage *plugin_page) |
| This function is called to update the register. More... | |
| void | gnc_ppr_sort_dialog (GncPluginPage *plugin_page, SplitRegister *reg, SortData *sd, bool show_save_button) |
| This function is called for the sort dialog. More... | |
| G_DEFINE_TYPE_WITH_PRIVATE (GncPluginPageRegister, gnc_plugin_page_register, GNC_TYPE_PLUGIN_PAGE) static GncPluginPage *gnc_plugin_page_register_new_common(GNCLedgerDisplay *ledger) | |
| GncPluginPage * | gnc_plugin_page_register_new (Account *account, gboolean subaccounts) |
| Create a new "register" plugin page, given a pointer to an account. More... | |
| GncPluginPage * | gnc_plugin_page_register_new_gl (void) |
| Create a new "register" plugin page containing a general journal. More... | |
| GncPluginPage * | gnc_plugin_page_register_new_ledger (GNCLedgerDisplay *ledger) |
| Create a new "register" plugin page, given a pointer to an already created ledger. More... | |
| Account * | gnc_plugin_page_register_get_account (GncPluginPageRegister *page) |
| Get the Account associated with this register page. More... | |
| Transaction * | gnc_plugin_page_register_get_current_txn (GncPluginPageRegister *page) |
| Get the currently selected transaction in this register page. More... | |
| Query * | gnc_plugin_page_register_get_query (GncPluginPage *plugin_page) |
| This function is called to get the query associated with this plugin page. More... | |
| void | gnc_plugin_page_register_query_update (GncPluginPageRegister *page, Query *query) |
| This updates the query after the filters have been applied. More... | |
| void | gnc_plugin_page_register_update_for_search_query (GncPluginPageRegister *page) |
| This checks if the register is a search register and if so saves the query. More... | |
| void | gnc_plugin_register_set_enable_refresh (GncPluginPageRegister *page, gboolean enable_refresh) |
| This allows controlling when refreshes happen, used to reduce refreshes when different aspects of the register filter change, namely date and status. More... | |
| void | gnc_plugin_page_register_clear_current_filter (GncPluginPage *plugin_page) |
| This function clears the registers current filter. More... | |
| void | gnc_plugin_page_register_set_options (GncPluginPage *plugin_page, gint lines_default, gboolean read_only) |
| Set various register options on a newly created "register" plugin page. More... | |
| GNCSplitReg * | gnc_plugin_page_register_get_gsr (GncPluginPage *plugin_page) |
| Get the GNCSplitReg data structure associated with this register page. More... | |
| FilterData * | gnc_plugin_page_register_get_filter_data (GncPluginPage *plugin_page) |
| Get the FilterData data structure associated with this register page. More... | |
| SortData * | gnc_plugin_page_register_get_sort_data (GncPluginPage *plugin_page) |
| Get the SortData data structure associated with this register page. More... | |
| GType | gnc_plugin_page_register_get_type (void) |
| Retrieve the type number for the plugin page. More... | |
Variables | |
| GncPluginPage * | RegisterFilterDialog::plugin_page |
| GtkWidget * | RegisterFilterDialog::dialog |
| GtkWidget * | RegisterFilterDialog::table |
| GtkWidget * | RegisterFilterDialog::start_date_choose |
| GtkWidget * | RegisterFilterDialog::start_date_today |
| GtkWidget * | RegisterFilterDialog::start_date |
| GtkWidget * | RegisterFilterDialog::end_date_choose |
| GtkWidget * | RegisterFilterDialog::end_date_today |
| GtkWidget * | RegisterFilterDialog::end_date |
| GtkWidget * | RegisterFilterDialog::num_days |
| cleared_match_t | RegisterFilterDialog::original_cleared_match |
| time64 | RegisterFilterDialog::original_start_time |
| time64 | RegisterFilterDialog::original_end_time |
| int | RegisterFilterDialog::original_days |
| bool | RegisterFilterDialog::original_save_filter |
| bool | RegisterFilterDialog::show_save_button |
| std::string | status_action::action_name |
| int | status_action::value |
| GtkWidget * | status_action::widget |
| GtkWidget * | FilterData::dialog |
| cleared_match_t | FilterData::cleared_match |
| time64 | FilterData::start_time |
| time64 | FilterData::end_time |
| int | FilterData::days |
| bool | FilterData::save_filter |
| GncPluginPage * | RegisterSortDialog::plugin_page |
| SplitRegister * | RegisterSortDialog::reg |
| GtkWidget * | RegisterSortDialog::dialog |
| GtkWidget * | RegisterSortDialog::num_radio |
| GtkWidget * | RegisterSortDialog::act_radio |
| SortType | RegisterSortDialog::original_sort_type |
| bool | RegisterSortDialog::original_reverse_order |
| bool | RegisterSortDialog::original_save_order |
| bool | RegisterSortDialog::show_save_button |
| GtkWidget * | SortData::dialog |
| SortType | SortData::sort_type |
| bool | SortData::reverse_order |
| bool | SortData::save_order |
| void gnc_plugin_page_register_clear_current_filter | ( | GncPluginPage * | plugin_page | ) |
This function clears the registers current filter.
It is used so jumps to splits from other places can be completed otherwise the jump will be to the last active cell.
| plugin_page | A pointer to the GncPluginPageRegister. |
Definition at line 1922 of file gnc-plugin-page-register.cpp.
| Account * gnc_plugin_page_register_get_account | ( | GncPluginPageRegister * | page | ) |
Get the Account associated with this register page.
| page | A "register" page. |
Definition at line 580 of file gnc-plugin-page-register.cpp.
| Transaction * gnc_plugin_page_register_get_current_txn | ( | GncPluginPageRegister * | page | ) |
Get the currently selected transaction in this register page.
| page | A "register" page. |
Definition at line 596 of file gnc-plugin-page-register.cpp.
| struct FilterData * gnc_plugin_page_register_get_filter_data | ( | GncPluginPage * | plugin_page | ) |
Get the FilterData data structure associated with this register page.
| plugin_page | A "register" page. |
Definition at line 3780 of file gnc-plugin-page-register.cpp.
| GNCSplitReg * gnc_plugin_page_register_get_gsr | ( | GncPluginPage * | plugin_page | ) |
Get the GNCSplitReg data structure associated with this register page.
| plugin_page | A "register" page. |
Definition at line 3766 of file gnc-plugin-page-register.cpp.
| Query * gnc_plugin_page_register_get_query | ( | GncPluginPage * | plugin_page | ) |
This function is called to get the query associated with this plugin page.
Get the Query associated with this "register" plugin page.
| page | A pointer to the GncPluginPage. |
| plugin_page | The "register" page to modify. |
Definition at line 1853 of file gnc-plugin-page-register.cpp.
| struct SortData * gnc_plugin_page_register_get_sort_data | ( | GncPluginPage * | plugin_page | ) |
Get the SortData data structure associated with this register page.
| plugin_page | A "register" page. |
Definition at line 3791 of file gnc-plugin-page-register.cpp.
| GType gnc_plugin_page_register_get_type | ( | void | ) |
Retrieve the type number for the plugin page.
| GncPluginPage * gnc_plugin_page_register_new | ( | Account * | account, |
| gboolean | subaccounts | ||
| ) |
Create a new "register" plugin page, given a pointer to an account.
| account | The pointer to the account to embed in the register. |
| subaccounts | TRUE if all the sub-accounts of the specified account should be included in the register. |
Definition at line 464 of file gnc-plugin-page-register.cpp.
| GncPluginPage * gnc_plugin_page_register_new_gl | ( | void | ) |
Create a new "register" plugin page containing a general journal.
Definition at line 494 of file gnc-plugin-page-register.cpp.
| GncPluginPage * gnc_plugin_page_register_new_ledger | ( | GNCLedgerDisplay * | ledger | ) |
Create a new "register" plugin page, given a pointer to an already created ledger.
This function should be used when the ledger already exists. (E.G. From the "find transaction" code, or from the scheduled transaction code.)
| ledger | The pointer to the ledger to embed into the register. |
Definition at line 503 of file gnc-plugin-page-register.cpp.
| void gnc_plugin_page_register_query_update | ( | GncPluginPageRegister * | page, |
| Query * | query | ||
| ) |
This updates the query after the filters have been applied.
| plugin_page | A pointer to the GncPluginPageRegister. |
| query | The updated query |
Definition at line 1866 of file gnc-plugin-page-register.cpp.
| void gnc_plugin_page_register_set_options | ( | GncPluginPage * | plugin_page, |
| gint | lines_default, | ||
| gboolean | read_only | ||
| ) |
Set various register options on a newly created "register" plugin page.
| plugin_page | The "register" page to modify. |
| lines_default | Used to calculate the minimum preferred height of the plugin page. |
| read_only | True if the register should be read-only. |
Definition at line 3750 of file gnc-plugin-page-register.cpp.
| void gnc_plugin_page_register_update_for_search_query | ( | GncPluginPageRegister * | page | ) |
This checks if the register is a search register and if so saves the query.
| plugin_page | A pointer to the GncPluginPageRegister. |
Definition at line 1883 of file gnc-plugin-page-register.cpp.
| void gnc_plugin_register_set_enable_refresh | ( | GncPluginPageRegister * | page, |
| gboolean | enable_refresh | ||
| ) |
This allows controlling when refreshes happen, used to reduce refreshes when different aspects of the register filter change, namely date and status.
| plugin_page | A pointer to the GncPluginPageRegister. |
| enable_refresh | Used to controll wehn refresh is required |
Definition at line 1909 of file gnc-plugin-page-register.cpp.
| void gnc_ppr_filter_by | ( | GncPluginPage * | plugin_page, |
| Query * | query, | ||
| FilterData * | fd, | ||
| bool | show_save_button | ||
| ) |
This function is called for the filter dialog.
| plugin_page | A pointer to the GncPluginPageRegister that is associated with this filter dialog. |
| query | A pointer to the current register query. |
| fd | A pointer to the filter data structure for remembering state. |
| show_save_button | Set to True to show save button. |
Definition at line 1298 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_clear_current_filter | ( | GncPluginPage * | plugin_page | ) |
This function is used to clear the current filter so that a specific split can be shown in the register.
| page | A pointer to the GncPluginPageRegister that is associated with this filter dialog. |
Definition at line 631 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_days_changed_cb | ( | GtkSpinButton * | button, |
| RegisterFilterDialog * | rfd | ||
| ) |
This function is called when the "number of days" spin button is changed which is then saved and updates the time limitation on the register query.
This is handled by a helper function as potentially all widgets will need to be examined.
| button | A pointer to the "number of days" spin button. |
| rfd | A pointer to the filter dialog structure. |
Definition at line 906 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_end_cb | ( | GtkWidget * | radio, |
| RegisterFilterDialog * | rfd | ||
| ) |
This function is called when one of the end date radio buttons is selected.
It updates the sensitivity of the date entry widget, then calls a common routine to determine the start/end times and update the register query.
*Note: This function is actually called twice for each new radio button selection. The first time call is to uncheck the old button, and the second time to check the new button. This does make a kind of sense, as radio buttons are nothing more than linked toggle buttons where only one can be active.
| radio | The button whose state is changing. This will be the previously selected button the first of the pair of calls to this function, and will be the newly selected button the second time. |
| rfd | A pointer to the filter dialog structure. |
Definition at line 1008 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_response_cb | ( | GtkDialog * | dialog, |
| gint | response, | ||
| RegisterFilterDialog * | rfd | ||
| ) |
This function is called when the "Filter By…" dialog is closed.
If the dialog was closed by any method other than clicking the OK button, the original sorting order will be restored.
| dialog | A pointer to the dialog box. |
| response | A numerical value indicating why the dialog box was closed. |
| rfd | A pointer to the filter dialog structure. |
Definition at line 1070 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_save_cb | ( | GtkToggleButton * | button, |
| RegisterFilterDialog * | rfd | ||
| ) |
This function is called whenever the save status is checked or unchecked.
It will allow saving of the filter if required.
| button | The toggle button that was changed. |
| rfd | A pointer to the filter dialog structure. |
Definition at line 1040 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_select_range_cb | ( | GtkRadioButton * | button, |
| RegisterFilterDialog * | rfd | ||
| ) |
This function is called when the radio buttons changes state.
This function is responsible for setting the sensitivity of the widgets controlled by each radio button choice and updating the time limitation on the register query. This is handled by a helper function as potentially all widgets will need to be examined.
| button | A pointer to the "select range" radio button. |
| rfd | A pointer to the filter dialog structure. |
Definition at line 859 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_set_tooltip | ( | GncPluginPage * | plugin_page, |
| FilterData * | fd | ||
| ) |
This function is used to update the tooltip shown in the register which shows a summary of the current filter.
| page | A pointer to the GncPluginPageRegister that is associated with this filter dialog. |
| fd | A pointer to the filter data used for filter state. |
Definition at line 404 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_start_cb | ( | GtkWidget * | radio, |
| RegisterFilterDialog * | rfd | ||
| ) |
This function is called when one of the start date radio buttons is selected.
It updates the sensitivity of the date entry widget, then calls a common routine to determine the start/end times and update the register query.
*Note: This function is actually called twice for each new radio button selection. The first time call is to uncheck the old button, and the second time to check the new button. This does make a kind of sense, as radio buttons are nothing more than linked toggle buttons where only one can be active.
| radio | The button whose state is changing. This will be the previously selected button the first of the pair of calls to this function, and will be the newly selected button the second time. |
| rfd | A pointer to the filter dialog structure. |
Definition at line 965 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_status_clear_all_cb | ( | GtkButton * | button, |
| RegisterFilterDialog * | rfd | ||
| ) |
This function is called whenever the "clear all" status button is clicked.
It updates all of the checkbox widgets, then updates the query on the register.
| button | The button that was clicked. |
| rfd | A pointer to the filter dialog structure. |
Definition at line 778 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_status_one_cb | ( | GtkToggleButton * | button, |
| RegisterFilterDialog * | rfd | ||
| ) |
This function is called whenever one of the status entries is checked or unchecked.
It updates the status value maintained for the filter dialog, and calls another function to do the work of applying the change to the register itself.
| button | The toggle button that was changed. |
| rfd | A pointer to the filter dialog structure. |
Definition at line 687 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_status_select_all_cb | ( | GtkButton * | button, |
| RegisterFilterDialog * | rfd | ||
| ) |
This function is called whenever the "select all" status button is clicked.
It updates all of the checkbox widgets, then updates the query on the register.
| button | The button that was clicked. |
| rfd | A pointer to the filter dialog structure. |
Definition at line 745 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_filter_update_register | ( | GncPluginPage * | plugin_page | ) |
This function is called to update the register.
| page | A pointer to the GncPluginPageRegister that is associated with this filter dialog. |
Definition at line 648 of file gnc-plugin-page-register-filter.cpp.
| void gnc_ppr_sort_button_cb | ( | GtkToggleButton * | button, |
| RegisterSortDialog * | rsd | ||
| ) |
This function is called when a radio button in the "Sort By…" dialog is clicked.
| button | The button that was toggled. |
| rsd | A pointer to the sort dialog structure. |
Definition at line 372 of file gnc-plugin-page-register-sort.cpp.
| void gnc_ppr_sort_dialog | ( | GncPluginPage * | plugin_page, |
| SplitRegister * | reg, | ||
| SortData * | sd, | ||
| bool | show_save_button | ||
| ) |
This function is called for the sort dialog.
| plugin_page | A pointer to the GncPluginPageRegister that is associated with this sort dialog. |
| reg | A pointer to the SplitRegister of the current register. |
| fd | A pointer to the sort data structure for remembering state. |
| show_save_button | Set to True to show save button. |
Definition at line 530 of file gnc-plugin-page-register-sort.cpp.
| void gnc_ppr_sort_order_reverse_cb | ( | GtkToggleButton * | button, |
| RegisterSortDialog * | rsd | ||
| ) |
This function is called whenever the reverse sort order is checked or unchecked which allows reversing of the sort order.
| button | The toggle button that was changed. |
| rsd | A pointer to the sort dialog structure. |
Definition at line 429 of file gnc-plugin-page-register-sort.cpp.
| void gnc_ppr_sort_order_save_cb | ( | GtkToggleButton * | button, |
| RegisterSortDialog * | rsd | ||
| ) |
This function is called whenever the save sort order is checked or unchecked which allows saving of the sort order.
| button | The toggle button that was changed. |
| rsd | A pointer to the sort dialog structure. |
Definition at line 403 of file gnc-plugin-page-register-sort.cpp.
| void gnc_ppr_sort_response_cb | ( | GtkDialog * | dialog, |
| gint | response, | ||
| RegisterSortDialog * | rsd | ||
| ) |
This function is called when the "Sort By…" dialog is closed.
If the dialog was closed by any method other than clicking the OK button, the original sorting order will be restored.
| dialog | A pointer to the dialog box. |
| response | A numerical value indicating why the dialog box was closed. |
| rsd | A pointer to the sort dialog structure. |
Definition at line 309 of file gnc-plugin-page-register-sort.cpp.
| void gnc_ppr_sort_update_register | ( | GncPluginPage * | plugin_page | ) |
This function is called to update the register.
| page | A pointer to the GncPluginPageRegister that is associated with this sort order dialog. |
Definition at line 220 of file gnc-plugin-page-register-sort.cpp.
1.8.14