LibreOffice Module chart2 (master) 1
|
The dialog to change the data table specific properties. More...
#include <dlg_InsertDataTable.hxx>
Public Member Functions | |
InsertDataTableDialog (weld::Window *pParent) | |
void | init (DataTableDialogData const &rData) |
Set the initial state of the data table properties. More... | |
DataTableDialogData & | getDataTableDialogData () |
Get the state of the data table properties from the dialog. More... | |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
DECL_LINK (ShowDataTableToggle, weld::Toggleable &, void) | |
void | changeEnabled () |
Private Attributes | |
DataTablePropertiesResources | m_aDataTablePropertiesResources |
std::unique_ptr< weld::CheckButton > | m_xCbShowDataTable |
DataTableDialogData | m_aData |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
The dialog to change the data table specific properties.
Definition at line 28 of file dlg_InsertDataTable.hxx.
chart::InsertDataTableDialog::InsertDataTableDialog | ( | weld::Window * | pParent | ) |
Definition at line 14 of file dlg_InsertDataTable.cxx.
References init(), LINK, m_aData, and m_xCbShowDataTable.
|
private |
Definition at line 29 of file dlg_InsertDataTable.cxx.
References m_aData, m_aDataTablePropertiesResources, m_xCbShowDataTable, chart::DataTableDialogData::mbShow, and chart::DataTablePropertiesResources::setChecksSensitive().
Referenced by init().
|
private |
DataTableDialogData & chart::InsertDataTableDialog::getDataTableDialogData | ( | ) |
Get the state of the data table properties from the dialog.
Definition at line 47 of file dlg_InsertDataTable.cxx.
References chart::DataTablePropertiesResources::getHorizontalBorder(), chart::DataTablePropertiesResources::getKeys(), chart::DataTablePropertiesResources::getOutline(), chart::DataTablePropertiesResources::getVerticalBorder(), m_aData, m_aDataTablePropertiesResources, m_xCbShowDataTable, chart::DataTableDialogData::mbHorizontalBorders, chart::DataTableDialogData::mbKeys, chart::DataTableDialogData::mbOutline, chart::DataTableDialogData::mbShow, and chart::DataTableDialogData::mbVerticalBorders.
Referenced by chart::ChartController::executeDispatch_OpenInsertDataTableDialog().
void chart::InsertDataTableDialog::init | ( | DataTableDialogData const & | rData | ) |
Set the initial state of the data table properties.
Definition at line 36 of file dlg_InsertDataTable.cxx.
References changeEnabled(), m_aData, m_aDataTablePropertiesResources, m_xCbShowDataTable, chart::DataTableDialogData::mbHorizontalBorders, chart::DataTableDialogData::mbKeys, chart::DataTableDialogData::mbOutline, chart::DataTableDialogData::mbShow, chart::DataTableDialogData::mbVerticalBorders, chart::DataTablePropertiesResources::setHorizontalBorder(), chart::DataTablePropertiesResources::setKeys(), chart::DataTablePropertiesResources::setOutline(), and chart::DataTablePropertiesResources::setVerticalBorder().
Referenced by chart::ChartController::executeDispatch_OpenInsertDataTableDialog(), and InsertDataTableDialog().
|
private |
Definition at line 34 of file dlg_InsertDataTable.hxx.
Referenced by changeEnabled(), getDataTableDialogData(), init(), and InsertDataTableDialog().
|
private |
Definition at line 31 of file dlg_InsertDataTable.hxx.
Referenced by changeEnabled(), getDataTableDialogData(), and init().
|
private |
Definition at line 32 of file dlg_InsertDataTable.hxx.
Referenced by changeEnabled(), getDataTableDialogData(), init(), and InsertDataTableDialog().