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::ScScenarioWindow ( weld::Builder rBuilder,
const OUString &  rQH_List,
const OUString &  rQH_Comment 
)

◆ ~ScScenarioWindow()

ScScenarioWindow::~ScScenarioWindow ( )

Definition at line 211 of file scenwnd.cxx.

Member Function Documentation

◆ DECL_LINK() [1/4]

ScScenarioWindow::DECL_LINK ( ContextMenuHdl  ,
const CommandEvent ,
bool   
)
private

◆ DECL_LINK() [2/4]

ScScenarioWindow::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [3/4]

ScScenarioWindow::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_LINK() [4/4]

ScScenarioWindow::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DeleteScenario()

void ScScenarioWindow::DeleteScenario ( )
private

◆ EditScenario()

void ScScenarioWindow::EditScenario ( )
private

Definition at line 165 of file scenwnd.cxx.

References ExecuteScenarioSlot(), and m_xLbScenario.

◆ ExecuteScenarioSlot()

void ScScenarioWindow::ExecuteScenarioSlot ( sal_uInt16  nSlotId)
private

Definition at line 149 of file scenwnd.cxx.

References SfxViewFrame::Current(), and m_xLbScenario.

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

◆ GetSelectedScenarioEntry()

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

Definition at line 143 of file scenwnd.cxx.

References m_aEntries, m_xLbScenario, and nPos.

◆ NotifyState()

void ScScenarioWindow::NotifyState ( const SfxPoolItem pState)

Definition at line 215 of file scenwnd.cxx.

References m_xLbScenario, and UpdateEntries().

◆ SelectScenario()

void ScScenarioWindow::SelectScenario ( )
private

Definition at line 159 of file scenwnd.cxx.

References ExecuteScenarioSlot(), and m_xLbScenario.

◆ SetComment()

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

Definition at line 53 of file navipi.hxx.

References m_xEdComment.

Referenced by UpdateEntries().

◆ UpdateEntries()

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

Member Data Documentation

◆ m_aEntries

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

Definition at line 71 of file navipi.hxx.

Referenced by GetSelectedScenarioEntry(), and UpdateEntries().

◆ m_xEdComment

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

Definition at line 60 of file navipi.hxx.

Referenced by ScScenarioWindow(), and SetComment().

◆ m_xLbScenario

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

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