Inherits Glom::LayoutGroup, and Glom::UsesRelationship.
Inherited by Glom::LayoutItem_CalendarPortal.

Public Types | |
| enum | navigation_type { NAVIGATION_NONE, NAVIGATION_AUTOMATIC, NAVIGATION_SPECIFIC } |
The navigation (if any) that should be used when the user activates a related record row. More... | |
Public Member Functions | |
| LayoutItem_Portal () | |
| LayoutItem_Portal (const LayoutItem_Portal& src) | |
| LayoutItem_Portal& | operator= (const LayoutItem_Portal& src) |
| virtual | ~LayoutItem_Portal () |
| virtual LayoutItem* | clone () const |
| Create a new copied instance. | |
| virtual Glib::ustring | get_part_type_name () const |
| virtual void | change_field_item_name (const Glib::ustring& table_name, const Glib::ustring& field_name, const Glib::ustring& field_name_new) |
| virtual void | change_related_field_item_name (const Glib::ustring& table_name, const Glib::ustring& field_name, const Glib::ustring& field_name_new) |
| Glib::ustring | get_from_table () const |
| A helper method to avoid extra ifs to avoid null dereferencing. | |
| sharedptr< UsesRelationship > | get_navigation_relationship_specific () |
| Gets the relationship to use for navigation if get_navigation_type() is NAVIGATION_NONE. | |
| sharedptr< const UsesRelationship > | get_navigation_relationship_specific () const |
| Get the relationship to use for navigation if get_navigation_type() is NAVIGATION_NONE. | |
| void | set_navigation_relationship_specific (const sharedptr< UsesRelationship >& relationship) |
| Set the relationship to use for navigation if get_navigation_type() is NAVIGATION_NONE. | |
| void | reset_navigation_relationship () |
| navigation_type | get_navigation_type () const |
| Discover what type (if any) navigation should be used when the user activates a related record row. | |
| void | set_navigation_type (navigation_type type) |
| Set what type (if any) navigation should be used when the user activates a related record row. | |
| double | get_print_layout_row_height () const |
| This is used only for the print layouts. | |
| void | set_print_layout_row_height (double row_height) |
| This is used only for the print layouts. | |
The navigation (if any) that should be used when the user activates a related record row.
| Glom::LayoutItem_Portal::LayoutItem_Portal | ( | ) |
| Glom::LayoutItem_Portal::LayoutItem_Portal | ( | const LayoutItem_Portal& | src | ) |
| Glom::LayoutItem_Portal::~LayoutItem_Portal | ( | ) | [virtual] |
| void Glom::LayoutItem_Portal::change_field_item_name | ( | const Glib::ustring & | table_name, | |
| const Glib::ustring & | field_name, | |||
| const Glib::ustring & | field_name_new | |||
| ) | [virtual] |
Reimplemented from Glom::LayoutGroup.
Reimplemented in Glom::LayoutItem_CalendarPortal.
| void Glom::LayoutItem_Portal::change_related_field_item_name | ( | const Glib::ustring & | table_name, | |
| const Glib::ustring & | field_name, | |||
| const Glib::ustring & | field_name_new | |||
| ) | [virtual] |
Reimplemented from Glom::LayoutGroup.
Reimplemented in Glom::LayoutItem_CalendarPortal.
| LayoutItem* Glom::LayoutItem_Portal::clone | ( | ) | const [virtual] |
Create a new copied instance.
This allows us to deep-copy a list of LayoutItems.
Reimplemented from Glom::LayoutGroup.
Reimplemented in Glom::LayoutItem_CalendarPortal.
| Glib::ustring Glom::LayoutItem_Portal::get_from_table | ( | ) | const |
A helper method to avoid extra ifs to avoid null dereferencing.
| sharedptr< const UsesRelationship > Glom::LayoutItem_Portal::get_navigation_relationship_specific | ( | ) | const |
Get the relationship to use for navigation if get_navigation_type() is NAVIGATION_NONE.
| sharedptr< UsesRelationship > Glom::LayoutItem_Portal::get_navigation_relationship_specific | ( | ) |
Gets the relationship to use for navigation if get_navigation_type() is NAVIGATION_NONE.
| LayoutItem_Portal::navigation_type Glom::LayoutItem_Portal::get_navigation_type | ( | ) | const |
Discover what type (if any) navigation should be used when the user activates a related record row.
| Glib::ustring Glom::LayoutItem_Portal::get_part_type_name | ( | ) | const [virtual] |
Reimplemented from Glom::LayoutGroup.
Reimplemented in Glom::LayoutItem_CalendarPortal.
| double Glom::LayoutItem_Portal::get_print_layout_row_height | ( | ) | const |
This is used only for the print layouts.
| LayoutItem_Portal& Glom::LayoutItem_Portal::operator= | ( | const LayoutItem_Portal& | src | ) |
Reimplemented from Glom::LayoutGroup.
Reimplemented in Glom::LayoutItem_CalendarPortal.
| void Glom::LayoutItem_Portal::reset_navigation_relationship | ( | ) |
| void Glom::LayoutItem_Portal::set_navigation_relationship_specific | ( | const sharedptr< UsesRelationship >& | relationship | ) |
Set the relationship to use for navigation if get_navigation_type() is NAVIGATION_NONE.
| void Glom::LayoutItem_Portal::set_navigation_type | ( | LayoutItem_Portal::navigation_type | type | ) |
Set what type (if any) navigation should be used when the user activates a related record row.
| void Glom::LayoutItem_Portal::set_print_layout_row_height | ( | double | row_height | ) |
This is used only for the print layouts.
1.6.1