tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / awt / UnoControlScrollBarModel.idl
blob876b490b0ac62afd3e07a976deb643e80402d6e1
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 .
22 module com { module sun { module star { module awt {
25 /** specifies the standard model of a UnoControlScrollBar.
27 published service UnoControlScrollBarModel
29 service com::sun::star::awt::UnoControlModel;
32 /** specifies the RGB color to be used for the control.
34 @since OOo 2.0
36 [optional, property] com::sun::star::util::Color BackgroundColor;
39 /** specifies the increment for a block move.
41 [property] long BlockIncrement;
44 /** specifies the border style of the control.
46 <pre>
47 0: No border
48 1: 3D border
49 2: simple border
50 </pre>
52 [property] short Border;
55 /** specifies the color of the border, if present
57 <p>Not every border style (see #Border) may support coloring.
58 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
60 @since OOo 2.0
62 [optional, property] long BorderColor;
65 /** determines whether the control is enabled or disabled.
67 [property] boolean Enabled;
70 /** specifies the help text of the control.
72 [property] string HelpText;
75 /** specifies the help URL of the control.
77 [property] string HelpURL;
80 /** specifies the increment for a single line move.
82 [property] long LineIncrement;
85 /** specifies the scrolling behavior of the control.
87 <p>`TRUE` means, that when the user moves the slider in the scroll bar,
88 the content of the window is updated immediately.
89 `FALSE` means, that the window is only updated after the user has
90 released the mouse button.</p>
92 @since OOo 2.0
94 [optional, property] boolean LiveScroll;
97 /** specifies the ScrollBarOrientation of the control.
99 [property] long Orientation;
102 /** specifies that the control will be printed with the document.
104 [property] boolean Printable;
107 /** specifies the mouse repeat delay, in milliseconds.
109 <p>When the user presses a mouse in a control area where this triggers
110 an action (such as scrolling the scrollbar), then usual control implementations
111 allow to repeatedly trigger this action, without the need to release the
112 mouse button and to press it again. The delay between two such triggers
113 is specified with this property.</p>
115 @since OOo 2.0
117 [optional, property] long RepeatDelay;
120 /** specifies the scroll value of the control.
122 [property] long ScrollValue;
125 /** specifies the minimum scroll value of the control.
127 <p>If this optional property is not present, clients of the component should assume
128 a minimal scroll value of 0.</p>
130 [optional, property] long ScrollValueMin;
133 /** specifies the maximum scroll value of the control.
135 [property] long ScrollValueMax;
138 /** specifies the RGB color to be used when painting symbols which are
139 part of the control's appearance, such as the arrow buttons.
141 @since OOo 2.0
143 [optional, property] com::sun::star::util::Color SymbolColor;
146 /** specifies that the control can be reached with the TAB key.
148 @since OOo 2.0
150 [optional, property] boolean Tabstop;
153 /** specifies the visible size of the scroll bar.
155 [property] long VisibleSize;
160 }; }; }; };
162 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */