tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / scui_def.hxx
blobaf4252ba4abe8b9b53aebe3e3a9ad7c7572e98c6
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 <o3tl/typed_flags_set.hxx>
24 #define SCRET_COLS 0x42
25 #define SCRET_ROWS 0x43
27 #define FDS_OPT_NONE 0 // from filldlg.hxx
28 #define FDS_OPT_HORZ 1 // from filldlg.hxx
29 #define FDS_OPT_VERT 2 // from filldlg.hxx
31 enum class InsertContentsFlags {
32 NONE = 0x00,
33 NoEmpty = 0x01, //from inscodlg.hxx
34 Trans = 0x02, //from inscodlg.hxx
35 Link = 0x04 //from inscodlg.hxx
37 namespace o3tl {
38 template<> struct typed_flags<InsertContentsFlags> : is_typed_flags<InsertContentsFlags, 0x07> {};
41 enum class CellShiftDisabledFlags {
42 NONE = 0x00,
43 Down = 0x01, //from inscodlg.hxx
44 Right = 0x02 //from inscodlg.hxx
46 namespace o3tl {
47 template<> struct typed_flags<CellShiftDisabledFlags> : is_typed_flags<CellShiftDisabledFlags, 0x3> {};
50 enum class CreateNameFlags {
51 NONE = 0,
52 Top = 1, //from namecrea.hxx
53 Left = 2, //from namecrea.hxx
54 Bottom = 4, //from namecrea.hxx
55 Right = 8, //from namecrea.hxx
57 namespace o3tl {
58 template<> struct typed_flags<CreateNameFlags> : is_typed_flags<CreateNameFlags, 0xf> {};
61 #define BTN_PASTE_NAME 100 // from namepast.hxx
62 #define BTN_PASTE_LIST 101 // from namepast.hxx
63 #define BTN_PASTE_CLOSE 102 // from namepast.hxx
65 #define BTN_EXTEND_RANGE 150
66 #define BTN_CURRENT_SELECTION 151
67 #define SCRET_REMOVE 0x42 //from subtdlg.hxx
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */