• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaComponents

  • sources
  • kde-4.14
  • kde-runtime
  • plasma
  • declarativeimports
  • plasmacomponents
fullscreensheet.h
Go to the documentation of this file.
1 /*
2  * Copyright 2012 Marco Martin <mart@kde.org>*
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Library General Public License as
6  * published by the Free Software Foundation; either version 2, or
7  * (at your option) any later version.
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 General Public License for more details
13  *
14  * You should have received a copy of the GNU 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 FULLSCREENSHEET_P
21 #define FULLSCREENSHEET_P
22 
23 #include "fullscreenwindow.h"
24 
25 class FullScreenSheet : public FullScreenWindow
26 {
27  Q_OBJECT
28  Q_PROPERTY(QString title READ title WRITE setTitle NOTIFY titleChanged)
29 
30  Q_PROPERTY(QDeclarativeItem *acceptButton READ acceptButton WRITE setAcceptButton NOTIFY acceptButtonChanged)
31  Q_PROPERTY(QDeclarativeItem *rejectButton READ rejectButton WRITE setRejectButton NOTIFY rejectButtonChanged)
32 
33  Q_PROPERTY(QString acceptButtonText READ acceptButtonText WRITE setAcceptButtonText NOTIFY acceptButtonTextChanged)
34  Q_PROPERTY(QString rejectButtonText READ rejectButtonText WRITE setRejectButtonText NOTIFY rejectButtonTextChanged)
35 
36 public:
37  FullScreenSheet(QDeclarativeItem *parent = 0);
38  ~FullScreenSheet();
39 
40  QString title() const;
41  void setTitle(const QString &text);
42 
43  QDeclarativeItem *acceptButton() const;
44  void setAcceptButton(QDeclarativeItem *button);
45 
46  QDeclarativeItem *rejectButton() const;
47  void setRejectButton(QDeclarativeItem *button);
48 
49  QString acceptButtonText() const;
50  void setAcceptButtonText(const QString &text);
51 
52  QString rejectButtonText() const;
53  void setRejectButtonText(const QString &text);
54 
55  Q_INVOKABLE void open();
56 
57 Q_SIGNALS:
58  void titleChanged();
59  void acceptButtonChanged();
60  void rejectButtonChanged();
61  void acceptButtonTextChanged();
62  void rejectButtonTextChanged();
63 };
64 
65 #endif
FullScreenSheet::setAcceptButtonText
void setAcceptButtonText(const QString &text)
Definition: fullscreensheet.cpp:110
FullScreenSheet::acceptButtonText
QString acceptButtonText() const
FullScreenSheet::title
QString title() const
FullScreenSheet::setRejectButton
void setRejectButton(QDeclarativeItem *button)
Definition: fullscreensheet.cpp:94
FullScreenSheet::rejectButtonTextChanged
void rejectButtonTextChanged()
FullScreenSheet::rejectButton
QDeclarativeItem * rejectButton() const
FullScreenSheet::setAcceptButton
void setAcceptButton(QDeclarativeItem *button)
Definition: fullscreensheet.cpp:78
QString
FullScreenSheet
Definition: fullscreensheet.h:25
FullScreenSheet::rejectButtonText
QString rejectButtonText() const
FullScreenSheet::setRejectButtonText
void setRejectButtonText(const QString &text)
Definition: fullscreensheet.cpp:126
FullScreenSheet::open
Q_INVOKABLE void open()
Definition: fullscreensheet.cpp:133
FullScreenSheet::titleChanged
void titleChanged()
fullscreenwindow.h
FullScreenSheet::setTitle
void setTitle(const QString &text)
Definition: fullscreensheet.cpp:62
FullScreenSheet::acceptButton
QDeclarativeItem * acceptButton() const
FullScreenSheet::acceptButtonChanged
void acceptButtonChanged()
QDeclarativeItem
FullScreenSheet::acceptButtonTextChanged
void acceptButtonTextChanged()
QObject::parent
QObject * parent() const
FullScreenWindow
Definition: fullscreenwindow.h:38
FullScreenSheet::rejectButtonChanged
void rejectButtonChanged()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

PlasmaComponents

Skip menu "PlasmaComponents"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

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