┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabbar.h
diff options
context:
space:
mode:
authorNicolai Sehrt <[email protected]>2026-01-31 15:57:43 +0000
committerMéven Car <[email protected]>2026-01-31 15:57:43 +0000
commit31b7abd81f7e01d5c8575373dc18bb4edddf74c5 (patch)
treef1b69c6735ccc4a364a2bd50930ed2ad02cd4dd1 /src/dolphintabbar.h
parentd54fb877d7a875d1f1bcb37782410ba92ecc4890 (diff)
tab settings: add tab style
Add a Full Width option and a Fixed Size option. This removes the current behavior of adapting to tab name, i.e folder name.
Diffstat (limited to 'src/dolphintabbar.h')
-rw-r--r--src/dolphintabbar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphintabbar.h b/src/dolphintabbar.h
index 1210b974e..54eeea774 100644
--- a/src/dolphintabbar.h
+++ b/src/dolphintabbar.h
@@ -24,6 +24,8 @@ Q_SIGNALS:
void tabRenamed(int index, const QString &label);
protected:
+ QSize tabSizeHint(int index) const override;
+ QSize minimumSizeHint() const override;
void dragEnterEvent(QDragEnterEvent *event) override;
void dragLeaveEvent(QDragLeaveEvent *event) override;
void dragMoveEvent(QDragMoveEvent *event) override;
@@ -39,6 +41,7 @@ protected:
private Q_SLOTS:
void slotAutoActivationTimeout();
+ void slotTabBarChanged();
private:
/**