KWidgetsAddons

kseparator.h
1 /*
2  SPDX-FileCopyrightText: 1997 Michael Roth <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef KSEPARATOR_H
8 #define KSEPARATOR_H
9 
10 #include <kwidgetsaddons_export.h>
11 #include <QFrame>
12 
23 class KWIDGETSADDONS_EXPORT KSeparator : public QFrame
24 {
25  Q_OBJECT
26  Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
27 
28 public:
34  explicit KSeparator(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
35 
43  explicit KSeparator(Qt::Orientation orientation, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
44 
49  Qt::Orientation orientation() const;
50 
56  void setOrientation(Qt::Orientation orientation);
57 
58 private:
59  class KSeparatorPrivate *d;
60 };
61 
62 #endif // KSEPARATOR_H
Standard horizontal or vertical separator.
Definition: kseparator.h:23
Q_PROPERTY(...)
Orientation
typedef WindowFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Sep 23 2020 22:44:30 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.