# HG changeset patch # User insilmaril # Date 1158233897 0 # Node ID 73bfe41502d912ce80a0bacc4f10993819bc4fa9 # Parent bf5ba1bd47649236b0109506560b6cdb56cadcdf 1.8.57 - more changes in history window, Note Editor is QT4 now diff -r bf5ba1bd4764 -r 73bfe41502d9 exports.cpp --- a/exports.cpp Thu Sep 14 11:38:17 2006 +0000 +++ b/exports.cpp Thu Sep 14 11:38:17 2006 +0000 @@ -171,7 +171,7 @@ if (me) { WarningDialog dia; - dia.setCancelButton (true); + dia.showCancelButton (true); dia.setText(QObject::tr("Exporting the %1 bookmarks will overwrite\nyour existing bookmarks file.").arg("KDE")); dia.setCaption(QObject::tr("Warning: Overwriting %1 bookmarks").arg("KDE")); dia.setShowAgainName("/vym/warnings/overwriteKDEBookmarks"); @@ -207,7 +207,7 @@ if (me) { WarningDialog dia; - dia.setCancelButton (true); + dia.showCancelButton (true); dia.setText(QObject::tr("Exporting the %1 bookmarks will overwrite\nyour existing bookmarks file.").arg("Firefox")); dia.setCaption(QObject::tr("Warning: Overwriting %1 bookmarks").arg("Firefox")); dia.setShowAgainName("/vym/warnings/overwriteImportBookmarks"); diff -r bf5ba1bd4764 -r 73bfe41502d9 exportxhtmldialog.ui --- a/exportxhtmldialog.ui Thu Sep 14 11:38:17 2006 +0000 +++ b/exportxhtmldialog.ui Thu Sep 14 11:38:17 2006 +0000 @@ -1,637 +1,539 @@ - -ExportXHTMLDialog - - - ExportXHTMLDialog - - - - 0 - 0 - 514 - 468 - - - + + + + + ExportXHTMLDialog + + + + 0 + 0 + 686 + 606 + + + + + 0 + 130 + + + + Export XHTML + + + + 9 + + + 6 + + + + + 0 + + + 6 + + + + + + 1 + 5 + 0 + 0 + + + + Export to directory: + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + Browse + + + + + + + + + + 5 + 5 + 0 + 0 + + + + + 0 + 160 + + + + Options + + + Qt::Vertical + + + + + 22 + 156 + 521 + 21 + + + + + 1 + 0 + 0 + 0 + + + + show output of external scripts + + + + + + 20 + 30 + 511 + 104 + + + + + 0 + + + 6 + + + + + Include image + + + + + + + Colored headings in text + + + + + + + Save settings in map + + + + + + + showWarnings e.g. if directory is not empty + + + + + + + + + + + Stylesheets + + + Qt::Vertical + + + + 11 + + + 6 + + + + + 0 + + + 6 + + + + + + 0 + 5 + 0 + 0 + + + + + 125 + 0 + + + + XSL: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + Browse + + + + + + + + + 0 + + + 6 + + + + + + 0 + 5 + 0 + 0 + + + + + 125 + 0 + + + + CSS: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + Browse + + + + + + + + + + + + Scripts + + + Qt::Vertical + + + + 11 + + + 6 + + + + + 0 + + + 6 + + + + + + 0 + 5 + 0 + 0 + + + + + 125 + 0 + + + + Before export: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + Browse + + + + + + + + + 0 + + + 6 + + + + + + 0 + 5 + 0 + 0 + + + + + 125 + 0 + + + + QFrame::NoFrame + + + After Export: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + Browse + + + + + + + + + + + + Qt::Vertical + + + QSizePolicy::MinimumExpanding + + + + 20 + 41 + + + + + + + + 0 + + + 6 + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + - 0 - 130 + 61 + 21 - - - Export XHTML - - - - unnamed - - - - layout17 - - - - unnamed - - - - textLabel1 - - - - 1 - 5 - 0 - 0 - - - - Export to directory: - - - - - lineEditDir - - - - 7 - 0 - 0 - 0 - - - - - - browseExportDirButton - - - - 0 - 0 - 0 - 0 - - - - Browse - - - - - - - layout17 - - - - unnamed - - - - spacer5 - - - Horizontal - - - Expanding - - - - 61 - 21 - - - - - - exportButton - - - Export - - - true - - - - - cancelButton - - - Cancel - - - - - - - buttonGroup2 - - - - 5 - 5 - 0 - 0 - - - - - 0 - 160 - - - - Options - - - - unnamed - - - - imageButton - - - Include image - - - - - textColorButton - - - Colored headings in text - - - - - saveSettingsInMapButton - - - Save settings in map - - - - - warningsButton - - - showWarnings e.g. if directory is not empty - - - - - outputButton - - - - 1 - 0 - 0 - 0 - - - - show output of external scripts - - - - - - - groupBox2 - - - Stylesheets - - - - unnamed - - - - layout7 - - - - unnamed - - - - textLabel2 - - - - 0 - 5 - 0 - 0 - - - - - 125 - 0 - - - - XSL: - - - AlignVCenter|AlignRight - - - - - lineEditXSL - - - - - browseXSLButton - - - - 0 - 0 - 0 - 0 - - - - Browse - - - - - - - layout6 - - - - unnamed - - - - textLabel1_2 - - - - 0 - 5 - 0 - 0 - - - - - 125 - 0 - - - - CSS: - - - AlignVCenter|AlignRight - - - - - lineEditCSS - - - - - browseCSSButton - - - - 0 - 0 - 0 - 0 - - - - Browse - - - - - - - - - groupBox1 - - - Scripts - - - - unnamed - - - - layout4 - - - - unnamed - - - - textLabel1_3 - - - - 0 - 5 - 0 - 0 - - - - - 125 - 0 - - - - Before export: - - - AlignVCenter|AlignRight - - - - - lineEditPostScript - - - - - browsePreExportButton - - - - 0 - 0 - 0 - 0 - - - - Browse - - - - - - - layout5 - - - - unnamed - - - - textLabel2_2 - - - - 0 - 5 - 0 - 0 - - - - - 125 - 0 - - - - NoFrame - - - After Export: - - - AlignVCenter|AlignRight - - - - - lineEditPreScript - - - - - browsePostExportButton - - - - 0 - 0 - 0 - 0 - - - - Browse - - - - - - - - - spacer3 - - - Vertical - - - MinimumExpanding - - - - 20 - 20 - - - - - - - - outputButton - toggled(bool) - ExportXHTMLDialog - outputButtonPressed(bool) - - - exportButton - pressed() - ExportXHTMLDialog - accept() - - - cancelButton - pressed() - ExportXHTMLDialog - close() - - - browseExportDirButton - pressed() - ExportXHTMLDialog - browseDirectoryPressed() - - - browseXSLButton - pressed() - ExportXHTMLDialog - browseXSLPressed() - - - browseCSSButton - pressed() - ExportXHTMLDialog - browseCSSPressed() - - - imageButton - toggled(bool) - ExportXHTMLDialog - imageButtonPressed(bool) - - - textColorButton - toggled(bool) - ExportXHTMLDialog - textcolorButtonPressed(bool) - - - lineEditDir - textChanged(const QString&) - ExportXHTMLDialog - dirChanged() - - - lineEditCSS - textChanged(const QString&) - ExportXHTMLDialog - cssChanged() - - - lineEditXSL - textChanged(const QString&) - ExportXHTMLDialog - xslChanged() - - - warningsButton - toggled(bool) - ExportXHTMLDialog - warningsButtonPressed(bool) - - - saveSettingsInMapButton - toggled(bool) - ExportXHTMLDialog - saveSettingsInMapButtonPressed(bool) - - - browsePreExportButton - pressed() - ExportXHTMLDialog - browsePreExportButtonPressed() - - - lineEditPreScript - textChanged(const QString&) - ExportXHTMLDialog - prescriptChanged() - - - lineEditPostScript - textChanged(const QString&) - ExportXHTMLDialog - postscriptChanged() - - - browsePostExportButton - pressed() - ExportXHTMLDialog - browsePostExportButtonPressed() - - - - xsltproc.h - process.h - qfiledialog.h - qmessagebox.h - settings.h - options.h - exportxhtmldialog.ui.h - - - bool useTextColor; - bool showWarnings; - QString xsl; - QString css; - bool useImage; - bool showOutput; - QString dir; - QString filepath; - QString prescript; - QString postscript; - bool settingsChanged; - QString mapname; - bool saveSettingsInMap; - XSLTProc p; - Process *scriptProc; - - - readSettings() - dirChanged() - browseDirectoryPressed() - imageButtonPressed( bool b ) - textcolorButtonPressed( bool b ) - saveSettingsInMapButtonPressed( bool b ) - warningsButtonPressed( bool b ) - outputButtonPressed( bool b ) - cssChanged() - browseCSSPressed() - xslChanged() - prescriptChanged() - browseXSLPressed() - postscriptChanged() - browsePreExportButtonPressed() - browsePostExportButtonPressed() - doExport( const QString & mapname ) - setFilePath( const QString & s ) - setMapName( const QString & s ) - - - init() - destroy() - getDir() - warnings() - hasChanged() - runScript( QString spath, QString fpath ) - - - - + + + + + + + Export + + + true + + + + + + + Cancel + + + + + + + + + qPixmapFromMimeSource + + + Q3GroupBox + +
Qt3Support/Q3GroupBox
+ 1 + +
+ + Q3ButtonGroup + +
Qt3Support/Q3ButtonGroup
+ 1 + +
+
+ + xsltproc.h + process.h + + + + + cancelButton + clicked() + ExportXHTMLDialog + reject() + + + 459 + 443 + + + 256 + 233 + + + + + exportButton + clicked() + ExportXHTMLDialog + accept() + + + 368 + 443 + + + 256 + 233 + + + + +