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

AP_UnixDialog_Lists Class Reference

#include <ap_UnixDialog_Lists.h>

Inheritance diagram for AP_UnixDialog_Lists:
AP_Dialog_Lists AP_Dialog_Modeless XAP_Dialog_Modeless XAP_Dialog_AppPersistent XAP_Dialog_Persistent XAP_Dialog

List of all members.

Public Member Functions

 AP_UnixDialog_Lists (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_UnixDialog_Lists (void)
virtual void runModeless (XAP_Frame *pFrame)
virtual void destroy (void)
virtual void activate (void)
virtual void notifyActiveFrame (XAP_Frame *pFrame)
virtual void runModal (XAP_Frame *pFrame)
void customChanged (void)
void applyClicked (void)
void closeClicked (void)
void styleChanged (gint style)
void previewExposed (void)
void setFoldLevel (UT_sint32 iLevel, bool bSet)
void setListTypeFromWidget (void)
void setXPFromLocal (void)
void loadXPDataIntoLocal (void)
void updateFromDocument (void)
void setAllSensitivity (void)
void updateDialog (void)
bool dontUpdate (void)
virtual bool isPageLists (void)
virtual void setFoldLevelInGUI (void)

Static Public Member Functions

static XAP_Dialogstatic_constructor (XAP_DialogFactory *, XAP_Dialog_Id id)
static void autoupdateLists (UT_Worker *pTimer)

Protected Member Functions

virtual GtkWidget * _constructWindow (void)
GtkWidget * _constructWindowContents (void)
void _setRadioButtonLabels (void)
void _connectSignals (void)
void _fillNumberedStyleMenu (GtkListStore *listmenu)
void _fillBulletedStyleMenu (GtkListStore *listmenu)
void _fillNoneStyleMenu (GtkListStore *listmenu)
void _gatherData (void)
void _getGlistFonts (std::vector< std::string > &glFonts)
void _fillFontMenu (GtkListStore *store)
GtkWidget * _getCloseButton (void)
GtkWidget * _getApplyButton (void)
GtkWidget * _getMainWindow (void)
void _setCloseButton (GtkWidget *w)
void _setApplyButton (GtkWidget *w)
void _setMainWindow (GtkWidget *w)

Private Types

enum  ResponseId {

Private Attributes

std::vector< std::string > m_glFonts
bool m_bManualListStyle
bool m_bDestroy_says_stopupdating
bool m_bAutoUpdate_happening_now
bool m_bDontUpdate
GtkWidget * m_wMainWindow
GtkWidget * m_wApply
GtkWidget * m_wClose
GtkWidget * m_wContents
GtkWidget * m_wStartNewList
GtkWidget * m_wApplyCurrent
GtkWidget * m_wStartSubList
GSList * m_wRadioGroup
GtkWidget * m_wPreviewArea
GtkWidget * m_wDelimEntry
GtkWidget * m_wDecimalEntry
GtkAdjustment * m_oAlignList_adj
GtkWidget * m_wAlignListSpin
GtkAdjustment * m_oIndentAlign_adj
GtkWidget * m_wIndentAlignSpin
GtkComboBox * m_wFontOptions
GtkListStore * m_wFontOptions_menu
GtkWidget * m_wCustomFrame
GtkWidget * m_wCustomTable
GtkWidget * m_wCustomLabel
GtkComboBox * m_wListStyleBox
XAP_GtkObjectHolder< GtkListStore > m_wListStyleNumbered_menu
XAP_GtkObjectHolder< GtkListStore > m_wListStyleBulleted_menu
XAP_GtkObjectHolder< GtkListStore > m_wListStyleNone_menu
XAP_GtkObjectHolder< GtkListStore > m_wListStyle_menu
GtkComboBox * m_wListTypeBox
XAP_GtkObjectHolder< GtkListStore > m_wListType_menu
GtkAdjustment * m_oStartSpin_adj
GtkWidget * m_wStartSpin
GtkWidget * m_wStartSub_label
GtkWidget * m_wStartNew_label
gint m_iDelimEntryID
gint m_iDecimalEntryID
gint m_iStyleBoxID
gint m_iAlignListSpinID
gint m_iIndentAlignSpinID
UT_sint32 m_iPageLists
UT_sint32 m_iPageFold
UT_GenericVector< GtkWidget * > m_vecFoldCheck
UT_NumberVector m_vecFoldID

Member Enumeration Documentation


Constructor & Destructor Documentation

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

References DELETEP, and m_pPreviewWidget.

Member Function Documentation

void AP_UnixDialog_Lists::_fillBulletedStyleMenu ( GtkListStore *  listmenu  )  [protected]
void AP_UnixDialog_Lists::_fillFontMenu ( GtkListStore *  store  )  [protected]
void AP_UnixDialog_Lists::_fillNoneStyleMenu ( GtkListStore *  listmenu  )  [protected]
void AP_UnixDialog_Lists::_fillNumberedStyleMenu ( GtkListStore *  listmenu  )  [protected]
GtkWidget* AP_UnixDialog_Lists::_getApplyButton ( void   )  [inline, protected]

References m_wApply.

GtkWidget* AP_UnixDialog_Lists::_getCloseButton ( void   )  [inline, protected]

References m_wClose.

void AP_UnixDialog_Lists::_getGlistFonts ( std::vector< std::string > &  glFonts  )  [protected]
GtkWidget* AP_UnixDialog_Lists::_getMainWindow ( void   )  [inline, protected]

References m_wMainWindow.

void AP_UnixDialog_Lists::_setApplyButton ( GtkWidget *  w  )  [inline, protected]

References m_wApply.

void AP_UnixDialog_Lists::_setCloseButton ( GtkWidget *  w  )  [inline, protected]

References m_wClose.

void AP_UnixDialog_Lists::_setMainWindow ( GtkWidget *  w  )  [inline, protected]

References m_wMainWindow.

void AP_UnixDialog_Lists::_setRadioButtonLabels ( void   )  [protected]
void AP_UnixDialog_Lists::activate ( void   )  [virtual]
void AP_UnixDialog_Lists::applyClicked ( void   ) 
void AP_UnixDialog_Lists::closeClicked ( void   ) 
void AP_UnixDialog_Lists::customChanged ( void   ) 
bool AP_UnixDialog_Lists::dontUpdate ( void   ) 
bool AP_UnixDialog_Lists::isPageLists ( void   )  [virtual]
void AP_UnixDialog_Lists::notifyActiveFrame ( XAP_Frame pFrame  )  [virtual]
void AP_UnixDialog_Lists::setAllSensitivity ( void   ) 
void AP_UnixDialog_Lists::setFoldLevel ( UT_sint32  iLevel,
bool  bSet 
void AP_UnixDialog_Lists::setFoldLevelInGUI ( void   )  [virtual]

Set the Fold level from the XP layer.

Implements AP_Dialog_Lists.

References AP_Dialog_Lists::getCurrentFold(), and setFoldLevel().

void AP_UnixDialog_Lists::setListTypeFromWidget ( void   ) 

This method just sets the value of m_newListType. This is needed to make fillUncustomizedValues work.

References m_wListStyleBox, and type.

Referenced by s_typeChanged(), and setXPFromLocal().

void AP_UnixDialog_Lists::setXPFromLocal ( void   ) 

This method reads out all the elements of the GUI and sets the XP member variables from them

References _gatherData(), m_wApplyCurrent, m_wStartNewList, m_wStartSubList, and setListTypeFromWidget().

Referenced by applyClicked(), s_valueChanged(), and updateDialog().

XAP_Dialog * AP_UnixDialog_Lists::static_constructor ( XAP_DialogFactory pFactory,
XAP_Dialog_Id  id 
) [static]

References AP_UnixDialog_Lists().

Referenced by runModeless().

void AP_UnixDialog_Lists::updateDialog ( void   ) 
void AP_UnixDialog_Lists::updateFromDocument ( void   ) 

Member Data Documentation

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