• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • workspace API Reference
  • KDE Home
  • Contact Us
 

liblancelot

  • sources
  • kde-4.14
  • workspace
  • kdeplasma-addons
  • libs
  • lancelot
lancelot.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007, 2008, 2009, 2010 Ivan Cukic <ivan.cukic(at)kde.org>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser/Library General Public License version 2,
6  * or (at your option) any later version, as published by the Free
7  * Software Foundation
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser/Library General Public License for more details
13  *
14  * You should have received a copy of the GNU Lesser/Library General Public
15  * License along with this program; if not, write to the
16  * Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  */
19 
20 #ifndef LIBLANCELOT_H
21 #define LIBLANCELOT_H
22 
23 #include <QMetaObject>
24 #include <QWidget>
25 
26 #include <limits>
27 
28 namespace Lancelot
29 {
30 
31 enum ExtenderPosition {
32  NoExtender = 0,
33  RightExtender = 1,
34  LeftExtender = 2,
35  TopExtender = 3,
36  BottomExtender = 4
37 };
38 
39 enum ActivationMethod {
40  HoverActivate = 0,
41  ClickActivate = 1,
42  ExtenderActivate = 2
43 };
44 
45 #define MAX_WIDGET_SIZE QSizeF(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX)
46 
47 #define QREAL_INFINITY std::numeric_limits<qreal>::infinity()
48 
49 #define L_WIDGET
50 
51 } // namespace Lancelot
52 
53 #endif // LIBLANCELOT_H
54 
Lancelot::NoExtender
Definition: lancelot.h:32
Lancelot::ExtenderActivate
Definition: lancelot.h:42
Lancelot::BottomExtender
Definition: lancelot.h:36
Lancelot::TopExtender
Definition: lancelot.h:35
Lancelot::LeftExtender
Definition: lancelot.h:34
Lancelot::ExtenderPosition
ExtenderPosition
Definition: lancelot.h:31
Lancelot::ActivationMethod
ActivationMethod
Definition: lancelot.h:39
Lancelot::HoverActivate
Definition: lancelot.h:40
Lancelot::ClickActivate
Definition: lancelot.h:41
Lancelot::RightExtender
Definition: lancelot.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

liblancelot

Skip menu "liblancelot"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

workspace API Reference

Skip menu "workspace API Reference"
  • kdeplasma-addons
  •       GroupingDesktop
  •     liblancelot

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal