2014-06-27 06:32:08 +08:00
|
|
|
#include "widget/widget.h"
|
2014-06-25 04:11:11 +08:00
|
|
|
#include <QApplication>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QApplication a(argc, argv);
|
|
|
|
a.setApplicationName("Toxgui");
|
|
|
|
a.setOrganizationName("Tox");
|
|
|
|
Widget* w = Widget::getInstance();
|
|
|
|
w->show();
|
|
|
|
|
|
|
|
int errorcode = a.exec();
|
|
|
|
|
|
|
|
delete w;
|
|
|
|
|
|
|
|
return errorcode;
|
|
|
|
}
|
2014-06-27 01:45:47 +08:00
|
|
|
|
|
|
|
/** TODO
|
2014-06-27 06:32:08 +08:00
|
|
|
* ">using a dedicated tool to maintain a TODO list" edition
|
2014-06-27 01:45:47 +08:00
|
|
|
*
|
2014-06-27 06:32:08 +08:00
|
|
|
* 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
|
2014-06-27 01:45:47 +08:00
|
|
|
* 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
|
2014-06-27 06:32:08 +08:00
|
|
|
* 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
|
|
|
|
* Sidepanel (friendlist) should be resizeable
|
|
|
|
* 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
|
|
|
|
* An extra side panel for groupchats, like Venom does (?)
|
2014-06-27 01:45:47 +08:00
|
|
|
*
|
|
|
|
*/
|
2014-06-28 02:24:00 +08:00
|
|
|
|
|
|
|
/** NAMES :
|
|
|
|
Botox
|
|
|
|
Ricin
|
|
|
|
Anthrax
|
|
|
|
Sarin
|
|
|
|
Cyanide
|
|
|
|
Polonium
|
|
|
|
Mercury
|
|
|
|
Arsenic
|
|
|
|
qTox
|
|
|
|
plague
|
|
|
|
Britney
|
|
|
|
Nightshade
|
|
|
|
Belladonna
|
|
|
|
toxer
|
|
|
|
GoyIM
|
|
|
|
*/
|