--- Vago/trunk/Vago/main.cpp 2013/03/31 19:02:16 771 +++ Vago/trunk/Vago/main.cpp 2016/12/09 19:04:18 1061 @@ -1,12 +1,16 @@ -#include +#include #include "mainwindow.h" +// TODO add lineedit to other lineedits that can receive files or folders, create additional funtions in lineedit where we can specify what kind of argument it accepts +// Example: setAllowFolders(), setAllowFiles() or setAcceptedTypes(Enum from QtFiles) int main(int argc, char *argv[]) { + QApplication a(argc, argv); MainWindow w; w.show(); a.setStyleSheet("QStatusBar::item { border: 0px; }"); //hide QLabels border in status bar //http://qt-project.org/forums/viewthread/18743 - + return a.exec(); } +