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

Konsole

  • Konsole
  • ColorSchemeEditor
Public Slots | Signals | Public Member Functions | List of all members
Konsole::ColorSchemeEditor Class Reference

#include <ColorSchemeEditor.h>

Inheritance diagram for Konsole::ColorSchemeEditor:
Inheritance graph
[legend]

Public Slots

void setDescription (const QString &description)
 

Signals

void colorsChanged (ColorScheme *scheme)
 
void colorSchemeSaveRequested (const ColorScheme &scheme, bool isNewScheme)
 

Public Member Functions

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

Detailed Description

A dialog for editing color schemes.

After creation, the dialog can be initialized 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 55 of file ColorSchemeEditor.h.

Constructor & Destructor Documentation

ColorSchemeEditor::ColorSchemeEditor ( QWidget *  parent = 0)
explicit

Constructs a new color scheme editor with the specified parent.

Definition at line 48 of file ColorSchemeEditor.cpp.

ColorSchemeEditor::~ColorSchemeEditor ( )
virtual

Definition at line 126 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 258 of file ColorSchemeEditor.cpp.

void Konsole::ColorSchemeEditor::colorSchemeSaveRequested ( const ColorScheme &  scheme,
bool  isNewScheme 
)
signal

Used to send back colorscheme changes into the profile edited.

bool ColorSchemeEditor::isNewScheme ( ) const

Definition at line 262 of file ColorSchemeEditor.cpp.

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

Sets the text displayed in the description edit field.

Definition at line 177 of file ColorSchemeEditor.cpp.

void ColorSchemeEditor::setup ( const ColorScheme *  scheme,
bool  isNewScheme 
)

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

Definition at line 196 of file ColorSchemeEditor.cpp.


The documentation for this class was generated from the following files:
  • ColorSchemeEditor.h
  • ColorSchemeEditor.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Konsole

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

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

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