• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Konsole

Konsole::ColorSchemeEditor

Konsole::ColorSchemeEditor Class Reference

#include <ColorSchemeEditor.h>

Inheritance diagram for Konsole::ColorSchemeEditor:

Inheritance graph
[legend]

List of all members.


Detailed Description

A dialog for editing color schemes.

After creation, the dialog can be initialised with the settings of a color scheme using the setup() method.

The dialog creates a copy of the supplied color scheme to which any changes made are applied. The modified color scheme can be retrieved using the colorScheme() method.

When changes are made the colorsChanged() signal is emitted.

Definition at line 53 of file ColorSchemeEditor.h.


Public Slots

void setDescription (const QString &description)

Signals

void colorsChanged (ColorScheme *scheme)

Public Member Functions

ColorScheme * colorScheme () const
 ColorSchemeEditor (QWidget *parent=0)
void setup (const ColorScheme *scheme)
virtual ~ColorSchemeEditor ()

Constructor & Destructor Documentation

ColorSchemeEditor::ColorSchemeEditor ( QWidget *  parent = 0  ) 

Constructs a new color scheme editor with the specified parent.

Definition at line 56 of file ColorSchemeEditor.cpp.

ColorSchemeEditor::~ColorSchemeEditor (  )  [virtual]

Definition at line 111 of file ColorSchemeEditor.cpp.


Member Function Documentation

void Konsole::ColorSchemeEditor::colorsChanged ( ColorScheme *  scheme  )  [signal]

Emitted when the colors in the color scheme change.

ColorScheme * ColorSchemeEditor::colorScheme (  )  const

Returns the modified color scheme.

Definition at line 191 of file ColorSchemeEditor.cpp.

void ColorSchemeEditor::setDescription ( const QString &  description  )  [slot]

Sets the text displayed in the description edit field.

Definition at line 135 of file ColorSchemeEditor.cpp.

void ColorSchemeEditor::setup ( const ColorScheme *  scheme  ) 

Initialises the dialog with the properties of the specified color scheme.

Definition at line 150 of file ColorSchemeEditor.cpp.


The documentation for this class was generated from the following files:
  • ColorSchemeEditor.h
  • ColorSchemeEditor.cpp

Konsole

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

API Reference

Skip menu "API Reference"
  • Konsole
  • Libraries
  •   libkonq
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal