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

kblackbox

  • sources
  • kde-4.14
  • kdegames
  • kblackbox
kbblevelconfigurationwidget.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2006, 2007, Nicolas Roffet, <nicolas-kde@roffet.com>
3 
4 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
5 
6 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
7 
8 You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
9 */
10 
11 #ifndef KBBLEVELCONFIGURATIONWIDGET_H
12 #define KBBLEVELCONFIGURATIONWIDGET_H
13 
14 
15 
16 class KIntSpinBox;
17 #include <QWidget>
18 
19 
20 class KBBLevelConfigurationPreview;
21 class KBBThemeManager;
22 
23 
24 
28 class KBBLevelConfigurationWidget : public QWidget
29 {
30  Q_OBJECT
31 
32  public:
33  KBBLevelConfigurationWidget(QWidget *parent, int c, int r, int b, KBBThemeManager* themeManager);
34 
35  int balls() const;
36  int columns() const;
37  int rows() const;
38 
39  private slots:
40  void boxSizeChanged();
41 
42  private:
43  KIntSpinBox* kcfg_balls;
44  KIntSpinBox* kcfg_columns;
45  KIntSpinBox* kcfg_rows;
46 
47  KBBLevelConfigurationPreview* m_view;
48 };
49 
50 
51 #endif //KSIMILILEVELCONFIGURATIONWIDGET_H
KBBLevelConfigurationWidget::columns
int columns() const
Definition: kbblevelconfigurationwidget.cpp:69
QWidget
KBBLevelConfigurationWidget::rows
int rows() const
Definition: kbblevelconfigurationwidget.cpp:75
KBBLevelConfigurationWidget::KBBLevelConfigurationWidget
KBBLevelConfigurationWidget(QWidget *parent, int c, int r, int b, KBBThemeManager *themeManager)
Definition: kbblevelconfigurationwidget.cpp:26
KBBLevelConfigurationWidget::balls
int balls() const
Definition: kbblevelconfigurationwidget.cpp:63
KBBLevelConfigurationWidget
Widget to configure the level difficulty.
Definition: kbblevelconfigurationwidget.h:28
KBBThemeManager
Theme manager of the scalable graphic widget.
Definition: kbbthememanager.h:51
QObject::parent
QObject * parent() const
KBBLevelConfigurationPreview
Widget with the preview of the field in the configuration widget.
Definition: kbblevelconfigurationpreview.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kblackbox

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

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

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