Konsole
ColorSchemeEditor.cpp
Go to the documentation of this file.
71 connect(_ui->transparencySlider , SIGNAL(valueChanged(int)) , this , SLOT(setTransparencyPercentLabel(int)));
234 QTableWidgetItem* nameItem = new QTableWidgetItem(ColorScheme::translatedColorNameForIndex(row));
255 _ui->colorTable->setFixedHeight(_ui->colorTable->verticalHeader()->length() + _ui->colorTable->horizontalHeader()->height() + 2);
static QString translatedColorNameForIndex(int index)
Definition: ColorScheme.cpp:120
virtual ~ColorSchemeEditor()
Definition: ColorSchemeEditor.cpp:126
void setBackground(const QBrush &brush)
void getColorTable(ColorEntry *table, uint randomSeed=0) const
Copies the color entries which form the palette for this color scheme into table. ...
Definition: ColorScheme.cpp:222
void setRandomizedBackgroundColor(bool randomize)
Enables randomization of the background color.
Definition: ColorScheme.cpp:231
void setOpacity(qreal opacity)
Sets the opacity level of the display background.
Definition: ColorScheme.cpp:280
ColorEntry colorEntry(int index, uint randomSeed=0) const
Retrieves a single color entry from the table.
Definition: ColorScheme.cpp:193
const QColor & color() const
qreal opacity() const
Returns the opacity level for this color scheme, see setOpacity() TODO: More documentation.
Definition: ColorScheme.cpp:284
bool randomizedBackgroundColor() const
Returns true if the background color is randomized.
Definition: ColorScheme.cpp:227
int column() const
void setColorTableEntry(int index, const ColorEntry &entry)
Sets a single entry within the color palette.
Definition: ColorScheme.cpp:180
bool isEmpty() const
void setup(const ColorScheme *scheme, bool isNewScheme)
Initializes the dialog with the properties of the specified color scheme.
Definition: ColorSchemeEditor.cpp:196
int row() const
ColorScheme & colorScheme() const
Returns the modified color scheme.
Definition: ColorSchemeEditor.cpp:258
QString description() const
Returns the descriptive name of the color scheme.
Definition: ColorScheme.cpp:166
void setDescription(const QString &description)
Sets the descriptive name of the color scheme.
Definition: ColorScheme.cpp:162
void colorSchemeSaveRequested(const ColorScheme &scheme, bool isNewScheme)
Used to send back colorscheme changes into the profile edited.
ColorSchemeEditor(QWidget *parent=0)
Constructs a new color scheme editor with the specified parent.
Definition: ColorSchemeEditor.cpp:48
int width(const QString &text, int len) const
void setFlags(QFlags< Qt::ItemFlag > flags)
void colorsChanged(ColorScheme *scheme)
Emitted when the colors in the color scheme change.
void setWallpaper(const QString &path)
Definition: ColorScheme.cpp:365
QBrush background() const
Qt::ItemFlags flags() const
bool isNewScheme() const
Definition: ColorSchemeEditor.cpp:262
void setToolTip(const QString &toolTip)
void setDescription(const QString &description)
Sets the text displayed in the description edit field.
Definition: ColorSchemeEditor.cpp:177
ColorSchemeWallpaper::Ptr wallpaper() const
Definition: ColorScheme.cpp:370
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
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.