qucs_s/qucs-lib/librarydialog.h
2013-05-27 08:37:27 +02:00

64 lines
1.8 KiB
C++

/***************************************************************************
librarydialog.h
-----------------
begin : Sun Jun 04 2006
copyright : (C) 2006 by Michael Margraf
email : michael.margraf@alumni.tu-berlin.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef LIBRARYDIALOG_H
#define LIBRARYDIALOG_H
#include <QDialog>
#include <QRegExp>
#include <QStringList>
#include <QLabel>
#include <QVBoxLayout>
class QLabel;
class QLineEdit;
class QPushButton;
class QVBoxLayout;
class QRadioButton;
class QGroupBox;
class QRegExpValidator;
class LibraryDialog : public QDialog {
Q_OBJECT
public:
LibraryDialog(QWidget*);
~LibraryDialog();
private slots:
void slotDelete();
void slotRename();
private:
//QRadioButton *previousLib;
QList <QRadioButton*> radioButton;
QVBoxLayout *all; // the mother of all widgets
//Q3VBox *Dia_Box;
QLabel *theLabel;
QLineEdit *NameEdit;
//Q3VButtonGroup *toggleGroup;
QGroupBox *Group;
QPushButton *ButtDelete, *ButtRename, *ButtClose;
QRegExp Expr;
QRegExpValidator *Validator;
};
#endif