forked from qt-creator/qt-creator
Terminal: Allow the underlying application to set title
Change-Id: I3530d645f16047df2546902d900e5e2fee8d071c Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
1bd2e84f9a
commit
9a7f45cc46
@@ -82,6 +82,7 @@ public:
|
||||
|
||||
void setShellName(const QString &shellName);
|
||||
QString shellName() const;
|
||||
QString title() const;
|
||||
|
||||
Utils::FilePath cwd() const;
|
||||
Utils::CommandLine currentCommand() const;
|
||||
@@ -98,6 +99,7 @@ signals:
|
||||
void started(qint64 pid);
|
||||
void cwdChanged(const Utils::FilePath &cwd);
|
||||
void commandChanged(const Utils::CommandLine &cmd);
|
||||
void titleChanged();
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
@@ -207,6 +209,7 @@ private:
|
||||
bool m_ignoreScroll{false};
|
||||
|
||||
QString m_preEditString;
|
||||
QString m_title;
|
||||
|
||||
std::optional<Selection> m_selection;
|
||||
std::optional<LinkSelection> m_linkSelection;
|
||||
|
||||
Reference in New Issue
Block a user