ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/s10k/Vago/main.cpp
Revision: 1061
Committed: Fri Dec 9 19:04:18 2016 UTC (8 years, 10 months ago) by s10k
Content type: text/x-c++src
Original Path: Vago/trunk/Vago/main.cpp
File size: 596 byte(s)
Log Message:
Added Vago 1.3

File Contents

# Content
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