forked from blue/squawk
feat: paste image in chat
This commit is contained in:
parent
8b3752ef47
commit
3a70df21f8
2 changed files with 49 additions and 1 deletions
|
@ -60,6 +60,7 @@ protected:
|
|||
|
||||
signals:
|
||||
void enterPressed();
|
||||
void imagePasted();
|
||||
};
|
||||
|
||||
class Conversation : public QWidget
|
||||
|
@ -77,6 +78,7 @@ public:
|
|||
void setPalResource(const QString& res);
|
||||
virtual void setAvatar(const QString& path);
|
||||
void setFeedFrames(bool top, bool right, bool bottom, bool left);
|
||||
static bool checkClipboardImage();
|
||||
|
||||
signals:
|
||||
void sendMessage(const Shared::Message& message);
|
||||
|
@ -102,6 +104,7 @@ protected:
|
|||
|
||||
protected slots:
|
||||
void onEnterPressed();
|
||||
void onImagePasted();
|
||||
void onAttach();
|
||||
void onFileSelected();
|
||||
void onBadgeClose();
|
||||
|
@ -133,6 +136,8 @@ protected:
|
|||
bool manualSliderChange;
|
||||
bool tsb; //transient scroll bars
|
||||
|
||||
QAction* pasteImageAction;
|
||||
|
||||
ShadowOverlay shadow;
|
||||
QMenu* contextMenu;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue