mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 09:40:52 +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:
@@ -21,6 +21,7 @@
|
||||
#include "diagram.h"
|
||||
#include "qetproject.h"
|
||||
class QSvgGenerator;
|
||||
class ExportPropertiesWidget;
|
||||
/**
|
||||
Cette classe represente le dialogue permettant d'exporter un schema
|
||||
sous forme d'image selon les desirs de l'utilisateur
|
||||
@@ -64,15 +65,7 @@ class ExportDialog : public QDialog {
|
||||
QHash<int, ExportDialog::ExportDiagramLine *> diagram_lines_;
|
||||
// elements graphiques
|
||||
QGridLayout *diagrams_list_layout_;
|
||||
QLineEdit *dirpath;
|
||||
QPushButton *button_browse;
|
||||
QComboBox *format;
|
||||
QCheckBox *draw_grid;
|
||||
QCheckBox *draw_border;
|
||||
QCheckBox *draw_inset;
|
||||
QCheckBox *draw_terminals;
|
||||
QRadioButton *export_elements;
|
||||
QRadioButton *export_border;
|
||||
ExportPropertiesWidget *epw;
|
||||
QDialogButtonBox *buttons;
|
||||
// mappers
|
||||
QSignalMapper *preview_mapper_;
|
||||
@@ -87,8 +80,6 @@ class ExportDialog : public QDialog {
|
||||
// methodes
|
||||
private:
|
||||
QWidget *initDiagramsListPart();
|
||||
QWidget *leftPart();
|
||||
QGroupBox *setupOptionsGroupBox();
|
||||
void saveReloadDiagramParameters(Diagram *, bool = true);
|
||||
void generateSvg(Diagram *, int, int, bool, QFile &);
|
||||
QImage generateImage(Diagram *, int, int, bool);
|
||||
@@ -101,7 +92,6 @@ class ExportDialog : public QDialog {
|
||||
void slot_correctHeight(int);
|
||||
void slot_keepRatioChanged(int);
|
||||
void slot_resetSize(int);
|
||||
void slot_chooseADirectory();
|
||||
void slot_export();
|
||||
void slot_changeUseBorder();
|
||||
void slot_checkDiagramsCount();
|
||||
|
||||
Reference in New Issue
Block a user