mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Seconde application du patch de Sebastien Goueze : il est desormais possible d'exporter un schema vers le presse-papier depuis le dialogue d'export.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@728 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -58,6 +58,7 @@ class ExportDialog : public QDialog {
|
||||
QPushButton *keep_ratio;
|
||||
QPushButton *reset_size;
|
||||
QPushButton *preview;
|
||||
QPushButton *clipboard;
|
||||
};
|
||||
|
||||
// attributs
|
||||
@@ -73,6 +74,7 @@ class ExportDialog : public QDialog {
|
||||
QSignalMapper *height_mapper_;
|
||||
QSignalMapper *ratio_mapper_;
|
||||
QSignalMapper *reset_mapper_;
|
||||
QSignalMapper *clipboard_mapper_;
|
||||
|
||||
// elements relatifs au traitement effectue par le dialogue
|
||||
QETProject *project_;
|
||||
@@ -81,7 +83,7 @@ class ExportDialog : public QDialog {
|
||||
private:
|
||||
QWidget *initDiagramsListPart();
|
||||
void saveReloadDiagramParameters(Diagram *, bool = true);
|
||||
void generateSvg(Diagram *, int, int, bool, QFile &);
|
||||
void generateSvg(Diagram *, int, int, bool, QIODevice &);
|
||||
QImage generateImage(Diagram *, int, int, bool);
|
||||
void exportDiagram(ExportDiagramLine *);
|
||||
qreal diagramRatio(Diagram *);
|
||||
@@ -97,5 +99,6 @@ class ExportDialog : public QDialog {
|
||||
void slot_checkDiagramsCount();
|
||||
void slot_changeFilesExtension(bool = false);
|
||||
void slot_previewDiagram(int);
|
||||
void slot_exportToClipBoard(int);
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user