• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDEUI

  • kdeui
  • dialogs
kassistantdialog.h
Go to the documentation of this file.
1/* This file is part of the KDE libraries
2 Copyright (C) 2006 Olivier Goffart <ogoffart at kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
12
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
17*/
18
19
20#ifndef KASSISTANTDIALOG_H
21#define KASSISTANTDIALOG_H
22
23#include <kpagedialog.h>
24
54class KDEUI_EXPORT KAssistantDialog : public KPageDialog
55{
56 Q_OBJECT
57 public:
64 explicit KAssistantDialog(QWidget *parent=0, Qt::WindowFlags flags=0);
65 virtual ~KAssistantDialog();
66
76 void setValid(KPageWidgetItem* page, bool enable);
77
83 bool isValid(KPageWidgetItem *page) const;
84
99 void setAppropriate(KPageWidgetItem *page, bool appropriate);
100
106 bool isAppropriate(KPageWidgetItem *page) const;
107
108
109 public Q_SLOTS:
116 virtual void back();
117
124 virtual void next();
125
126 protected:
136 explicit KAssistantDialog(KPageWidget *widget, QWidget *parent=0, Qt::WindowFlags flags=0);
137
138 virtual void showEvent(QShowEvent * event);
139
140 private:
141 class Private;
142 Private * const d;
143
144 Q_PRIVATE_SLOT( d, void _k_slotUpdateButtons() )
145
146 Q_DISABLE_COPY( KAssistantDialog )
147};
148
149
150#endif
KAssistantDialog::isValid
bool isValid(KPageWidgetItem *page) const
return if a page is valid
Definition kassistantdialog.cpp:132
KAssistantDialog::showEvent
virtual void showEvent(QShowEvent *event)
Definition kassistantdialog.cpp:150
KAssistantDialog::back
virtual void back()
Called when the user clicks the Back button.
Definition kassistantdialog.cpp:109
KAssistantDialog::next
virtual void next()
Called when the user clicks the Next/Finish button.
Definition kassistantdialog.cpp:116
KAssistantDialog::isAppropriate
bool isAppropriate(KPageWidgetItem *page) const
Check if a page is appropriate for use in the assistant dialog.
Definition kassistantdialog.cpp:162
KAssistantDialog::setAppropriate
void setAppropriate(KPageWidgetItem *page, bool appropriate)
Specify whether a page is appropriate.
Definition kassistantdialog.cpp:156
KAssistantDialog::setValid
void setValid(KPageWidgetItem *page, bool enable)
Specify if the content of the page is valid, and if the next button may be enabled on this page.
Definition kassistantdialog.cpp:125
KAssistantDialog::KAssistantDialog
KAssistantDialog(QWidget *parent=0, Qt::WindowFlags flags=0)
Construct a new assistant dialog with parent as parent.
Definition kassistantdialog.cpp:68
KPageDialog::KPageDialog
KPageDialog(QWidget *parent=0, Qt::WindowFlags flags=0)
Creates a new page dialog.
Definition kpagedialog.cpp:31
KPageWidgetItem
KPageWidgetItem is used by KPageWidget and represents a page.
Definition kpagewidgetmodel.h:51
KPageWidget
Page widget with many layouts (faces).
Definition kpagewidget.h:37
QWidget
kpagedialog.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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