mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-23 05:05:30 -04:00
Added new option to hide the tabbar with one open tab in forums and channels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7450 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b6089f3b91
commit
d6408daafc
12 changed files with 107 additions and 6 deletions
|
@ -31,9 +31,20 @@ public:
|
|||
RSTabWidget(QWidget *parent = 0);
|
||||
|
||||
void hideCloseButton(int index);
|
||||
void setHideTabBarWithOneTab(bool hideTabBar);
|
||||
|
||||
public:
|
||||
QTabBar *tabBar() const;
|
||||
|
||||
protected:
|
||||
virtual void tabInserted(int index);
|
||||
virtual void tabRemoved(int index);
|
||||
|
||||
private:
|
||||
void hideTabBarWithOneTab();
|
||||
|
||||
private:
|
||||
bool mHideTabBarWithOneTab;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue