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

AP_Dialog_Stylist Class Reference

#include <ap_Dialog_Stylist.h>

Inheritance diagram for AP_Dialog_Stylist:
XAP_Dialog_Modeless XAP_Dialog_AppPersistent XAP_Dialog_Persistent XAP_Dialog AP_CocoaDialog_Stylist AP_UnixDialog_Stylist AP_Win32Dialog_Stylist

List of all members.

Public Member Functions

 AP_Dialog_Stylist (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_Dialog_Stylist (void)
virtual void runModeless (XAP_Frame *pFrame)=0
virtual void runModal (XAP_Frame *pFrame)=0
bool isStyleValid (void)
void startUpdater (void)
void stopUpdater (void)
virtual void setSensitivity (bool)
void setActiveFrame (XAP_Frame *pFrame)
void event_update (void)
void finalize (void)
Stylist_treegetStyleTree (void) const
const UT_UTF8StringgetCurStyle (void) const
UT_UTF8String getSelectedStyle (void) const
void setCurStyle (UT_UTF8String &sStyle)
void Apply (void)
virtual void setStyleInGUI (void)=0
void updateDialog (void)
bool isStyleChanged (void) const
bool isStyleTreeChanged (void) const
UT_sint32 getNumStyles (void) const
void setStyleTreeChanged (bool b)
void setStyleChanged (bool b)
void setStyleValid (bool bValid)

Static Public Member Functions

static void autoUpdate (UT_Worker *pTimer)

Protected Member Functions

void setAllSensitivities ()

Protected Attributes

bool m_bIsModal

Private Attributes

UT_uint32 m_iTick
UT_UTF8String m_sCurStyle
bool m_bStyleTreeChanged
bool m_bStyleChanged
bool m_bStyleValid

Constructor & Destructor Documentation

AP_Dialog_Stylist::AP_Dialog_Stylist ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 
AP_Dialog_Stylist::~AP_Dialog_Stylist ( void   )  [virtual]

References DELETEP, m_pStyleTree, and stopUpdater().

Member Function Documentation

void AP_Dialog_Stylist::autoUpdate ( UT_Worker pTimer  )  [static]

Autoupdater of the dialog.

References UT_Worker::getInstanceData(), updateDialog(), and UT_return_if_fail.

Referenced by startUpdater().

void AP_Dialog_Stylist::event_update ( void   ) 
void AP_Dialog_Stylist::finalize ( void   ) 

Finalize the dialog.

References XAP_Dialog_Modeless::modeless_cleanup(), and stopUpdater().

Referenced by AP_UnixDialog_Stylist::destroy().

const UT_UTF8String* AP_Dialog_Stylist::getCurStyle ( void   )  const [inline]
UT_sint32 AP_Dialog_Stylist::getNumStyles ( void   )  const

References Stylist_tree::getNumStyles(), and m_pStyleTree.

Referenced by updateDialog().

UT_UTF8String AP_Dialog_Stylist::getSelectedStyle ( void   )  const [inline]
bool AP_Dialog_Stylist::isStyleChanged ( void   )  const [inline]
bool AP_Dialog_Stylist::isStyleTreeChanged ( void   )  const [inline]
bool AP_Dialog_Stylist::isStyleValid ( void   )  [inline]
virtual void AP_Dialog_Stylist::runModal ( XAP_Frame pFrame  )  [pure virtual]
virtual void AP_Dialog_Stylist::runModeless ( XAP_Frame pFrame  )  [pure virtual]

Implements XAP_Dialog_Modeless.

Implemented in AP_CocoaDialog_Stylist, and AP_UnixDialog_Stylist.

Referenced by Defun1().

void AP_Dialog_Stylist::setActiveFrame ( XAP_Frame pFrame  )  [virtual]
void AP_Dialog_Stylist::setAllSensitivities ( void   )  [protected]
virtual void AP_Dialog_Stylist::setSensitivity ( bool   )  [inline, virtual]

Reimplemented in AP_CocoaDialog_Stylist.

Referenced by setAllSensitivities().

void AP_Dialog_Stylist::setStyleChanged ( bool  b  )  [inline]
virtual void AP_Dialog_Stylist::setStyleInGUI ( void   )  [pure virtual]

Implemented in AP_CocoaDialog_Stylist, and AP_UnixDialog_Stylist.

Referenced by updateDialog().

void AP_Dialog_Stylist::setStyleTreeChanged ( bool  b  )  [inline]
void AP_Dialog_Stylist::setStyleValid ( bool  bValid  )  [inline]
void AP_Dialog_Stylist::stopUpdater ( void   ) 

Member Data Documentation

Referenced by updateDialog().

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