#include <ap_UnixDialog_InsertHyperlink.h>
Public Member Functions | |
AP_UnixDialog_InsertHyperlink (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
virtual | ~AP_UnixDialog_InsertHyperlink (void) |
virtual void | runModal (XAP_Frame *pFrame) |
void | event_OK (void) |
void | event_Cancel (void) |
void | setRow (gint row) |
Static Public Member Functions | |
static XAP_Dialog * | static_constructor (XAP_DialogFactory *, XAP_Dialog_Id id) |
Public Attributes | |
GtkWidget * | m_entry |
std::vector< std::string > | m_pBookmarks |
Protected Member Functions | |
virtual GtkWidget * | _constructWindow (void) |
void | _constructWindowContents (GtkWidget *container) |
void | _connectSignals (void) |
Protected Attributes | |
GtkWidget * | m_windowMain |
Private Types | |
enum | ResponseId { BUTTON_OK = GTK_RESPONSE_OK, BUTTON_CANCEL = GTK_RESPONSE_CANCEL } |
Private Attributes | |
GtkWidget * | m_clist |
GtkWidget * | m_swindow |
GtkWidget * | m_titleEntry |
gint | m_iRow |
enum AP_UnixDialog_InsertHyperlink::ResponseId [private] |
AP_UnixDialog_InsertHyperlink::AP_UnixDialog_InsertHyperlink | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) |
Referenced by static_constructor().
AP_UnixDialog_InsertHyperlink::~AP_UnixDialog_InsertHyperlink | ( | void | ) | [virtual] |
void AP_UnixDialog_InsertHyperlink::_connectSignals | ( | void | ) | [protected] |
References m_clist, and s_blist_clicked().
Referenced by _constructWindow().
GtkWidget * AP_UnixDialog_InsertHyperlink::_constructWindow | ( | void | ) | [protected, virtual] |
References _connectSignals(), _constructWindowContents(), abiAddButton(), abiDialogNew(), BUTTON_CANCEL, BUTTON_OK, XAP_App::getStringSet(), XAP_StringSet::getValueUTF8(), m_entry, XAP_Dialog::m_pApp, m_windowMain, and s.
Referenced by runModal().
void AP_UnixDialog_InsertHyperlink::_constructWindowContents | ( | GtkWidget * | container | ) | [protected] |
References gchar, AP_Dialog_InsertHyperlink::getExistingBookmarksCount(), AP_Dialog_InsertHyperlink::getHyperlink(), AP_Dialog_InsertHyperlink::getHyperlinkTitle(), AP_Dialog_InsertHyperlink::getNthExistingBookmark(), XAP_App::getStringSet(), XAP_StringSet::getValueUTF8(), m_clist, m_entry, XAP_Dialog::m_pApp, m_pBookmarks, m_swindow, m_titleEntry, and s.
Referenced by _constructWindow().
void AP_UnixDialog_InsertHyperlink::event_Cancel | ( | void | ) |
References AP_Dialog_InsertHyperlink::a_CANCEL, and AP_Dialog_InsertHyperlink::setAnswer().
Referenced by runModal().
void AP_UnixDialog_InsertHyperlink::event_OK | ( | void | ) |
void AP_UnixDialog_InsertHyperlink::runModal | ( | XAP_Frame * | pFrame | ) | [virtual] |
Implements AP_Dialog_InsertHyperlink.
References _constructWindow(), abiDestroyWidget(), abiRunModalDialog(), BUTTON_CANCEL, BUTTON_OK, event_Cancel(), event_OK(), and UT_ASSERT.
void AP_UnixDialog_InsertHyperlink::setRow | ( | gint | row | ) | [inline] |
References m_iRow.
Referenced by s_blist_clicked().
XAP_Dialog * AP_UnixDialog_InsertHyperlink::static_constructor | ( | XAP_DialogFactory * | pFactory, | |
XAP_Dialog_Id | id | |||
) | [static] |
References AP_UnixDialog_InsertHyperlink().
GtkWidget* AP_UnixDialog_InsertHyperlink::m_clist [private] |
Referenced by _connectSignals(), and _constructWindowContents().
GtkWidget* AP_UnixDialog_InsertHyperlink::m_entry |
Referenced by _constructWindow(), _constructWindowContents(), event_OK(), and s_blist_clicked().
gint AP_UnixDialog_InsertHyperlink::m_iRow [private] |
Referenced by setRow().
std::vector<std::string> AP_UnixDialog_InsertHyperlink::m_pBookmarks |
Referenced by _constructWindowContents(), and s_blist_clicked().
GtkWidget* AP_UnixDialog_InsertHyperlink::m_swindow [private] |
Referenced by _constructWindowContents().
GtkWidget* AP_UnixDialog_InsertHyperlink::m_titleEntry [private] |
Referenced by _constructWindowContents(), and event_OK().
GtkWidget* AP_UnixDialog_InsertHyperlink::m_windowMain [protected] |
Referenced by _constructWindow(), and event_OK().