New fonts and font management improved.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# example scheme for konsole
|
||||
|
||||
# the title is to appear in the menu.
|
||||
|
||||
title White on Black
|
||||
|
||||
# foreground colors
|
||||
|
||||
# note that the default background color is flagged
|
||||
# to become transparent when an image is present.
|
||||
|
||||
# slot transparent bold
|
||||
# | | |
|
||||
# V V--color--V V V
|
||||
|
||||
color 0 255 255 255 0 0 # regular foreground color (White)
|
||||
color 1 0 0 0 1 0 # regular background color (Black)
|
||||
|
||||
color 2 0 0 0 0 0 # regular color 0 Black
|
||||
color 3 255 255 255 0 0 # regular color 1 Red
|
||||
color 4 255 255 255 0 0 # regular color 2 Green
|
||||
color 5 255 255 255 0 0 # regular color 3 Yellow
|
||||
color 6 255 255 255 0 0 # regular color 4 Blue
|
||||
color 7 255 255 255 0 0 # regular color 5 Magenta
|
||||
color 8 255 255 255 0 0 # regular color 6 Cyan
|
||||
color 9 255 255 255 0 0 # regular color 7 White
|
||||
|
||||
# intensive colors
|
||||
|
||||
# instead of changing the colors, we've flaged the text to become bold
|
||||
|
||||
color 10 255 255 255 0 1 # intensive foreground color
|
||||
color 11 0 0 0 1 0 # intensive background color
|
||||
|
||||
color 12 255 255 255 0 0 # intensive color 0
|
||||
color 13 255 255 255 0 0 # intensive color 1
|
||||
color 14 255 255 255 0 0 # intensive color 2
|
||||
color 15 255 255 255 0 0 # intensive color 3
|
||||
color 16 255 255 255 0 0 # intensive color 4
|
||||
color 17 255 255 255 0 0 # intensive color 5
|
||||
color 18 255 255 255 0 0 # intensive color 6
|
||||
color 19 255 255 255 0 0 # intensive color 7
|
||||
@@ -155,7 +155,7 @@ KTerminalDisplay::KTerminalDisplay(QQuickItem *parent) :
|
||||
,_isFixedSize(false)
|
||||
,_resizeTimer(0)
|
||||
,_flowControlWarningEnabled(false)
|
||||
,_lineSpacing(0)
|
||||
,_lineSpacing(2)
|
||||
,_colorsInverted(false)
|
||||
,_cursorShape(BlockCursor)
|
||||
,m_session(0)
|
||||
|
||||
@@ -70,6 +70,7 @@ class KONSOLEPRIVATE_EXPORT KTerminalDisplay : public QQuickPaintedItem
|
||||
Q_PROPERTY(bool ShowIMEOnClick READ autoVKB WRITE setAutoVKB NOTIFY changedAutoVKB)
|
||||
|
||||
|
||||
|
||||
public:
|
||||
KTerminalDisplay(QQuickItem *parent = 0);
|
||||
~KTerminalDisplay();
|
||||
@@ -95,7 +96,7 @@ public:
|
||||
/** Specifies whether or not text can blink. */
|
||||
void setBlinkingTextEnabled(bool blink);
|
||||
|
||||
void setLineSpacing(uint);
|
||||
Q_INVOKABLE void setLineSpacing(uint);
|
||||
uint lineSpacing() const;
|
||||
|
||||
void emitSelection(bool useXselection,bool appendReturn);
|
||||
|
||||
@@ -165,5 +165,11 @@ Module {
|
||||
Parameter { name: "session"; type: "KSession"; isPointer: true }
|
||||
}
|
||||
Method { name: "getSession"; type: "KSession*" }
|
||||
|
||||
//My additions
|
||||
Method {
|
||||
name: "setLineSpacing"
|
||||
Parameter { name: "i"; type: "uint"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user