2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

min connection timeout 4secs, fixed photo display, thumbs size is less now, update button text and animation added

This commit is contained in:
John Preston
2014-11-18 15:41:33 +03:00
parent d953f894a1
commit 799a81966a
14 changed files with 176 additions and 86 deletions

View File

@@ -36,7 +36,7 @@ private:
};
class TitleWidget : public QWidget {
class TitleWidget : public QWidget, public Animated {
Q_OBJECT
public:
@@ -48,12 +48,14 @@ public:
void mousePressEvent(QMouseEvent *e);
void mouseDoubleClickEvent(QMouseEvent *e);
void maximizedChanged(bool maximized);
void maximizedChanged(bool maximized, bool force = false);
HitTestType hitTest(const QPoint &p);
void setHideLevel(float64 level);
bool animStep(float64 ms);
~TitleWidget();
public slots:
@@ -76,6 +78,8 @@ private:
float64 hideLevel;
TitleHider *hider;
float64 _lastUpdateMs;
FlatButton _settings, _contacts, _about;
UpdateBtn _update;