modernizations: All image resources now reside in a common resource-subdirectory and use unified naming

This commit is contained in:
jkriege2 2018-11-18 14:46:14 +01:00
parent f0249cf6eb
commit b10406a134
5 changed files with 88 additions and 88 deletions

View File

@ -194,48 +194,48 @@ JKQtBasePlotter::JKQtBasePlotter(bool datastore_internal, QObject* parent, JKQTP
emitSignals=true;
actSavePlot=new QAction(QIcon(":/images/jkqtp_saveplot.png"), "Save Plot", this);
actSavePlot=new QAction(QIcon(":/JKQTPlotter/jkqtp_saveplot.png"), "Save Plot", this);
actSavePlot->setToolTip("Save plot as image file (PDF, PS; PNG, ...).");
actSaveData=new QAction(QIcon(":/images/jkqtp_savedata.png"), "Save Data", this);
actSaveData=new QAction(QIcon(":/JKQTPlotter/jkqtp_savedata.png"), "Save Data", this);
actSaveData->setToolTip("Save Data of the plot as file (CSV, ...).");
actCopyData=new QAction(QIcon(":/images/jkqtp_copydata.png"), "Copy Data", this);
actCopyData=new QAction(QIcon(":/JKQTPlotter/jkqtp_copydata.png"), "Copy Data", this);
actCopyData->setToolTip("Copy Data of the plot to the clipboard to be pasted into Excel etc.");
actCopyMatlab=new QAction(QIcon(":/images/jkqtp_copymatlab.png"), "Copy Data to Matlab", this);
actCopyMatlab=new QAction(QIcon(":/JKQTPlotter/jkqtp_copymatlab.png"), "Copy Data to Matlab", this);
actCopyMatlab->setToolTip("Copy Data of the plot to the clipboard in Matlab script format.");
actCopyPixelImage=new QAction(QIcon(":/images/jkqtp_copyimg.png"), "Copy Image", this);
actCopyPixelImage=new QAction(QIcon(":/JKQTPlotter/jkqtp_copyimg.png"), "Copy Image", this);
actCopyPixelImage->setToolTip("Copy the plot as a pixel image to the clipboard");
actSavePDF=new QAction(QIcon(":/images/jkqtp_savepdf.png"), "Save P&DF", this);
actSavePDF=new QAction(QIcon(":/JKQTPlotter/jkqtp_savepdf.png"), "Save P&DF", this);
actSavePDF->setToolTip("Save as PDF");
//toolbar->addAction(actSavePDF);
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
actSavePS=new QAction(QIcon(":/images/jkqtp_saveps.png"), "Save P&S", this);
actSavePS=new QAction(QIcon(":/JKQTPlotter/jkqtp_saveps.png"), "Save P&S", this);
actSavePS->setToolTip("Save as PostScript");
//toolbar->addAction(actSavePS);
#endif
actSaveSVG=new QAction(QIcon(":/images/jkqtp_savesvg.png"), "Save S&VG", this);
actSaveSVG=new QAction(QIcon(":/JKQTPlotter/jkqtp_savesvg.png"), "Save S&VG", this);
actSaveSVG->setToolTip("Save as Scalable Vector Graphics (SVG)");
//toolbar->addAction(actSaveSVG);
actSavePix=new QAction(QIcon(":/images/jkqtp_savepix.png"), "Save &Image", this);
actSavePix=new QAction(QIcon(":/JKQTPlotter/jkqtp_savepix.png"), "Save &Image", this);
actSavePix->setToolTip("Save as Pixel Image (PNG, JPEG, TIFF ...)");
//toolbar->addAction(actSavePix);
actPrint=new QAction(QIcon(":/images/jkqtp_print.png"), "&Print", this);
actPrint=new QAction(QIcon(":/JKQTPlotter/jkqtp_print.png"), "&Print", this);
actPrint->setToolTip("Print");
//toolbar->addSeparator();
actSaveCSV=new QAction(QIcon(":/images/jkqtp_savecsv.png"), "Save &CSV", this);
actSaveCSV=new QAction(QIcon(":/JKQTPlotter/jkqtp_savecsv.png"), "Save &CSV", this);
actSaveCSV->setToolTip("Save the data which is used for the plot as Comma Separated Values (CSV)");
//toolbar->addAction(actSaveCSV);
//toolbar->addSeparator();
actZoomAll=new QAction(QIcon(":/images/jkqtp_zoomall.png"), "Zoom &All", this);
actZoomAll=new QAction(QIcon(":/JKQTPlotter/jkqtp_zoomall.png"), "Zoom &All", this);
actZoomAll->setToolTip("Zoom to view all data");
actZoomIn=new QAction(QIcon(":/images/jkqtp_zoomin.png"), "Zoom &In", this);
actZoomIn=new QAction(QIcon(":/JKQTPlotter/jkqtp_zoomin.png"), "Zoom &In", this);
actZoomIn->setToolTip("Zoom in around the center of the plot");
actZoomOut=new QAction(QIcon(":/images/jkqtp_zoomout.png"), "Zoom &Out", this);
actZoomOut=new QAction(QIcon(":/JKQTPlotter/jkqtp_zoomout.png"), "Zoom &Out", this);
actZoomOut->setToolTip("Zoom out");
actShowPlotData=new QAction(QIcon(":/jkqtp_showplotdata.png"), "&Show Plot Data", this);
actShowPlotData=new QAction(QIcon(":/JKQTPlotter/jkqtp_showplotdata.png"), "&Show Plot Data", this);
actShowPlotData->setToolTip("opens a dialog that contains all data used for the plot in a table.");
@ -1453,7 +1453,7 @@ void JKQtBasePlotter::printpreview(QPrinter *p, bool setabsolutesize) {
QGridLayout* layout=new QGridLayout();
dlg->setLayout(layout);
dlg->setWindowTitle(tr("Graph print/export preview ..."));
dlg->setWindowIcon(QIcon(":/images/exportprintpreview.png"));
dlg->setWindowIcon(QIcon(":/JKQTPlotter/jkqtp_exportprintpreview.png"));
printPreview=new QPrintPreviewWidget(p, dlg);
connect(printPreview, SIGNAL(paintRequested(QPrinter*)), this, SLOT(printpreviewPaintRequested(QPrinter*)));
@ -1617,7 +1617,7 @@ bool JKQtBasePlotter::printpreviewNew(QPaintDevice* paintDevice, bool setAbsolut
QGridLayout* layout=new QGridLayout();
dlg->setLayout(layout);
dlg->setWindowTitle(tr("Graph print/export preview ..."));
dlg->setWindowIcon(QIcon(":/images/exportprintpreview.png"));
dlg->setWindowIcon(QIcon(":/JKQTPlotter/jkqtp_exportprintpreview.png"));
bool delPrinter=false;
if (svg) {
@ -1810,7 +1810,7 @@ bool JKQtBasePlotter::exportpreview(QSizeF pageSize, bool unitIsMM) {
QGridLayout* layout=new QGridLayout();
dlg->setLayout(layout);
dlg->setWindowTitle(tr("Graph export preview ..."));
dlg->setWindowIcon(QIcon(":/images/exportprintpreview.png"));
dlg->setWindowIcon(QIcon(":/JKQTPlotter/jkqtp_exportprintpreview.png"));
/*printPreview=new QPrintPreviewWidget(p, dlg);
connect(printPreview, SIGNAL(paintRequested(QPrinter*)), this, SLOT(printpreviewPaintRequested(QPrinter*)));*/
QScrollArea* scroll=new QScrollArea(dlg);
@ -4368,7 +4368,7 @@ void JKQtBasePlotter::showPlotData() {
QVBoxLayout* layout=new QVBoxLayout();
dlg->setLayout(layout);
QToolBar* tb=new QToolBar("toolbar", dlg);
QAction* actClose=new QAction(QIcon(":/jkqtp_exit.png"), tr("&Close Window"), dlg);
QAction* actClose=new QAction(QIcon(":/JKQTPlotter/jkqtp_exit.png"), tr("&Close Window"), dlg);
connect(actClose, SIGNAL(triggered()), dlg, SLOT(accept()));
tb->addAction(actClose);
tb->addSeparator();

View File

@ -1,20 +1,20 @@
<RCC>
<qresource prefix="/">
<file>images/jkqtp_savedata.png</file>
<file>images/jkqtp_saveplot.png</file>
<file alias="images/jkqtp_print.png">images/jkqtp_24_print.png</file>
<file>images/jkqtp_savepdf.png</file>
<file>images/jkqtp_savesvg.png</file>
<file>images/jkqtp_saveps.png</file>
<file>images/jkqtp_savepix.png</file>
<file>images/jkqtp_savecsv.png</file>
<file alias="images/jkqtp_zoomin.png">images/jkqtp_24_zoomin.png</file>
<file alias="images/jkqtp_zoomout.png">images/jkqtp_24_zoomout.png</file>
<file alias="images/jkqtp_zoomall.png">images/jkqtp_24_zoomall.png</file>
<file alias="images/exportprintpreview.png">images/jkqtp_zoomall.png</file>
<file>images/jkqtp_copydata.png</file>
<file>images/jkqtp_copymatlab.png</file>
<file>images/jkqtp_copyimg.png</file>
<qresource prefix="JKQTPlotter/">
<file alias="jkqtp_savedata.png">images/jkqtp_savedata.png</file>
<file alias="jkqtp_saveplot.png">images/jkqtp_saveplot.png</file>
<file alias="jkqtp_print.png">images/jkqtp_24_print.png</file>
<file alias="jkqtp_savepdf.png">images/jkqtp_savepdf.png</file>
<file alias="jkqtp_savesvg.png">images/jkqtp_savesvg.png</file>
<file alias="jkqtp_saveps.png">images/jkqtp_saveps.png</file>
<file alias="jkqtp_savepix.png">images/jkqtp_savepix.png</file>
<file alias="jkqtp_savecsv.png">images/jkqtp_savecsv.png</file>
<file alias="jkqtp_zoomin.png">images/jkqtp_24_zoomin.png</file>
<file alias="jkqtp_zoomout.png">images/jkqtp_24_zoomout.png</file>
<file alias="jkqtp_zoomall.png">images/jkqtp_24_zoomall.png</file>
<file alias="jkqtp_exportprintpreview.png">images/jkqtp_zoomall.png</file>
<file alias="jkqtp_copydata.png">images/jkqtp_copydata.png</file>
<file alias="jkqtp_copymatlab.png">images/jkqtp_copymatlab.png</file>
<file alias="jkqtp_copyimg.png">images/jkqtp_copyimg.png</file>
<file alias="jkqtp_exit.png">images/exit.png</file>
<file alias="jkqtp_cursor_rectangle.png">images/cursor_rectangle.png</file>
<file alias="jkqtp_cursor_rectangle_mask.png">images/cursor_rectangle_mask.png</file>

View File

@ -189,7 +189,7 @@ void JKQTPImage::draw(JKQTPEnhancedPainter& painter) {
void JKQTPImage::drawKeyMarker(JKQTPEnhancedPainter &painter, QRectF &rect)
{
painter.drawImage(rect, QPixmap(":/jkqtp_plot_image.png").toImage());
painter.drawImage(rect, QPixmap(":/JKQTPlotter/jkqtp_plot_image.png").toImage());
}
void JKQTPImage::createImageActions()
@ -2062,7 +2062,7 @@ double JKQTPRGBMathImage::getValueAt(double x, double y, int channel)
void JKQTPRGBMathImage::drawKeyMarker(JKQTPEnhancedPainter &painter, QRectF &rect)
{
painter.drawImage(rect, QPixmap(":/jkqtp_plot_rgbimage.png").toImage());
painter.drawImage(rect, QPixmap(":/JKQTPlotter/jkqtp_plot_rgbimage.png").toImage());
}
void JKQTPRGBMathImage::set_title(const JKQTPgraph::typedef_set_title &title)

View File

@ -526,30 +526,30 @@ void JKQtPlotter::initContextMenu()
void JKQtPlotter::updateCursor() {
if (mouseActionMode==JKQtPlotter::ZoomRectangle) {
QBitmap cursor(":/jkqtp_cursor_zoom.png");
QBitmap mask(":/jkqtp_cursor_zoom_mask.png");
QBitmap cursor(":/JKQTPlotter/jkqtp_cursor_zoom.png");
QBitmap mask(":/JKQTPlotter/jkqtp_cursor_zoom_mask.png");
setCursor(QCursor(cursor, mask, 9, 14));
} else if (mouseActionMode==JKQtPlotter::RectangleEvents) {
QBitmap cursor(":/jkqtp_cursor_rectangle.png");
QBitmap mask(":/jkqtp_cursor_rectangle_mask.png");
QBitmap cursor(":/JKQTPlotter/jkqtp_cursor_rectangle.png");
QBitmap mask(":/JKQTPlotter/jkqtp_cursor_rectangle_mask.png");
setCursor(QCursor(cursor, mask, 9, 14));
} else if (mouseActionMode==JKQtPlotter::CircleEvents) {
QBitmap cursor(":/jkqtp_cursor_circle.png");
QBitmap mask(":/jkqtp_cursor_circle_mask.png");
QBitmap cursor(":/JKQTPlotter/jkqtp_cursor_circle.png");
QBitmap mask(":/JKQTPlotter/jkqtp_cursor_circle_mask.png");
setCursor(QCursor(cursor, mask, 9, 14));
} else if (mouseActionMode==JKQtPlotter::EllipseEvents) {
QBitmap cursor(":/jkqtp_cursor_ellipse.png");
QBitmap mask(":/jkqtp_cursor_ellipse_mask.png");
QBitmap cursor(":/JKQTPlotter/jkqtp_cursor_ellipse.png");
QBitmap mask(":/JKQTPlotter/jkqtp_cursor_ellipse_mask.png");
setCursor(QCursor(cursor, mask, 9, 14));
} else if (mouseActionMode==JKQtPlotter::LineEvents) {
QBitmap cursor(":/jkqtp_cursor_line.png");
QBitmap mask(":/jkqtp_cursor_line_mask.png");
QBitmap cursor(":/JKQTPlotter/jkqtp_cursor_line.png");
QBitmap mask(":/JKQTPlotter/jkqtp_cursor_line_mask.png");
setCursor(QCursor(cursor, mask, 9, 14));
} else if (mouseActionMode==JKQtPlotter::ClickEvents) {
setCursor(QCursor(Qt::CrossCursor));
} else if (mouseActionMode==JKQtPlotter::ScribbleEvents) {
QBitmap cursor(":/jkqtp_cursor_scribble.png");
QBitmap mask(":/jkqtp_cursor_scribble_mask.png");
QBitmap cursor(":/JKQTPlotter/jkqtp_cursor_scribble.png");
QBitmap mask(":/JKQTPlotter/jkqtp_cursor_scribble_mask.png");
setCursor(QCursor(cursor, mask, 9, 14));
} else {
setCursor(QCursor(Qt::ArrowCursor));

View File

@ -933,17 +933,17 @@ JKQTPerrorPlotstyleComboBox::JKQTPerrorPlotstyleComboBox(QWidget *parent):
QComboBox(parent)
{
setEditable(false);
addSymbol(JKQTPnoError, tr("none"), QIcon(":/jkqtp_enone.png"));
addSymbol(JKQTPerrorLines, tr("error lines"), QIcon(":/jkqtp_elines.png"));
addSymbol(JKQTPerrorBars, tr("error bars"), QIcon(":/jkqtp_ebars.png"));
addSymbol(JKQTPerrorSimpleBars, tr("simple error bars"), QIcon(":/jkqtp_esbars.png"));
addSymbol(JKQTPerrorPolygons, tr("error polygons"), QIcon(":/jkqtp_epoly.png"));
addSymbol(JKQTPerrorBarsLines, tr("bars + lines"), QIcon(":/jkqtp_elinesbars.png"));
addSymbol(JKQTPerrorBarsPolygons, tr("bars + polygons"), QIcon(":/jkqtp_epolybars.png"));
addSymbol(JKQTPerrorSimpleBarsLines, tr("simple bars + lines"), QIcon(":/jkqtp_elinessbars.png"));
addSymbol(JKQTPerrorSimpleBarsPolygons, tr("simple bars + polygons"), QIcon(":/jkqtp_epolysbars.png"));
addSymbol(JKQTPerrorBoxes, tr("boxes"), QIcon(":/jkqtp_eboxes.png"));
addSymbol(JKQTPerrorEllipses, tr("ellipses"), QIcon(":/jkqtp_eellipses.png"));
addSymbol(JKQTPnoError, tr("none"), QIcon(":/JKQTPlotter/jkqtp_enone.png"));
addSymbol(JKQTPerrorLines, tr("error lines"), QIcon(":/JKQTPlotter/jkqtp_elines.png"));
addSymbol(JKQTPerrorBars, tr("error bars"), QIcon(":/JKQTPlotter/jkqtp_ebars.png"));
addSymbol(JKQTPerrorSimpleBars, tr("simple error bars"), QIcon(":/JKQTPlotter/jkqtp_esbars.png"));
addSymbol(JKQTPerrorPolygons, tr("error polygons"), QIcon(":/JKQTPlotter/jkqtp_epoly.png"));
addSymbol(JKQTPerrorBarsLines, tr("bars + lines"), QIcon(":/JKQTPlotter/jkqtp_elinesbars.png"));
addSymbol(JKQTPerrorBarsPolygons, tr("bars + polygons"), QIcon(":/JKQTPlotter/jkqtp_epolybars.png"));
addSymbol(JKQTPerrorSimpleBarsLines, tr("simple bars + lines"), QIcon(":/JKQTPlotter/jkqtp_elinessbars.png"));
addSymbol(JKQTPerrorSimpleBarsPolygons, tr("simple bars + polygons"), QIcon(":/JKQTPlotter/jkqtp_epolysbars.png"));
addSymbol(JKQTPerrorBoxes, tr("boxes"), QIcon(":/JKQTPlotter/jkqtp_eboxes.png"));
addSymbol(JKQTPerrorEllipses, tr("ellipses"), QIcon(":/JKQTPlotter/jkqtp_eellipses.png"));
setCurrentIndex(2);
}
@ -978,18 +978,18 @@ JKQTPkeyPositionComboBox::JKQTPkeyPositionComboBox(QWidget *parent):
QComboBox(parent)
{
setEditable(false);
addPosition(JKQTPkeyInsideTopRight, tr("inside, top-right"), QIcon(":/jkqtp_key_itr.png"));
addPosition(JKQTPkeyInsideTopLeft, tr("inside, top-left"), QIcon(":/jkqtp_key_itl.png"));
addPosition(JKQTPkeyInsideBottomLeft, tr("inside, bottom-left"), QIcon(":/jkqtp_key_ibl.png"));
addPosition(JKQTPkeyInsideBottomRight, tr("inside, bottom-right"), QIcon(":/jkqtp_key_ibr.png"));
addPosition(JKQTPkeyOutsideTopRight, tr("outside, top-right"), QIcon(":/jkqtp_key_otr.png"));
addPosition(JKQTPkeyOutsideTopLeft, tr("outside, top-left"), QIcon(":/jkqtp_key_otl.png"));
addPosition(JKQTPkeyOutsideLeftTop, tr("outside, left-top"), QIcon(":/jkqtp_key_olt.png"));
addPosition(JKQTPkeyOutsideLeftBottom, tr("outside, left-bottom"), QIcon(":/jkqtp_key_olb.png"));
addPosition(JKQTPkeyOutsideBottomRight, tr("outside, bottom-right"), QIcon(":/jkqtp_key_obr.png"));
addPosition(JKQTPkeyOutsideBottomLeft, tr("outside, bottom-left"), QIcon(":/jkqtp_key_obl.png"));
addPosition(JKQTPkeyOutsideRightTop, tr("outside, right-top"), QIcon(":/jkqtp_key_ort.png"));
addPosition(JKQTPkeyOutsideRightBottom, tr("outside, right-bottom"), QIcon(":/jkqtp_key_orb.png"));
addPosition(JKQTPkeyInsideTopRight, tr("inside, top-right"), QIcon(":/JKQTPlotter/jkqtp_key_itr.png"));
addPosition(JKQTPkeyInsideTopLeft, tr("inside, top-left"), QIcon(":/JKQTPlotter/jkqtp_key_itl.png"));
addPosition(JKQTPkeyInsideBottomLeft, tr("inside, bottom-left"), QIcon(":/JKQTPlotter/jkqtp_key_ibl.png"));
addPosition(JKQTPkeyInsideBottomRight, tr("inside, bottom-right"), QIcon(":/JKQTPlotter/jkqtp_key_ibr.png"));
addPosition(JKQTPkeyOutsideTopRight, tr("outside, top-right"), QIcon(":/JKQTPlotter/jkqtp_key_otr.png"));
addPosition(JKQTPkeyOutsideTopLeft, tr("outside, top-left"), QIcon(":/JKQTPlotter/jkqtp_key_otl.png"));
addPosition(JKQTPkeyOutsideLeftTop, tr("outside, left-top"), QIcon(":/JKQTPlotter/jkqtp_key_olt.png"));
addPosition(JKQTPkeyOutsideLeftBottom, tr("outside, left-bottom"), QIcon(":/JKQTPlotter/jkqtp_key_olb.png"));
addPosition(JKQTPkeyOutsideBottomRight, tr("outside, bottom-right"), QIcon(":/JKQTPlotter/jkqtp_key_obr.png"));
addPosition(JKQTPkeyOutsideBottomLeft, tr("outside, bottom-left"), QIcon(":/JKQTPlotter/jkqtp_key_obl.png"));
addPosition(JKQTPkeyOutsideRightTop, tr("outside, right-top"), QIcon(":/JKQTPlotter/jkqtp_key_ort.png"));
addPosition(JKQTPkeyOutsideRightBottom, tr("outside, right-bottom"), QIcon(":/JKQTPlotter/jkqtp_key_orb.png"));
setCurrentIndex(0);
connect(this, SIGNAL(currentIndexChanged(int)), this, SLOT(posChanged(int)));
}
@ -1077,12 +1077,12 @@ JKQTPCAlabelTypeComboBox::JKQTPCAlabelTypeComboBox(QWidget *parent):
QComboBox(parent)
{
setEditable(false);
addLabelType(JKQTPCALTexponent, tr("exponent"), QIcon(":/jkqtp_ticks_exp.png"));
addLabelType(JKQTPCALTdefault, tr("default"), QIcon(":/jkqtp_ticks_default.png"));
addLabelType(JKQTPCALTexponentCharacter, tr("character"), QIcon(":/jkqtp_ticks_expchar.png"));
addLabelType(JKQTPCALTtime, tr("time"), QIcon(":/jkqtp_ticks_time.png"));
addLabelType(JKQTPCALTdate, tr("date"), QIcon(":/jkqtp_ticks_date.png"));
addLabelType(JKQTPCALTdatetime, tr("datetime"), QIcon(":/jkqtp_ticks_datetime.png"));
addLabelType(JKQTPCALTexponent, tr("exponent"), QIcon(":/JKQTPlotter/jkqtp_ticks_exp.png"));
addLabelType(JKQTPCALTdefault, tr("default"), QIcon(":/JKQTPlotter/jkqtp_ticks_default.png"));
addLabelType(JKQTPCALTexponentCharacter, tr("character"), QIcon(":/JKQTPlotter/jkqtp_ticks_expchar.png"));
addLabelType(JKQTPCALTtime, tr("time"), QIcon(":/JKQTPlotter/jkqtp_ticks_time.png"));
addLabelType(JKQTPCALTdate, tr("date"), QIcon(":/JKQTPlotter/jkqtp_ticks_date.png"));
addLabelType(JKQTPCALTdatetime, tr("datetime"), QIcon(":/JKQTPlotter/jkqtp_ticks_datetime.png"));
setCurrentIndex(0);
}
@ -1106,11 +1106,11 @@ JKQTPCAdrawModeComboBox::JKQTPCAdrawModeComboBox(QWidget *parent):
QComboBox(parent)
{
setEditable(false);
addDrawMode(JKQTPCADMcomplete, tr("complete"), QIcon(":/jkqtp_axis_complete.png"));
addDrawMode(JKQTPCADMticksAndLabels, tr("tick+lab."), QIcon(":/jkqtp_axis_ticksandlabels.png"));
addDrawMode(JKQTPCADMticks, tr("tick"), QIcon(":/jkqtp_axis_ticks.png"));
addDrawMode(JKQTPCADMline, tr("line"), QIcon(":/jkqtp_axis_line.png"));
addDrawMode(JKQTPCADMnone, tr("none"), QIcon(":/jkqtp_axis_none.png"));
addDrawMode(JKQTPCADMcomplete, tr("complete"), QIcon(":/JKQTPlotter/jkqtp_axis_complete.png"));
addDrawMode(JKQTPCADMticksAndLabels, tr("tick+lab."), QIcon(":/JKQTPlotter/jkqtp_axis_ticksandlabels.png"));
addDrawMode(JKQTPCADMticks, tr("tick"), QIcon(":/JKQTPlotter/jkqtp_axis_ticks.png"));
addDrawMode(JKQTPCADMline, tr("line"), QIcon(":/JKQTPlotter/jkqtp_axis_line.png"));
addDrawMode(JKQTPCADMnone, tr("none"), QIcon(":/JKQTPlotter/jkqtp_axis_none.png"));
setCurrentIndex(0);
}
@ -1137,19 +1137,19 @@ JKQTPEnhancedTableView::JKQTPEnhancedTableView(QWidget *parent):
setContextMenuPolicy(Qt::ActionsContextMenu);
QAction* act;
act=new QAction(QIcon(":/jkqtp_copy16.png"), tr("Copy Selection to Clipboard (for Excel ...)"), this);
act=new QAction(QIcon(":/JKQTPlotter/jkqtp_copy16.png"), tr("Copy Selection to Clipboard (for Excel ...)"), this);
connect(act, SIGNAL(triggered()), this, SLOT(copySelectionToExcel()));
addAction(act);
act=new QAction(QIcon(":/jkqtp_copy16_nohead.png"), tr("Copy Selection to clipboard (for Excel ...) without header row/column"), this);
act=new QAction(QIcon(":/JKQTPlotter/jkqtp_copy16_nohead.png"), tr("Copy Selection to clipboard (for Excel ...) without header row/column"), this);
connect(act, SIGNAL(triggered()), this, SLOT(copySelectionToExcelNoHead()));
addAction(act);
act=new QAction(QIcon(":/jkqtp_copy16.png"), tr("Copy Selection to Clipboard (as CSV)"), this);
act=new QAction(QIcon(":/JKQTPlotter/jkqtp_copy16.png"), tr("Copy Selection to Clipboard (as CSV)"), this);
connect(act, SIGNAL(triggered()), this, SLOT(copySelectionToCSV()));
addAction(act);
act=new QAction(QIcon(":/jkqtp_copy16_nohead.png"), tr("Copy Selection to clipboard (as CSV ...) without header row/column"), this);
act=new QAction(QIcon(":/JKQTPlotter/jkqtp_copy16_nohead.png"), tr("Copy Selection to clipboard (as CSV ...) without header row/column"), this);
connect(act, SIGNAL(triggered()), this, SLOT(copySelectionToCSVNoHead()));
addAction(act);
act=new QAction(QIcon(":/jkqtp_printtable.png"), tr("Print Table"), this);
act=new QAction(QIcon(":/JKQTPlotter/jkqtp_printtable.png"), tr("Print Table"), this);
connect(act, SIGNAL(triggered()), this, SLOT(print()));
addAction(act);
printAction=act;