tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / foptmgr.hxx
blob661feac98fb22f190560fb27cebf6a5547dcc920
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #pragma once
22 #include <vcl/weld.hxx>
24 namespace formula
26 class RefButton;
27 class RefButton;
28 class RefEdit;
30 struct ScQueryParam;
31 class ScDocument;
32 class ScViewData;
34 class ScFilterOptionsMgr
36 public:
37 ScFilterOptionsMgr(ScViewData* ptrViewData,
38 const ScQueryParam& refQueryData,
39 weld::CheckButton* refBtnCase,
40 weld::CheckButton* refBtnRegExp,
41 weld::CheckButton* refBtnHeader,
42 weld::CheckButton* refBtnUnique,
43 weld::CheckButton* refBtnCopyResult,
44 weld::CheckButton* refBtnDestPers,
45 weld::ComboBox* refLbCopyArea,
46 formula::RefEdit* refEdCopyArea,
47 formula::RefButton* refRbCopyArea,
48 weld::Label* refFtDbAreaLabel,
49 weld::Label* refFtDbArea,
50 const OUString& refStrUndefined );
51 bool VerifyPosStr ( const OUString& rPosStr ) const;
53 private:
54 ScViewData* pViewData;
55 ScDocument* pDoc;
57 weld::CheckButton* pBtnCase;
58 weld::CheckButton* pBtnRegExp;
59 weld::CheckButton* pBtnHeader;
60 weld::CheckButton* pBtnUnique;
61 weld::CheckButton* pBtnCopyResult;
62 weld::CheckButton* pBtnDestPers;
63 weld::ComboBox* pLbCopyArea;
64 formula::RefEdit* pEdCopyArea;
65 formula::RefButton* pRbCopyArea;
66 weld::Label* pFtDbAreaLabel;
67 weld::Label* pFtDbArea;
69 const OUString& rStrUndefined;
71 const ScQueryParam& rQueryData;
73 private:
74 void Init();
76 // Handler:
77 DECL_LINK( EdAreaModifyHdl, formula::RefEdit&, void );
78 DECL_LINK( LbAreaSelHdl, weld::ComboBox&, void );
79 DECL_LINK( BtnCopyResultHdl, weld::Toggleable&, void );
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */