#include <PageSetupOutside.h>
Signals | |
void | changeConfig () |
Public Member Functions | |
virtual OutsideController * | getController () |
Returns the "Controller" part of the MVC. More... | |
virtual Observable * | getModel () |
Returns the "Model" part of the MVC. More... | |
virtual te::gm::Coord2D | getPosition () |
Method that returns the position llx, lly Reimplement this function in a ItemObserver subclass to provide the item's getPosition implementation. More... | |
virtual Properties * | getProperties () const |
Reimplemented from Observer. More... | |
virtual void | load () |
PageSetupOutside (OutsideController *controller, Observable *o) | |
virtual void | refresh () |
Updated model state. More... | |
virtual void | setPosition (const double &x, const double &y) |
Change coordinate llx,lly of the MVC widget. Reimplement this function in a ItemController subclass to provide the controller's create implementation. More... | |
virtual void | updateObserver (ContextItem context) |
Reimplemented from Observer. More... | |
virtual | ~PageSetupOutside () |
Protected Member Functions | |
virtual void | configureOrientationPage () |
Configures the orientation page getting from layout. More... | |
virtual void | configurePageSize () |
Configures the page size getting from layout. More... | |
virtual void | init () |
virtual void | switchSize () |
Protected Attributes | |
OutsideController * | m_controller |
"Controller" part of MVC widget. More... | |
Observable * | m_model |
"Model" part of MVC widget. More... | |
te::layout::LayoutOrientationType | m_orientation |
te::layout::LayoutAbstractPaperType | m_paperType |
Private Slots | |
virtual void | on_cmbPageSize_currentIndexChanged (const QString &text) |
virtual void | on_pbApply_clicked () |
virtual void | on_rdbLandscape_clicked () |
virtual void | on_rdbPortrait_clicked () |
Private Attributes | |
std::auto_ptr< Ui::PageSetup > | m_ui |
Definition at line 50 of file PageSetupOutside.h.
te::layout::PageSetupOutside::PageSetupOutside | ( | OutsideController * | controller, |
Observable * | o | ||
) |
Definition at line 49 of file PageSetupOutside.cpp.
|
virtual |
Definition at line 64 of file PageSetupOutside.cpp.
|
signal |
|
protectedvirtual |
Configures the orientation page getting from layout.
Definition at line 115 of file PageSetupOutside.cpp.
References te::layout::Landscape.
|
protectedvirtual |
Configures the page size getting from layout.
Definition at line 127 of file PageSetupOutside.cpp.
References te::layout::A0, te::layout::A1, te::layout::A2, te::layout::A3, te::layout::A4, te::layout::A5, te::layout::Custom, te::common::Singleton< Context >::getInstance(), te::layout::Context::getPaperConfig(), and te::layout::PaperConfig::getPaperType().
|
virtualinherited |
Returns the "Controller" part of the MVC.
Definition at line 59 of file OutsideObserver.cpp.
|
virtualinherited |
Returns the "Model" part of the MVC.
Definition at line 64 of file OutsideObserver.cpp.
Referenced by te::layout::DialogPropertiesBrowser::onShowGridSettingsDlg().
|
virtual |
Method that returns the position llx, lly Reimplement this function in a ItemObserver subclass to provide the item's getPosition implementation.
Implements te::layout::OutsideObserver.
Definition at line 90 of file PageSetupOutside.cpp.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
|
virtualinherited |
Reimplemented from Observer.
Definition at line 54 of file OutsideObserver.cpp.
References te::layout::Properties::getProperties().
|
protectedvirtual |
Definition at line 69 of file PageSetupOutside.cpp.
Referenced by PageSetupOutside().
|
virtual |
Definition at line 103 of file PageSetupOutside.cpp.
References te::common::Singleton< Context >::getInstance(), te::layout::Context::getPaperConfig(), and te::layout::PaperConfig::getPaperSize().
|
privatevirtualslot |
Definition at line 192 of file PageSetupOutside.cpp.
References te::layout::A0, te::layout::A1, te::layout::A2, te::layout::A3, te::layout::A4, te::layout::A5, and te::layout::Custom.
|
privatevirtualslot |
Definition at line 211 of file PageSetupOutside.cpp.
References te::common::Singleton< Context >::getInstance(), te::layout::Context::getPaperConfig(), te::layout::PaperConfig::getPaperOrientantion(), te::layout::PaperConfig::getPaperType(), te::layout::PaperConfig::setPaperOrientation(), and te::layout::PaperConfig::setPaperType().
|
privatevirtualslot |
Definition at line 224 of file PageSetupOutside.cpp.
References te::layout::Landscape.
|
privatevirtualslot |
Definition at line 232 of file PageSetupOutside.cpp.
References te::layout::Portrait.
|
virtualinherited |
Updated model state.
true | if refresh the current position, false otherwise |
Definition at line 48 of file OutsideObserver.cpp.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
|
virtual |
Change coordinate llx,lly of the MVC widget. Reimplement this function in a ItemController subclass to provide the controller's create implementation.
x | llx |
y | lly |
Implements te::layout::OutsideObserver.
Definition at line 84 of file PageSetupOutside.cpp.
|
protectedvirtual |
Definition at line 178 of file PageSetupOutside.cpp.
References te::common::Singleton< Context >::getInstance(), te::layout::Context::getPaperConfig(), and te::layout::PaperConfig::getPaperSize().
|
virtual |
Reimplemented from Observer.
Implements te::layout::OutsideObserver.
Definition at line 75 of file PageSetupOutside.cpp.
References te::layout::ContextItem::isShow().
|
protectedinherited |
"Controller" part of MVC widget.
Definition at line 119 of file OutsideObserver.h.
|
protectedinherited |
"Model" part of MVC widget.
Definition at line 120 of file OutsideObserver.h.
Referenced by te::layout::ObjectInspectorOutside::ObjectInspectorOutside(), te::layout::OutsideObserver::OutsideObserver(), and te::layout::PropertiesOutside::PropertiesOutside().
|
protected |
Definition at line 96 of file PageSetupOutside.h.
|
protected |
Definition at line 97 of file PageSetupOutside.h.
|
private |
Definition at line 101 of file PageSetupOutside.h.
Referenced by PageSetupOutside().