mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
#include "widget/widget.h"
|
|
#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;
|
|
}
|
|
|
|
/** TODO
|
|
* ">using a dedicated tool to maintain a TODO list" edition
|
|
*
|
|
* 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
|
|
* 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)
|
|
* In-chat messages should have line wrapping
|
|
* An extra side panel for groupchats, like Venom does (?)
|
|
*
|
|
*/
|
|
|
|
/** NAMES :
|
|
Botox
|
|
Ricin
|
|
Anthrax
|
|
Sarin
|
|
Cyanide
|
|
Polonium
|
|
Mercury
|
|
Arsenic
|
|
qTox
|
|
plague
|
|
Britney
|
|
Nightshade
|
|
Belladonna
|
|
toxer
|
|
GoyIM
|
|
*/
|