mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Premiere application du patch de Sebastien Gouezel : il est possible de specifier les parametres d'export par defaut au niveau de l'application.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@727 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
66
sources/exportpropertieswidget.h
Normal file
66
sources/exportpropertieswidget.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
Copyright 2006-2009 Xavier Guerrin
|
||||
This file is part of QElectroTech.
|
||||
|
||||
QElectroTech 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.
|
||||
|
||||
QElectroTech is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef EXPORT_PROPERTIES_WIDGET_H
|
||||
#define EXPORT_PROPERTIES_WIDGET_H
|
||||
#include <QtGui>
|
||||
#include "exportproperties.h"
|
||||
|
||||
/**
|
||||
Ce widget permet d'editer les differentes options utilisees
|
||||
pour exporter un projet.
|
||||
*/
|
||||
class ExportPropertiesWidget : public QWidget {
|
||||
Q_OBJECT
|
||||
// constructeurs, destructeur
|
||||
public:
|
||||
ExportPropertiesWidget(QWidget * = 0);
|
||||
ExportPropertiesWidget(const ExportProperties &, QWidget * = 0);
|
||||
virtual ~ExportPropertiesWidget();
|
||||
private:
|
||||
ExportPropertiesWidget(const ExportPropertiesWidget &);
|
||||
|
||||
// methodes
|
||||
public:
|
||||
void setExportProperties(const ExportProperties &);
|
||||
ExportProperties exportProperties() const;
|
||||
|
||||
public slots:
|
||||
void slot_chooseADirectory();
|
||||
|
||||
signals:
|
||||
void formatChanged();
|
||||
void exportedAreaChanged();
|
||||
|
||||
// methodes privees
|
||||
private:
|
||||
void build();
|
||||
|
||||
// attributs
|
||||
private:
|
||||
QLineEdit *dirpath;
|
||||
QPushButton *button_browse;
|
||||
QComboBox *format;
|
||||
QCheckBox *draw_grid;
|
||||
QCheckBox *draw_border;
|
||||
QCheckBox *draw_inset;
|
||||
QCheckBox *draw_terminals;
|
||||
QRadioButton *export_border;
|
||||
QRadioButton *export_elements;
|
||||
QButtonGroup *exported_content_choices;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user