mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge branch 'master' of https://github.com/tux3/toxgui
This commit is contained in:
commit
b740c7be06
4
main.cpp
4
main.cpp
|
@ -19,16 +19,12 @@ int main(int argc, char *argv[])
|
||||||
/** TODO
|
/** TODO
|
||||||
* ">using a dedicated tool to maintain a TODO list" edition
|
* ">using a dedicated tool to maintain a TODO list" edition
|
||||||
*
|
*
|
||||||
* Audio boilerplate, able to create/accept/reject/hang empty audio calls
|
|
||||||
* Play received sound during audio calls
|
|
||||||
* Record sound during audio calls, and send it
|
|
||||||
* Sort the friend list by status, online first then busy then offline
|
* Sort the friend list by status, online first then busy then offline
|
||||||
* Don't do anything if a friend is disconnected, don't print to the chat
|
* Don't do anything if a friend is disconnected, don't print to the chat
|
||||||
* Show the picture's size between name and size after transfer completion if it's a pic
|
* Show the picture's size between name and size after transfer completion if it's a pic
|
||||||
* Adjust all status icons to match the mockup, including scooting the friendslist ones to the left and making the user one the same size
|
* Adjust all status icons to match the mockup, including scooting the friendslist ones to the left and making the user one the same size
|
||||||
* Sidepanel (friendlist) should be resizeable
|
* Sidepanel (friendlist) should be resizeable
|
||||||
* The online/offline/away status at the top (our) is way too big i think (follow the mockup/uTox)
|
* The online/offline/away status at the top (our) is way too big i think (follow the mockup/uTox)
|
||||||
* Color change of friendlist widgets on hover/selected
|
|
||||||
* In-chat messages should have line wrapping
|
* In-chat messages should have line wrapping
|
||||||
* An extra side panel for groupchats, like Venom does (?)
|
* An extra side panel for groupchats, like Venom does (?)
|
||||||
*
|
*
|
||||||
|
|
|
@ -156,6 +156,7 @@ void ChatForm::addMessage(QLabel* author, QLabel* message, QLabel* date)
|
||||||
lockSliderToBottom = scroll && scroll->value() == scroll->maximum();
|
lockSliderToBottom = scroll && scroll->value() == scroll->maximum();
|
||||||
author->setAlignment(Qt::AlignTop | Qt::AlignRight);
|
author->setAlignment(Qt::AlignTop | Qt::AlignRight);
|
||||||
date->setAlignment(Qt::AlignTop);
|
date->setAlignment(Qt::AlignTop);
|
||||||
|
message->setWordWrap(true);
|
||||||
message->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
message->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||||
author->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
author->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||||
date->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
date->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||||
|
|
|
@ -138,6 +138,7 @@ void GroupChatForm::addMessage(QLabel* author, QLabel* message, QLabel* date)
|
||||||
lockSliderToBottom = scroll && scroll->value() == scroll->maximum();
|
lockSliderToBottom = scroll && scroll->value() == scroll->maximum();
|
||||||
author->setAlignment(Qt::AlignTop | Qt::AlignLeft);
|
author->setAlignment(Qt::AlignTop | Qt::AlignLeft);
|
||||||
date->setAlignment(Qt::AlignTop);
|
date->setAlignment(Qt::AlignTop);
|
||||||
|
message->setWordWrap(true);
|
||||||
message->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
message->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||||
author->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
author->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||||
date->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
date->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user