|
ORE Studio 0.0.4
|
Widget providing pagination controls for data tables. More...
#include <PaginationWidget.hpp>
Inherits QWidget.

Signals | |
| void | page_size_changed (std::uint32_t page_size) |
| Emitted when user changes the page size selection. | |
| void | load_all_requested () |
| Emitted when user requests to load all remaining data. | |
Public Member Functions | |
| PaginationWidget (QWidget *parent=nullptr) | |
| void | update_state (std::uint32_t loaded_count, std::uint32_t total_count) |
| Update the pagination display with current state. | |
| std::uint32_t | page_size () const |
| Get the selected page size. | |
| void | set_load_all_enabled (bool enabled) |
| Enable or disable the Load All button. | |
Widget providing pagination controls for data tables.
Displays record count information and navigation buttons for paginated data views. Emits signals when user requests page changes.
| void update_state | ( | std::uint32_t | loaded_count, |
| std::uint32_t | total_count | ||
| ) |
Update the pagination display with current state.
| loaded_count | Number of records currently loaded |
| total_count | Total number of records available |
| std::uint32_t page_size | ( | ) | const |
Get the selected page size.
| void set_load_all_enabled | ( | bool | enabled | ) |
Enable or disable the Load All button.
| enabled | Whether to enable the button |
|
signal |
Emitted when user changes the page size selection.
| page_size | The new page size |