Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

AP_UnixDialog_PageSetup Class Reference

#include <ap_UnixDialog_PageSetup.h>

Inheritance diagram for AP_UnixDialog_PageSetup:
AP_Dialog_PageSetup XAP_Dialog_NonPersistent XAP_Dialog

List of all members.

Public Member Functions

 AP_UnixDialog_PageSetup (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_UnixDialog_PageSetup (void)
virtual void runModal (XAP_Frame *pFrame)
virtual void event_OK (void)
virtual void event_Cancel (void)
virtual void event_PageSizeChanged (fp_PageSize::Predefined pageSize)
virtual void event_PageUnitsChanged ()
virtual void event_MarginUnitsChanged ()
void event_LandscapeChanged (void)
void doWidthEntry (void)
void doHeightEntry (void)

Static Public Member Functions

static XAP_Dialogstatic_constructor (XAP_DialogFactory *, XAP_Dialog_Id id)

Protected Types

enum  ResponseId { BUTTON_OK = GTK_RESPONSE_OK, BUTTON_CANCEL = GTK_RESPONSE_CANCEL }

Protected Member Functions

virtual GtkWidget * _constructWindow (void)
virtual void _connectSignals (void)
GtkWidget * _getWidget (const char *szNameBase, UT_sint32 level=0)

Protected Attributes

GtkWidget * m_window
GtkWidget * m_wHelp
GtkBuilder * m_pBuilder

Private Member Functions

void _setWidth (const char *buf)
void _setHeight (const char *buf)
void _updatePageSizeList ()

Private Attributes

GtkWidget * m_comboPageSize
GtkWidget * m_entryPageWidth
GtkWidget * m_entryPageHeight
GtkWidget * m_optionPageUnits
GtkWidget * m_radioPagePortrait
GtkWidget * m_radioPageLandscape
GtkWidget * m_spinPageScale
GtkWidget * m_optionMarginUnits
GtkWidget * m_spinMarginTop
GtkWidget * m_spinMarginBottom
GtkWidget * m_spinMarginLeft
GtkWidget * m_spinMarginRight
GtkWidget * m_spinMarginHeader
GtkWidget * m_spinMarginFooter
GtkWidget * customPreview
GtkWidget * m_PageHbox
GtkWidget * m_MarginHbox
guint m_iEntryPageWidthID
guint m_iEntryPageHeightID
guint m_iComboPageSizeListID
guint m_iOptionPageUnitsListID
XAP_Framem_pFrame
fp_PageSize m_PageSize

Member Enumeration Documentation

Enumerator:
BUTTON_OK 
BUTTON_CANCEL 

Constructor & Destructor Documentation

AP_UnixDialog_PageSetup::AP_UnixDialog_PageSetup ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 
)

Referenced by static_constructor().

AP_UnixDialog_PageSetup::~AP_UnixDialog_PageSetup ( void   )  [virtual]

References m_pBuilder.


Member Function Documentation

GtkWidget * AP_UnixDialog_PageSetup::_getWidget ( const char *  szNameBase,
UT_sint32  level = 0 
) [protected]
void AP_UnixDialog_PageSetup::_setHeight ( const char *  buf  )  [private]
void AP_UnixDialog_PageSetup::_setWidth ( const char *  buf  )  [private]
void AP_UnixDialog_PageSetup::_updatePageSizeList ( void   )  [private]
void AP_UnixDialog_PageSetup::event_Cancel ( void   )  [virtual]
void AP_UnixDialog_PageSetup::event_LandscapeChanged ( void   ) 
XAP_Dialog * AP_UnixDialog_PageSetup::static_constructor ( XAP_DialogFactory pFactory,
XAP_Dialog_Id  id 
) [static]

Member Data Documentation

Referenced by _constructWindow().

Reimplemented from AP_Dialog_PageSetup.

Referenced by event_OK(), and runModal().

GtkWidget* AP_UnixDialog_PageSetup::m_wHelp [protected]

Referenced by _constructWindow().

GtkWidget* AP_UnixDialog_PageSetup::m_window [protected]

Referenced by _constructWindow().


The documentation for this class was generated from the following files: