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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user