| 1 | #include <QtWidgets/QApplication> | 
 
 
 
 
 | 2 | #include "mainwindow.h" | 
 
 
 
 
 | 3 |  | 
 
 
 
 
 | 4 | // 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 | 
 
 
 
 
 | 5 | // Example: setAllowFolders(), setAllowFiles() or setAcceptedTypes(Enum from QtFiles) | 
 
 
 
 
 | 6 | int main(int argc, char *argv[]) | 
 
 
 
 
 | 7 | { | 
 
 
 
 
 | 8 |  | 
 
 
 
 
 | 9 | QApplication a(argc, argv); | 
 
 
 
 
 | 10 | MainWindow w; | 
 
 
 
 
 | 11 | w.show(); | 
 
 
 
 
 | 12 | a.setStyleSheet("QStatusBar::item { border: 0px; }"); //hide QLabels border in status bar //http://qt-project.org/forums/viewthread/18743 | 
 
 
 
 
 | 13 |  | 
 
 
 
 
 | 14 | return a.exec(); | 
 
 
 
 
 | 15 | } | 
 
 
 
 
 | 16 |  |