LibreOffice Module sd (master) 1
present.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <vcl/weld.hxx>
23#include <vcl/weldutils.hxx>
24
25class SfxItemSet;
27
32{
33private:
36 sal_Int32 mnMonitors;
37
38 std::unique_ptr<weld::RadioButton> m_xRbtAll;
39 std::unique_ptr<weld::RadioButton> m_xRbtAtDia;
40 std::unique_ptr<weld::RadioButton> m_xRbtCustomshow;
41 std::unique_ptr<weld::ComboBox> m_xLbDias;
42 std::unique_ptr<weld::ComboBox> m_xLbCustomshow;
43
44 std::unique_ptr<weld::RadioButton> m_xRbtStandard;
45 std::unique_ptr<weld::RadioButton> m_xRbtWindow;
46 std::unique_ptr<weld::RadioButton> m_xRbtAuto;
47 std::unique_ptr<weld::FormattedSpinButton> m_xTmfPause;
48 std::unique_ptr<weld::TimeFormatter> m_xFormatter;
49 std::unique_ptr<weld::CheckButton> m_xCbxAutoLogo;
50
51 std::unique_ptr<weld::CheckButton> m_xCbxManuel;
52 std::unique_ptr<weld::CheckButton> m_xCbxMousepointer;
53 std::unique_ptr<weld::CheckButton> m_xCbxPen;
54 std::unique_ptr<weld::CheckButton> m_xCbxAnimationAllowed;
55 std::unique_ptr<weld::CheckButton> m_xCbxChangePage;
56 std::unique_ptr<weld::CheckButton> m_xCbxAlwaysOnTop;
57 std::unique_ptr<weld::CheckButton> m_xCbxShowNavigationButton;
58
59 std::unique_ptr<weld::Label> m_xFtMonitor;
60 std::unique_ptr<weld::ComboBox> m_xLBMonitor;
61
62 std::unique_ptr<weld::Label> m_xMonitor;
63 std::unique_ptr<weld::Label> m_xAllMonitors;
64 std::unique_ptr<weld::Label> m_xMonitorExternal;
65 std::unique_ptr<weld::Label> m_xExternal;
66
67 DECL_LINK(ChangeRangeHdl, weld::Toggleable&, void);
68 DECL_LINK(ClickWindowPresentationHdl, weld::Toggleable&, void);
69 void ChangePause();
70 DECL_LINK(ChangePauseHdl, weld::FormattedSpinButton&, void);
71
77 };
78 sal_Int32 InsertDisplayEntry(const OUString &aName,
79 sal_Int32 nDisplay);
80 OUString GetDisplayName( sal_Int32 nDisplay,
81 DisplayType eType );
82public:
84 const SfxItemSet& rInAttrs,
85 const std::vector<OUString> &rPageNames,
86 SdCustomShowList* pCSList);
87 virtual ~SdStartPresentationDlg() override;
89};
90
91/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Dialog to define optionsm_xnd to start the presentation.
Definition: present.hxx:32
virtual ~SdStartPresentationDlg() override
Definition: present.cxx:143
std::unique_ptr< weld::CheckButton > m_xCbxAutoLogo
Definition: present.hxx:49
std::unique_ptr< weld::CheckButton > m_xCbxMousepointer
Definition: present.hxx:52
DECL_LINK(ClickWindowPresentationHdl, weld::Toggleable &, void)
DECL_LINK(ChangePauseHdl, weld::FormattedSpinButton &, void)
std::unique_ptr< weld::CheckButton > m_xCbxManuel
Definition: present.hxx:51
std::unique_ptr< weld::CheckButton > m_xCbxShowNavigationButton
Definition: present.hxx:57
SdCustomShowList * pCustomShowList
Definition: present.hxx:34
sal_Int32 InsertDisplayEntry(const OUString &aName, sal_Int32 nDisplay)
Store display index together with name in user data.
Definition: present.cxx:171
std::unique_ptr< weld::FormattedSpinButton > m_xTmfPause
Definition: present.hxx:47
std::unique_ptr< weld::ComboBox > m_xLbCustomshow
Definition: present.hxx:42
std::unique_ptr< weld::CheckButton > m_xCbxAlwaysOnTop
Definition: present.hxx:56
std::unique_ptr< weld::CheckButton > m_xCbxPen
Definition: present.hxx:53
std::unique_ptr< weld::RadioButton > m_xRbtCustomshow
Definition: present.hxx:40
std::unique_ptr< weld::RadioButton > m_xRbtAtDia
Definition: present.hxx:39
OUString GetDisplayName(sal_Int32 nDisplay, DisplayType eType)
Definition: present.cxx:147
std::unique_ptr< weld::CheckButton > m_xCbxChangePage
Definition: present.hxx:55
std::unique_ptr< weld::Label > m_xFtMonitor
Definition: present.hxx:59
std::unique_ptr< weld::RadioButton > m_xRbtWindow
Definition: present.hxx:45
std::unique_ptr< weld::Label > m_xMonitorExternal
Definition: present.hxx:64
std::unique_ptr< weld::RadioButton > m_xRbtStandard
Definition: present.hxx:44
sal_Int32 mnMonitors
Definition: present.hxx:36
void GetAttr(SfxItemSet &rOutAttrs)
sets the selected attributes of the dialog
Definition: present.cxx:250
std::unique_ptr< weld::Label > m_xAllMonitors
Definition: present.hxx:63
std::unique_ptr< weld::CheckButton > m_xCbxAnimationAllowed
Definition: present.hxx:54
SdStartPresentationDlg(weld::Window *pWindow, const SfxItemSet &rInAttrs, const std::vector< OUString > &rPageNames, SdCustomShowList *pCSList)
Definition: present.cxx:34
DECL_LINK(ChangeRangeHdl, weld::Toggleable &, void)
std::unique_ptr< weld::RadioButton > m_xRbtAuto
Definition: present.hxx:46
std::unique_ptr< weld::ComboBox > m_xLBMonitor
Definition: present.hxx:60
std::unique_ptr< weld::ComboBox > m_xLbDias
Definition: present.hxx:41
const SfxItemSet & rOutAttrs
Definition: present.hxx:35
std::unique_ptr< weld::RadioButton > m_xRbtAll
Definition: present.hxx:38
std::unique_ptr< weld::TimeFormatter > m_xFormatter
Definition: present.hxx:48
std::unique_ptr< weld::Label > m_xMonitor
Definition: present.hxx:62
std::unique_ptr< weld::Label > m_xExternal
Definition: present.hxx:65