2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Move third column from HistoryWidget to MainWidget.

This commit is contained in:
John Preston
2017-09-16 19:53:41 +03:00
parent f162462111
commit 5e7aa4ff81
63 changed files with 1187 additions and 752 deletions

View File

@@ -20,7 +20,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
*/
#pragma once
#include "ui/twidget.h"
#include "ui/rp_widget.h"
#include "base/timer.h"
namespace Window {
@@ -35,7 +35,7 @@ namespace ChatHelpers {
class TabbedSelector;
class TabbedPanel : public TWidget {
class TabbedPanel : public Ui::RpWidget{
Q_OBJECT
public:
@@ -51,8 +51,6 @@ public:
return _hiding || _hideTimer.isActive();
}
void stickersInstalled(uint64 setId);
bool overlaps(const QRect &globalRect) const;
void showAnimated();
@@ -79,6 +77,7 @@ private:
bool isDestroying() const {
return !_selector;
}
void showFromSelector();
style::margins innerPadding() const;