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

AP_UnixDialog_Stylist Class Reference

#include <ap_UnixDialog_Stylist.h>

Inheritance diagram for AP_UnixDialog_Stylist:
AP_Dialog_Stylist XAP_Dialog_Modeless XAP_Dialog_AppPersistent XAP_Dialog_Persistent XAP_Dialog

List of all members.

Public Member Functions

 AP_UnixDialog_Stylist (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_UnixDialog_Stylist (void)
virtual void runModeless (XAP_Frame *pFrame)
virtual void runModal (XAP_Frame *pFrame)
void event_Close (void)
void event_Apply (void)
void styleClicked (UT_sint32 row, UT_sint32 col)
virtual void destroy (void)
virtual void activate (void)
virtual void notifyActiveFrame (XAP_Frame *pFrame)
virtual void setStyleInGUI (void)

Static Public Member Functions

static XAP_Dialogstatic_constructor (XAP_DialogFactory *, XAP_Dialog_Id id)

Private Member Functions

GtkWidget * _constructWindow (void)
void _populateWindowData (void)
void _connectSignals (void)
void _fillTree (void)

Private Attributes

GtkWidget * m_windowMain
GtkWidget * m_wStyleList
GtkCellRenderer * m_wRenderer
GtkTreeStore * m_wModel
GtkWidget * m_wStyleListContainer

Constructor & Destructor Documentation

AP_UnixDialog_Stylist::AP_UnixDialog_Stylist ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 

Referenced by static_constructor().

AP_UnixDialog_Stylist::~AP_UnixDialog_Stylist ( void   )  [virtual]

Member Function Documentation

void AP_UnixDialog_Stylist::_connectSignals ( void   )  [private]
GtkWidget * AP_UnixDialog_Stylist::_constructWindow ( void   )  [private]
void AP_UnixDialog_Stylist::_populateWindowData ( void   )  [private]

References _fillTree(), and setStyleInGUI().

Referenced by runModal(), and runModeless().

void AP_UnixDialog_Stylist::activate ( void   )  [virtual]

Implements XAP_Dialog_Modeless.

References m_windowMain, and UT_ASSERT.

void AP_UnixDialog_Stylist::destroy ( void   )  [virtual]
void AP_UnixDialog_Stylist::event_Apply ( void   ) 
void AP_UnixDialog_Stylist::event_Close ( void   ) 

References destroy().

Referenced by s_destroy_clicked().

void AP_UnixDialog_Stylist::notifyActiveFrame ( XAP_Frame pFrame  )  [virtual]

Reimplemented from XAP_Dialog_Modeless.

References m_windowMain, and UT_ASSERT.

void AP_UnixDialog_Stylist::runModeless ( XAP_Frame pFrame  )  [virtual]
XAP_Dialog * AP_UnixDialog_Stylist::static_constructor ( XAP_DialogFactory pFactory,
XAP_Dialog_Id  id 
) [static]
void AP_UnixDialog_Stylist::styleClicked ( UT_sint32  row,
UT_sint32  col 

Set the style in the XP layer from the selection in the GUI.

References Stylist_tree::getStyleAtRowCol(), AP_Dialog_Stylist::getStyleTree(), AP_Dialog_Stylist::setCurStyle(), UT_DEBUGMSG, and UT_UTF8String::utf8_str().

Referenced by s_types_clicked().

Member Data Documentation

GtkTreeStore* AP_UnixDialog_Stylist::m_wModel [private]

Referenced by _fillTree().

GtkCellRenderer* AP_UnixDialog_Stylist::m_wRenderer [private]

Referenced by _fillTree(), and destroy().

Referenced by _fillTree(), destroy(), and setStyleInGUI().

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