#include <xap_QtDlg_FileOpenSaveAs.h>
Public Member Functions | |
| XAP_QtDialog_FileOpenSaveAs (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
| virtual | ~XAP_QtDialog_FileOpenSaveAs (void) |
| virtual void | runModal (XAP_Frame *pFrame) |
| gint | previewPicture () |
| void | fileTypeChanged (QWidget *w) |
| void | onDeleteCancel (void) |
Static Public Member Functions | |
| static XAP_Dialog * | static_constructor (XAP_DialogFactory *, XAP_Dialog_Id id) |
Protected Member Functions | |
| QPixmap * | pixmapForByteBuf (UT_ByteBuf *pBB) |
| QPixmap * | _loadXPM (UT_ByteBuf *pBB) |
| bool | _run_gtk_main (XAP_Frame *pFrame, QWidget *filetypes_pulldown) |
| void | _notifyError_OKOnly (XAP_Frame *pFrame, XAP_String_Id sid) |
| void | _notifyError_OKOnly (XAP_Frame *pFrame, XAP_String_Id sid, const char *sz1) |
| bool | _askOverwrite_YesNo (XAP_Frame *pFrame, const char *fileName) |
Protected Attributes | |
| QFileDialog * | m_fileDialog |
| QWidget * | m_preview |
| XAP_Frame * | m_pFrame |
| char * | m_szFinalPathnameCandidate |
Private Attributes | |
| bool | m_bSave |
| QWidget * | m_wFileTypes_PullDown |
| XAP_QtDialog_FileOpenSaveAs::XAP_QtDialog_FileOpenSaveAs | ( | XAP_DialogFactory * | pDlgFactory, | |
| XAP_Dialog_Id | id | |||
| ) |
References m_szFinalPathnameCandidate.
Referenced by static_constructor().
| XAP_QtDialog_FileOpenSaveAs::~XAP_QtDialog_FileOpenSaveAs | ( | void | ) | [virtual] |
References FREEP, and m_szFinalPathnameCandidate.
| bool XAP_QtDialog_FileOpenSaveAs::_askOverwrite_YesNo | ( | XAP_Frame * | pFrame, | |
| const char * | fileName | |||
| ) | [protected] |
| QPixmap * XAP_QtDialog_FileOpenSaveAs::_loadXPM | ( | UT_ByteBuf * | pBB | ) | [protected] |
| void XAP_QtDialog_FileOpenSaveAs::_notifyError_OKOnly | ( | XAP_Frame * | pFrame, | |
| XAP_String_Id | sid, | |||
| const char * | sz1 | |||
| ) | [protected] |
| void XAP_QtDialog_FileOpenSaveAs::_notifyError_OKOnly | ( | XAP_Frame * | pFrame, | |
| XAP_String_Id | sid | |||
| ) | [protected] |
| bool XAP_QtDialog_FileOpenSaveAs::_run_gtk_main | ( | XAP_Frame * | pFrame, | |
| QWidget * | filetypes_pulldown | |||
| ) | [protected] |
| void XAP_QtDialog_FileOpenSaveAs::fileTypeChanged | ( | QWidget * | w | ) |
| void XAP_QtDialog_FileOpenSaveAs::onDeleteCancel | ( | void | ) |
| QPixmap * XAP_QtDialog_FileOpenSaveAs::pixmapForByteBuf | ( | UT_ByteBuf * | pBB | ) | [protected] |
| gint XAP_QtDialog_FileOpenSaveAs::previewPicture | ( | void | ) |
| void XAP_QtDialog_FileOpenSaveAs::runModal | ( | XAP_Frame * | pFrame | ) | [virtual] |
Implements XAP_Dialog_FileOpenSaveAs.
References XAP_Frame::getFrameImpl(), XAP_App::getStringSet(), XAP_QtFrameImpl::getTopLevel(), XAP_StringSet::getValueUTF8(), XAP_Dialog_FileOpenSaveAs::m_answer, m_bSave, m_fileDialog, XAP_Dialog_FileOpenSaveAs::m_finalPathname, XAP_Dialog::m_id, XAP_Dialog::m_pApp, UT_ASSERT, UT_DEBUGMSG, UT_SHOULD_NOT_HAPPEN, XAP_DIALOG_ID_FILE_EXPORT, XAP_DIALOG_ID_FILE_IMPORT, XAP_DIALOG_ID_FILE_OPEN, XAP_DIALOG_ID_FILE_SAVE_IMAGE, XAP_DIALOG_ID_FILE_SAVEAS, XAP_DIALOG_ID_INSERT_FILE, XAP_DIALOG_ID_INSERT_PICTURE, XAP_DIALOG_ID_INSERTMATHML, XAP_DIALOG_ID_INSERTOBJECT, XAP_DIALOG_ID_PRINTTOFILE, XAP_DIALOG_ID_RECORDTOFILE, and XAP_DIALOG_ID_REPLAYFROMFILE.
| XAP_Dialog * XAP_QtDialog_FileOpenSaveAs::static_constructor | ( | XAP_DialogFactory * | pFactory, | |
| XAP_Dialog_Id | id | |||
| ) | [static] |
References XAP_QtDialog_FileOpenSaveAs().
bool XAP_QtDialog_FileOpenSaveAs::m_bSave [private] |
Referenced by runModal().
QFileDialog* XAP_QtDialog_FileOpenSaveAs::m_fileDialog [protected] |
Referenced by runModal().
XAP_Frame* XAP_QtDialog_FileOpenSaveAs::m_pFrame [protected] |
QWidget* XAP_QtDialog_FileOpenSaveAs::m_preview [protected] |
char* XAP_QtDialog_FileOpenSaveAs::m_szFinalPathnameCandidate [protected] |
Referenced by XAP_QtDialog_FileOpenSaveAs(), and ~XAP_QtDialog_FileOpenSaveAs().
QWidget* XAP_QtDialog_FileOpenSaveAs::m_wFileTypes_PullDown [private] |
1.7.1