| 1 |
|
#include <QtWidgets/QApplication> |
| 2 |
|
#include "mainwindow.h" |
| 3 |
|
|
| 4 |
< |
|
| 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 |
|
|
| 11 |
|
w.show(); |
| 12 |
|
a.setStyleSheet("QStatusBar::item { border: 0px; }"); //hide QLabels border in status bar //http://qt-project.org/forums/viewthread/18743 |
| 13 |
|
|
| 13 |
– |
// XmlToolsInterface *xmlToolsWindow = new XmlToolsInterface(new Logger(UtilVago::getAppPath(), GlobalVars::AppLogName)); |
| 14 |
– |
// xmlToolsWindow->show(); //it destroys itself when finished. |
| 15 |
– |
|
| 14 |
|
return a.exec(); |
| 15 |
|
} |
| 16 |
|
|