20 #ifndef EDITPROFILEDIALOG_H
21 #define EDITPROFILEDIALOG_H
24 #include <QAbstractItemDelegate>
25 #include <QtCore/QHash>
26 #include <QtCore/QPointer>
43 class EditProfileDialog;
87 void selectProfileName();
92 virtual void accept();
94 virtual void reject();
101 void preparePage(
int);
107 void selectInitialDir();
110 void profileNameChanged(
const QString& text);
111 void initialDirChanged(
const QString& text);
112 void startInSameDir(
bool);
113 void commandChanged(
const QString& text);
114 void tabTitleFormatChanged(
const QString& text);
115 void remoteTabTitleFormatChanged(
const QString& text);
117 void terminalColumnsEntryChanged(
int);
118 void terminalRowsEntryChanged(
int);
119 void showTerminalSizeHint(
bool);
120 void showEnvironmentEditor();
121 void silenceSecondsChanged(
int);
124 void setFontSize(
double pointSize);
125 void setFontInputValue(
const QFont&);
126 void setAntialiasText(
bool enable);
127 void setBoldIntense(
bool enable);
128 void showFontDialog();
129 void newColorScheme();
130 void editColorScheme();
131 void saveColorScheme(
const ColorScheme& scheme,
bool isNewScheme);
132 void removeColorScheme();
133 void colorSchemeSelected();
135 void fontSelected(
const QFont&);
136 void toggleMouseWheelZoom(
bool enable);
141 void historySizeChanged(
int);
143 void hideScrollBar();
144 void showScrollBarLeft();
145 void showScrollBarRight();
147 void scrollFullPage();
148 void scrollHalfPage();
151 void editKeyBinding();
152 void newKeyBinding();
153 void keyBindingSelected();
154 void removeKeyBinding();
157 void toggleUnderlineLinks(
bool);
158 void toggleOpenLinksByDirectClick(
bool);
159 void toggleCtrlRequiredForDrag(
bool);
160 void toggleCopyTextToClipboard(
bool);
161 void toggleTrimTrailingSpacesInSelectedText(
bool);
162 void pasteFromX11Selection();
163 void pasteFromClipboard();
165 void TripleClickModeChanged(
int);
166 void wordCharactersChanged(
const QString&);
169 void toggleBlinkingText(
bool);
170 void toggleFlowControl(
bool);
171 void togglebidiRendering(
bool);
172 void lineSpacingChanged(
int);
173 void toggleBlinkingCursor(
bool);
175 void setCursorShape(
int);
176 void autoCursorColor();
177 void customCursorColor();
178 void customCursorColorChanged(
const QColor&);
182 void delayedPreviewActivate();
194 void updateColorSchemeList(
bool selectCurrentScheme =
false);
195 void updateColorSchemeButtons();
196 void updateKeyBindingsList(
bool selectCurrentTranslator =
false);
197 void updateKeyBindingsButtons();
199 void showColorSchemeEditor(
bool isNewScheme);
200 void closeColorSchemeEditor();
201 void showKeyBindingEditor(
bool newTranslator);
203 void preview(
int property ,
const QVariant& value);
204 void delayedPreview(
int property ,
const QVariant& value);
205 void unpreview(
int property);
210 void updateTransparencyWarning();
219 void createTempProfile();
223 void updateButtonApply();
232 void setupRadio(RadioOption* possibilities,
int actual);
233 struct BooleanOption {
238 void setupCheckBoxes(BooleanOption* options ,
const Profile::Ptr profile);
240 Ui::EditProfileDialog* _ui;
252 QTimer* _delayedPreviewTimer;
275 #endif // EDITPROFILEDIALOG_H
KSharedPtr< ProfileGroup > Ptr
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Property
This enum describes the available properties which a Profile may consist of.
ColorSchemeViewDelegate(QObject *parent=0)
A dialog which allows the user to edit a profile.
HistoryModeEnum
This enum describes the modes available to remember lines of output produced by the terminal...
KSharedPtr< Profile > Ptr
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
A delegate which can display and edit color schemes in a view.
A dialog for editing color schemes.
#define KONSOLEPRIVATE_EXPORT
Represents a color scheme for a terminal display.