00001 // $Id: QRootDialog.h 1196 2014-04-10 14:06:24Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 //Author : Denis Bertini 01.11.2000 00015 00016 /************************************************************************** 00017 * Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI * 00018 * Planckstr. 1, 64291 Darmstadt, Germany * 00019 * All rights reserved. * 00020 * Contact: http://go4.gsi.de * 00021 * * 00022 * This software can be used under the license agreements as stated in * 00023 * Go4License.txt file which is part of the distribution. * 00024 ***************************************************************************/ 00025 00026 #ifndef QROOTDIALOG_H 00027 #define QROOTDIALOG_H 00028 00029 #include <QtCore/QVector> 00030 #include <QDialog> 00031 00032 class QLineEdit; 00033 class QVBoxLayout; 00034 00049 class QRootDialog: public QDialog { 00050 Q_OBJECT 00051 00052 public: 00053 QRootDialog(); 00054 00055 void addArg(const char* argname, const char* value, const char* type); 00056 00057 QString getArg(int n); 00058 00059 protected: 00060 QVBoxLayout *argLayout; 00061 00062 QVector<QLineEdit*> fArgs; 00063 }; 00064 00065 #endif