mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Amelioration de l'interface Fichier > Exporter (Oui, encore)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@50 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
Q_OBJECT
|
||||
public:
|
||||
ExportDialog(Diagram *, QWidget * = 0);
|
||||
~ExportDialog();
|
||||
|
||||
private:
|
||||
// elements graphiques
|
||||
@@ -19,9 +20,16 @@
|
||||
QSpinBox *width;
|
||||
QSpinBox *height;
|
||||
QCheckBox *keep_aspect_ratio;
|
||||
QCheckBox *export_grid;
|
||||
QCheckBox *draw_grid;
|
||||
QCheckBox *draw_border;
|
||||
QCheckBox *draw_inset;
|
||||
QCheckBox *draw_columns;
|
||||
QCheckBox *keep_colors;
|
||||
QRadioButton *export_elements;
|
||||
QRadioButton *export_border;
|
||||
QDialogButtonBox *buttons;
|
||||
QGraphicsScene *preview_scene;
|
||||
QGraphicsView *preview_view;
|
||||
|
||||
// booleens pour ne pas avoir de boucle lors de l'edition des dimensions de l'image
|
||||
bool dontchangewidth;
|
||||
@@ -33,13 +41,18 @@
|
||||
QString diagram_path;
|
||||
qreal diagram_ratio;
|
||||
|
||||
QWidget *leftPart();
|
||||
QWidget *rightPart();
|
||||
QGroupBox *setupDimensionsGroupBox();
|
||||
QGroupBox *setupOptionsGroupBox();
|
||||
QImage generateImage();
|
||||
|
||||
public slots:
|
||||
void slot_correctWidth();
|
||||
void slot_correctHeight();
|
||||
void slot_chooseAFile();
|
||||
void slot_check();
|
||||
void slot_changeUseBorder();
|
||||
void slot_refreshPreview();
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user