KRubik Class Reference

[krubik Index] [krubik Heirarchy]


Basic class for Rubik's Kube More...

#include <krubik.h>

Inherits: KTopLevelWidget

Public Members

Public Slots

Protected Members


Detailed Description

This is the class KRubik. The class is used only for the program Rubik's Kube.


KRubik( QWidget *parent=0, const char *name=0 )

The constructor method for class KFortune

Parameters:
name Name for QWidget
parent Parent widget, used for QWidget
See Also:
KRubik

~KRubik()

The destrucor method for class KFortune

void newCube()

Start with a new cube.

void saveCube()

Saves the current cube to a file.

void loadCube()

Load a cube from a file.

void cleanCube()

Clean the current cube.

void scrambleCube()

Scrambles the current cube.

void resetColors()

Reset the colors of the cube to a default value.

void setShading(int level)

Set the shading model of the cube

void toggleStatusBar()

Enables or disables the statusbar.

void status()

Updates the statusbar

void quitapp()

Quit the application

void notImpl()

Shows a message telling the user that a function has not been implemented yet.

void configkeys()

Shows a window for configuring the keybindings

void configColors()

Shows a window for configuring colors

void about()

Shows information about the program

void helpmenu()

Show the online-help

void resizeEvent( QResizeEvent * )

Only calls the function resizeEvent()

See Also:
resizeEvent

void resizeEvent()

Handels all the resizing of the main window of KRubik

void initKeys()

Handles the default keybindigs

See Also:
KKeyConfig

void createMenu()

Creates the menubar and connects the menu-entries to the appropriate functions

void createStatusBar()

Creates the statusbar.

void initConfig()

Get the configuration from the config-file.

void saveConfig()

Save the current configuration to the config-file.


  • Author: Pieter Eendebak <pte@ddsw.nl>
  • Version: 0.99
  • Documentation generated by root@localhost.localdomain on Sat Jun 27 15:21:54 MET DST 1998
Kdoc