LibreOffice Module sc (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScScenarioWindow Class Reference

#include <navipi.hxx>

Classes

struct  ScenarioEntry
 

Public Member Functions

 ScScenarioWindow (weld::Builder &rBuilder, const OUString &rQH_List, const OUString &rQH_Comment)
 
 ~ScScenarioWindow ()
 
void NotifyState (const SfxPoolItem *pState)
 
void SetComment (const OUString &rComment)
 

Private Member Functions

void UpdateEntries (const std::vector< OUString > &rNewEntryList)
 
void SelectScenario ()
 
void ExecuteScenarioSlot (sal_uInt16 nSlotId)
 
void EditScenario ()
 
void DeleteScenario ()
 
const ScenarioEntryGetSelectedScenarioEntry () const
 
 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_LINK (DoubleClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (ContextMenuHdl, const CommandEvent &, bool)
 

Private Attributes

std::unique_ptr< weld::TreeViewm_xLbScenario
 
std::unique_ptr< weld::TextViewm_xEdComment
 
std::vector< ScenarioEntrym_aEntries
 

Detailed Description

Definition at line 47 of file navipi.hxx.

Constructor & Destructor Documentation

ScScenarioWindow::ScScenarioWindow ( weld::Builder rBuilder,
const OUString &  rQH_List,
const OUString &  rQH_Comment 
)
ScScenarioWindow::~ScScenarioWindow ( )

Definition at line 213 of file scenwnd.cxx.

Member Function Documentation

ScScenarioWindow::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private
ScScenarioWindow::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private
ScScenarioWindow::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private
ScScenarioWindow::DECL_LINK ( ContextMenuHdl  ,
const CommandEvent ,
bool   
)
private
void ScScenarioWindow::DeleteScenario ( )
private
void ScScenarioWindow::EditScenario ( )
private

Definition at line 167 of file scenwnd.cxx.

References ExecuteScenarioSlot(), and m_xLbScenario.

void ScScenarioWindow::ExecuteScenarioSlot ( sal_uInt16  nSlotId)
private

Definition at line 151 of file scenwnd.cxx.

References SfxViewFrame::Current(), and m_xLbScenario.

Referenced by DeleteScenario(), EditScenario(), and SelectScenario().

const ScScenarioWindow::ScenarioEntry * ScScenarioWindow::GetSelectedScenarioEntry ( ) const
private

Definition at line 145 of file scenwnd.cxx.

References m_aEntries, m_xLbScenario, and nPos.

void ScScenarioWindow::NotifyState ( const SfxPoolItem pState)

Definition at line 217 of file scenwnd.cxx.

References m_xLbScenario, and UpdateEntries().

void ScScenarioWindow::SelectScenario ( )
private

Definition at line 161 of file scenwnd.cxx.

References ExecuteScenarioSlot(), and m_xLbScenario.

void ScScenarioWindow::SetComment ( const OUString &  rComment)
inline

Definition at line 53 of file navipi.hxx.

References m_xEdComment.

Referenced by UpdateEntries().

void ScScenarioWindow::UpdateEntries ( const std::vector< OUString > &  rNewEntryList)
private

Member Data Documentation

std::vector< ScenarioEntry > ScScenarioWindow::m_aEntries
private

Definition at line 71 of file navipi.hxx.

Referenced by GetSelectedScenarioEntry(), and UpdateEntries().

std::unique_ptr<weld::TextView> ScScenarioWindow::m_xEdComment
private

Definition at line 60 of file navipi.hxx.

Referenced by ScScenarioWindow(), and SetComment().

std::unique_ptr<weld::TreeView> ScScenarioWindow::m_xLbScenario
private

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