2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

new photo viewer done, testing, added compressed checkbox in send-from-clipboard

This commit is contained in:
John Preston
2014-08-11 13:03:45 +04:00
parent f62db48251
commit d26afe1b64
29 changed files with 1274 additions and 491 deletions

View File

@@ -27,7 +27,6 @@ class TitleWidget;
class IntroWidget;
class MainWidget;
class SettingsWidget;
class LayerWidget;
class BackgroundWidget;
class LayeredWidget;
@@ -135,6 +134,8 @@ public:
void init();
QWidget *filedialogParent();
bool eventFilter(QObject *obj, QEvent *evt);
void inactivePress(bool inactive);
@@ -173,9 +174,8 @@ public:
void hideSettings(bool fast = false);
void showPhoto(const PhotoLink *lnk, HistoryItem *item = 0);
void showPhoto(PhotoData *photo, HistoryItem *item = 0);
// void showVideo(const VideoOpenLink *lnk, HistoryItem *item = 0);
PhotoData *photoShown();
void showPhoto(PhotoData *photo, HistoryItem *item);
void showPhoto(PhotoData *photo, PeerData *item);
void showLayer(LayeredWidget *w);
void replaceLayer(LayeredWidget *w);
void hideLayer();
@@ -194,7 +194,6 @@ public:
void noIntro(IntroWidget *was);
void noSettings(SettingsWidget *was);
void noMain(MainWidget *was);
void noLayer(LayerWidget *was);
void noBox(BackgroundWidget *was);
void topWidget(QWidget *w);
@@ -228,6 +227,9 @@ public:
void sendPaths();
void mediaOverviewUpdated(PeerData *peer);
void changingMsgId(HistoryItem *row, MsgId newId);
public slots:
void checkHistoryActivation(int state = -1);
@@ -263,7 +265,6 @@ private:
IntroWidget *intro;
MainWidget *main;
SettingsWidget *settings;
LayerWidget *layer;
BackgroundWidget *layerBG;
QWidget *_topWidget; // temp hack for CountrySelect