2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

enabled contact share from templates, copy phone number from context menu in profiles

This commit is contained in:
John Preston
2014-08-22 18:55:23 +04:00
parent 38e8e51ec5
commit 90a9c92d38
11 changed files with 199 additions and 65 deletions

View File

@@ -26,6 +26,7 @@ class PhotoSendBox : public LayeredWidget {
public:
PhotoSendBox(const ReadyLocalMedia &img);
PhotoSendBox(const QString &phone, const QString &fname, const QString &lname);
void parentResized();
void animStep(float64 ms);
void keyPressEvent(QKeyEvent *e);
@@ -40,7 +41,7 @@ public slots:
private:
ReadyLocalMedia _img;
ReadyLocalMedia *_img;
int32 _width, _height, _thumbx, _thumby, _thumbw, _thumbh;
QString _name, _size;
int32 _namew, _textw;
@@ -48,6 +49,8 @@ private:
FlatButton _sendButton, _cancelButton;
QPixmap _thumb;
QString _phone, _fname, _lname;
anim::fvalue a_opacity;
bool _hiding;