move all icon files to the icons folder

This commit is contained in:
Axel Kohlmeyer
2023-09-24 15:55:14 -04:00
parent 5588c121f4
commit 934269e456
63 changed files with 142 additions and 142 deletions

View File

@ -35,14 +35,14 @@ ChartWindow::ChartWindow(const QString &_filename, QWidget *parent) :
top->addWidget(new QLabel("Select data:"));
top->addWidget(columns);
saveAsAct = file->addAction("&Save Graph As...", this, &ChartWindow::saveAs);
saveAsAct->setIcon(QIcon(":/document-save-as.png"));
saveAsAct->setIcon(QIcon(":/icons/document-save-as.png"));
exportCsvAct = file->addAction("&Export data to CSV...", this, &ChartWindow::exportCsv);
exportCsvAct->setIcon(QIcon(":/application-calc.png"));
exportCsvAct->setIcon(QIcon(":/icons/application-calc.png"));
exportDatAct = file->addAction("Export data to &Gnuplot...", this, &ChartWindow::exportDat);
exportDatAct->setIcon(QIcon(":/application-plot.png"));
exportDatAct->setIcon(QIcon(":/icons/application-plot.png"));
file->addSeparator();
closeAct = file->addAction("&Close", this, &QWidget::close);
closeAct->setIcon(QIcon(":/window-close.png"));
closeAct->setIcon(QIcon(":/icons/window-close.png"));
auto *layout = new QVBoxLayout;
layout->addLayout(top);
setLayout(layout);

View File

@ -657,18 +657,18 @@ void CodeEditor::contextMenuEvent(QContextMenuEvent *event)
auto *menu = createStandardContextMenu();
menu->addSeparator();
auto action = menu->addAction(QString("Display available completions for '%1'").arg(help));
action->setIcon(QIcon(":/expand-text.png"));
action->setIcon(QIcon(":/icons/expand-text.png"));
connect(action, &QAction::triggered, this, &CodeEditor::runCompletion);
if (!page.isEmpty()) {
menu->addSeparator();
action = menu->addAction(QString("Reformat '%1' command").arg(help));
action->setIcon(QIcon(":/format-indent-less-3.png"));
action->setIcon(QIcon(":/icons/format-indent-less-3.png"));
connect(action, &QAction::triggered, this, &CodeEditor::reformatCurrentLine);
menu->addSeparator();
action = menu->addAction(QString("View Documentation for '%1'").arg(help));
action->setIcon(QIcon(":/system-help.png"));
action->setIcon(QIcon(":/icons/system-help.png"));
action->setData(page);
connect(action, &QAction::triggered, this, &CodeEditor::open_help);
// if we link to help with specific styles (fix, compute, pair, bond, ...)
@ -679,13 +679,13 @@ void CodeEditor::contextMenuEvent(QContextMenuEvent *event)
page = words.at(0);
page += ".html";
auto action2 = menu->addAction(QString("View Documentation for '%1'").arg(help));
action2->setIcon(QIcon(":/system-help.png"));
action2->setIcon(QIcon(":/icons/system-help.png"));
action2->setData(page);
connect(action2, &QAction::triggered, this, &CodeEditor::open_help);
}
}
auto action3 = menu->addAction(QString("LAMMPS Manual"));
action3->setIcon(QIcon(":/help-browser.png"));
action3->setIcon(QIcon(":/icons/help-browser.png"));
action3->setData(QString());
connect(action3, &QAction::triggered, this, &CodeEditor::open_help);

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -79,7 +79,7 @@ ImageViewer::ImageViewer(const QString &fileName, LammpsWrapper *_lammps, QWidge
QSettings settings;
vdwfactor = 0.5;
auto pix = QPixmap(":/emblem-photos.png");
auto pix = QPixmap(":/icons/emblem-photos.png");
auto *renderstatus = new QLabel(QString());
renderstatus->setPixmap(pix.scaled(22, 22, Qt::KeepAspectRatio));
@ -107,39 +107,39 @@ ImageViewer::ImageViewer(const QString &fileName, LammpsWrapper *_lammps, QWidge
auto *dummy = new QPushButton(QIcon(), "");
dummy->hide();
auto *dossao = new QPushButton(QIcon(":/hd-img.png"), "");
auto *dossao = new QPushButton(QIcon(":/icons/hd-img.png"), "");
dossao->setCheckable(true);
dossao->setToolTip("Toggle SSAO rendering");
dossao->setObjectName("ssao");
auto *doanti = new QPushButton(QIcon(":/antialias.png"), "");
auto *doanti = new QPushButton(QIcon(":/icons/antialias.png"), "");
doanti->setCheckable(true);
doanti->setToolTip("Toggle anti-aliasing");
doanti->setObjectName("antialias");
auto *dovdw = new QPushButton(QIcon(":/vdw-style.png"), "");
auto *dovdw = new QPushButton(QIcon(":/icons/vdw-style.png"), "");
dovdw->setCheckable(true);
dovdw->setToolTip("Toggle VDW style representation");
dovdw->setObjectName("vdw");
auto *dobox = new QPushButton(QIcon(":/system-box.png"), "");
auto *dobox = new QPushButton(QIcon(":/icons/system-box.png"), "");
dobox->setCheckable(true);
dobox->setToolTip("Toggle displaying box");
dobox->setObjectName("box");
auto *doaxes = new QPushButton(QIcon(":/axes-img.png"), "");
auto *doaxes = new QPushButton(QIcon(":/icons/axes-img.png"), "");
doaxes->setCheckable(true);
doaxes->setToolTip("Toggle displaying axes");
doaxes->setObjectName("axes");
auto *zoomin = new QPushButton(QIcon(":/gtk-zoom-in.png"), "");
auto *zoomin = new QPushButton(QIcon(":/icons/gtk-zoom-in.png"), "");
zoomin->setToolTip("Zoom in by 10 percent");
auto *zoomout = new QPushButton(QIcon(":/gtk-zoom-out.png"), "");
auto *zoomout = new QPushButton(QIcon(":/icons/gtk-zoom-out.png"), "");
zoomout->setToolTip("Zoom out by 10 percent");
auto *rotleft = new QPushButton(QIcon(":/object-rotate-left.png"), "");
auto *rotleft = new QPushButton(QIcon(":/icons/object-rotate-left.png"), "");
rotleft->setToolTip("Rotate left by 15 degrees");
auto *rotright = new QPushButton(QIcon(":/object-rotate-right.png"), "");
auto *rotright = new QPushButton(QIcon(":/icons/object-rotate-right.png"), "");
rotright->setToolTip("Rotate right by 15 degrees");
auto *rotup = new QPushButton(QIcon(":/gtk-go-up.png"), "");
auto *rotup = new QPushButton(QIcon(":/icons/gtk-go-up.png"), "");
rotup->setToolTip("Rotate up by 15 degrees");
auto *rotdown = new QPushButton(QIcon(":/gtk-go-down.png"), "");
auto *rotdown = new QPushButton(QIcon(":/icons/gtk-go-down.png"), "");
rotdown->setToolTip("Rotate down by 15 degrees");
auto *reset = new QPushButton(QIcon(":/gtk-zoom-fit.png"), "");
auto *reset = new QPushButton(QIcon(":/icons/gtk-zoom-fit.png"), "");
reset->setToolTip("Reset view to defaults");
auto *combo = new QComboBox;
combo->setObjectName("group");
@ -192,7 +192,7 @@ ImageViewer::ImageViewer(const QString &fileName, LammpsWrapper *_lammps, QWidge
mainLayout->addLayout(menuLayout);
mainLayout->addWidget(scrollArea);
mainLayout->addWidget(buttonBox);
setWindowIcon(QIcon(":/lammps-icon-128x128.png"));
setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
setWindowTitle(QString("Image Viewer: ") + QFileInfo(fileName).fileName());
createActions();
@ -475,16 +475,16 @@ void ImageViewer::createActions()
QMenu *fileMenu = menuBar->addMenu("&File");
saveAsAct = fileMenu->addAction("&Save As...", this, &ImageViewer::saveAs);
saveAsAct->setIcon(QIcon(":/document-save-as.png"));
saveAsAct->setIcon(QIcon(":/icons/document-save-as.png"));
saveAsAct->setEnabled(false);
fileMenu->addSeparator();
copyAct = fileMenu->addAction("&Copy", this, &ImageViewer::copy);
copyAct->setIcon(QIcon(":/edit-copy.png"));
copyAct->setIcon(QIcon(":/icons/edit-copy.png"));
copyAct->setShortcut(QKeySequence::Copy);
copyAct->setEnabled(false);
fileMenu->addSeparator();
QAction *exitAct = fileMenu->addAction("&Close", this, &QWidget::close);
exitAct->setIcon(QIcon(":/window-close.png"));
exitAct->setIcon(QIcon(":/icons/window-close.png"));
exitAct->setShortcut(QKeySequence::fromString("Ctrl+W"));
}

View File

@ -146,7 +146,7 @@ LammpsGui::LammpsGui(QWidget *parent, const char *filename) :
lammps_args.push_back(mystrdup("-log"));
lammps_args.push_back(mystrdup("none"));
setWindowIcon(QIcon(":/lammps-icon-128x128.png"));
setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
QFont all_font("Arial", -1);
all_font.setStyleHint(QFont::SansSerif, QFont::PreferOutline);
@ -163,7 +163,7 @@ LammpsGui::LammpsGui(QWidget *parent, const char *filename) :
varwindow = new QLabel(QString());
varwindow->setWindowTitle("LAMMPS-GUI - Current Variables:");
varwindow->setWindowIcon(QIcon(":/lammps-icon-128x128.png"));
varwindow->setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
varwindow->setMinimumSize(100, 50);
varwindow->setText("(none)");
varwindow->setFont(text_font);
@ -226,15 +226,15 @@ LammpsGui::LammpsGui(QWidget *parent, const char *filename) :
#endif
lammpsstatus = new QLabel(QString());
auto pix = QPixmap(":/lammps-icon-128x128.png");
auto pix = QPixmap(":/icons/lammps-icon-128x128.png");
lammpsstatus->setPixmap(pix.scaled(22, 22, Qt::KeepAspectRatio));
ui->statusbar->addWidget(lammpsstatus);
lammpsstatus->setToolTip("LAMMPS instance is active");
lammpsstatus->hide();
auto *lammpsrun = new QPushButton(QIcon(":/system-run.png"), "");
auto *lammpsstop = new QPushButton(QIcon(":/process-stop.png"), "");
auto *lammpsimage = new QPushButton(QIcon(":/emblem-photos.png"), "");
auto *lammpsrun = new QPushButton(QIcon(":/icons/system-run.png"), "");
auto *lammpsstop = new QPushButton(QIcon(":/icons/process-stop.png"), "");
auto *lammpsimage = new QPushButton(QIcon(":/icons/emblem-photos.png"), "");
lammpsrun->setToolTip("Run LAMMPS on input");
lammpsstop->setToolTip("Stop LAMMPS");
lammpsimage->setToolTip("Create snapshot image");
@ -1015,7 +1015,7 @@ void LammpsGui::do_run(bool use_buffer)
else
logwindow->setWindowTitle("LAMMPS-GUI - Output from running LAMMPS on file - " +
current_file);
logwindow->setWindowIcon(QIcon(":/lammps-icon-128x128.png"));
logwindow->setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
QFont text_font;
text_font.fromString(settings.value("textfont", text_font.toString()).toString());
logwindow->document()->setDefaultFont(text_font);
@ -1039,7 +1039,7 @@ void LammpsGui::do_run(bool use_buffer)
else
chartwindow->setWindowTitle("LAMMPS-GUI - Thermo charts from running LAMMPS on file - " +
current_file);
chartwindow->setWindowIcon(QIcon(":/lammps-icon-128x128.png"));
chartwindow->setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
chartwindow->setMinimumSize(400, 300);
shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_W), chartwindow);
QObject::connect(shortcut, &QShortcut::activated, chartwindow, &ChartWindow::close);
@ -1202,10 +1202,10 @@ void LammpsGui::about()
QMessageBox msg;
msg.setWindowTitle("About LAMMPS");
msg.setWindowIcon(QIcon(":/lammps-icon-128x128.png"));
msg.setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
msg.setText(version.c_str());
msg.setInformativeText(info.c_str());
msg.setIconPixmap(QPixmap(":/lammps-icon-128x128.png").scaled(64, 64));
msg.setIconPixmap(QPixmap(":/icons/lammps-icon-128x128.png").scaled(64, 64));
msg.setStandardButtons(QMessageBox::Close);
QFont font;
font.setPointSizeF(font.pointSizeF() * 0.75);
@ -1222,7 +1222,7 @@ void LammpsGui::help()
{
QMessageBox msg;
msg.setWindowTitle("LAMMPS-GUI Quick Help");
msg.setWindowIcon(QIcon(":/lammps-icon-128x128.png"));
msg.setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
msg.setText("<div>This is LAMMPS-GUI version " LAMMPS_GUI_VERSION "</div>");
msg.setInformativeText("<p>LAMMPS GUI is a graphical text editor that is linked to the LAMMPS "
"library and thus can run LAMMPS directly using the contents of the "
@ -1262,7 +1262,7 @@ void LammpsGui::help()
"accelerator packages and number of OpenMP threads. Due to its nature "
"as a graphical application, it is <b>not</b> possible to use the "
"LAMMPS GUI in parallel with MPI.</p>");
msg.setIconPixmap(QPixmap(":/lammps-icon-128x128.png").scaled(64, 64));
msg.setIconPixmap(QPixmap(":/icons/lammps-icon-128x128.png").scaled(64, 64));
msg.setStandardButtons(QMessageBox::Close);
msg.exec();
}

View File

@ -1,62 +1,62 @@
<!-- -*- xml -*- -->
<RCC>
<qresource prefix="/">
<file>lammps-icon-128x128.png</file>
<file>icons/lammps-icon-128x128.png</file>
<file>help_index.table</file>
<!-- This file is updated with: grep 'mycmd ==' ../../src/input.cpp | sed -e 's/^.*mycmd == "\(.*\)".*$/\1/' > lammps_internal_commands.txt -->
<file>lammps_internal_commands.txt</file>
<file>antialias.png</file>
<file>application-calc.png</file>
<file>application-exit.png</file>
<file>application-plot.png</file>
<file>axes-img.png</file>
<file>document-new.png</file>
<file>document-open-recent.png</file>
<file>document-open.png</file>
<file>document-revert.png</file>
<file>document-save-as.png</file>
<file>document-save.png</file>
<file>edit-copy.png</file>
<file>edit-cut.png</file>
<file>edit-delete.png</file>
<file>edit-paste.png</file>
<file>edit-redo.png</file>
<file>edit-undo.png</file>
<file>emblem-photos.png</file>
<file>expand-text.png</file>
<file>export-movie.png</file>
<file>format-indent-less-3.png</file>
<file>go-first.png</file>
<file>go-last.png</file>
<file>go-next-2.png</file>
<file>go-previous-2.png</file>
<file>gtk-go-down.png</file>
<file>gtk-go-up.png</file>
<file>gtk-zoom-fit.png</file>
<file>gtk-zoom-in.png</file>
<file>gtk-zoom-out.png</file>
<file>hd-img.png</file>
<file>help-about.png</file>
<file>help-browser.png</file>
<file>help-faq.png</file>
<file>image-x-generic.png</file>
<file>media-playback-start-2.png</file>
<file>media-playlist-repeat.png</file>
<file>object-rotate-left.png</file>
<file>object-rotate-right.png</file>
<file>ovito.png</file>
<file>preferences-desktop-font.png</file>
<file>preferences-desktop-personal.png</file>
<file>preferences-desktop.png</file>
<file>process-stop.png</file>
<file>run-file.png</file>
<file>system-box.png</file>
<file>system-help.png</file>
<file>system-run.png</file>
<file>utilities-terminal.png</file>
<file>vdw-style.png</file>
<file>vmd.png</file>
<file>window-close.png</file>
<file>x-office-drawing.png</file>
<file>icons/antialias.png</file>
<file>icons/application-calc.png</file>
<file>icons/application-exit.png</file>
<file>icons/application-plot.png</file>
<file>icons/axes-img.png</file>
<file>icons/document-new.png</file>
<file>icons/document-open-recent.png</file>
<file>icons/document-open.png</file>
<file>icons/document-revert.png</file>
<file>icons/document-save-as.png</file>
<file>icons/document-save.png</file>
<file>icons/edit-copy.png</file>
<file>icons/edit-cut.png</file>
<file>icons/edit-delete.png</file>
<file>icons/edit-paste.png</file>
<file>icons/edit-redo.png</file>
<file>icons/edit-undo.png</file>
<file>icons/emblem-photos.png</file>
<file>icons/expand-text.png</file>
<file>icons/export-movie.png</file>
<file>icons/format-indent-less-3.png</file>
<file>icons/go-first.png</file>
<file>icons/go-last.png</file>
<file>icons/go-next-2.png</file>
<file>icons/go-previous-2.png</file>
<file>icons/gtk-go-down.png</file>
<file>icons/gtk-go-up.png</file>
<file>icons/gtk-zoom-fit.png</file>
<file>icons/gtk-zoom-in.png</file>
<file>icons/gtk-zoom-out.png</file>
<file>icons/hd-img.png</file>
<file>icons/help-about.png</file>
<file>icons/help-browser.png</file>
<file>icons/help-faq.png</file>
<file>icons/image-x-generic.png</file>
<file>icons/media-playback-start-2.png</file>
<file>icons/media-playlist-repeat.png</file>
<file>icons/object-rotate-left.png</file>
<file>icons/object-rotate-right.png</file>
<file>icons/ovito.png</file>
<file>icons/preferences-desktop-font.png</file>
<file>icons/preferences-desktop-personal.png</file>
<file>icons/preferences-desktop.png</file>
<file>icons/process-stop.png</file>
<file>icons/run-file.png</file>
<file>icons/system-box.png</file>
<file>icons/system-help.png</file>
<file>icons/system-run.png</file>
<file>icons/utilities-terminal.png</file>
<file>icons/vdw-style.png</file>
<file>icons/vmd.png</file>
<file>icons/window-close.png</file>
<file>icons/x-office-drawing.png</file>
</qresource>
</RCC>

View File

@ -105,7 +105,7 @@
<widget class="QStatusBar" name="statusbar"/>
<action name="actionNew">
<property name="icon">
<iconset theme=":/document-new.png"/>
<iconset theme=":/icons/document-new.png"/>
</property>
<property name="text">
<string>&amp;New</string>
@ -116,7 +116,7 @@
</action>
<action name="actionOpen">
<property name="icon">
<iconset theme=":/document-open.png"/>
<iconset theme=":/icons/document-open.png"/>
</property>
<property name="text">
<string>&amp;Open</string>
@ -127,7 +127,7 @@
</action>
<action name="actionSave">
<property name="icon">
<iconset theme=":/document-save.png"/>
<iconset theme=":/icons/document-save.png"/>
</property>
<property name="text">
<string>&amp;Save</string>
@ -138,7 +138,7 @@
</action>
<action name="actionSave_As">
<property name="icon">
<iconset theme=":/document-save-as.png"/>
<iconset theme=":/icons/document-save-as.png"/>
</property>
<property name="text">
<string>Save &amp;As</string>
@ -149,7 +149,7 @@
</action>
<action name="actionQuit">
<property name="icon">
<iconset theme=":/application-exit.png"/>
<iconset theme=":/icons/application-exit.png"/>
</property>
<property name="text">
<string>&amp;Quit</string>
@ -160,7 +160,7 @@
</action>
<action name="actionCut">
<property name="icon">
<iconset theme=":/edit-cut.png"/>
<iconset theme=":/icons/edit-cut.png"/>
</property>
<property name="text">
<string>Cu&amp;t</string>
@ -171,7 +171,7 @@
</action>
<action name="actionCopy">
<property name="icon">
<iconset theme=":/edit-copy.png"/>
<iconset theme=":/icons/edit-copy.png"/>
</property>
<property name="text">
<string>&amp;Copy</string>
@ -182,7 +182,7 @@
</action>
<action name="actionPaste">
<property name="icon">
<iconset theme=":/edit-paste.png"/>
<iconset theme=":/icons/edit-paste.png"/>
</property>
<property name="text">
<string>&amp;Paste</string>
@ -193,7 +193,7 @@
</action>
<action name="actionUndo">
<property name="icon">
<iconset theme=":/edit-undo.png"/>
<iconset theme=":/icons/edit-undo.png"/>
</property>
<property name="text">
<string>&amp;Undo</string>
@ -204,7 +204,7 @@
</action>
<action name="actionRedo">
<property name="icon">
<iconset theme=":/edit-redo.png"/>
<iconset theme=":/icons/edit-redo.png"/>
</property>
<property name="text">
<string>&amp;Redo</string>
@ -215,7 +215,7 @@
</action>
<action name="actionRun_Buffer">
<property name="icon">
<iconset theme=":/system-run.png"/>
<iconset theme=":/icons/system-run.png"/>
</property>
<property name="text">
<string>&amp;Run LAMMPS from Editor Buffer</string>
@ -226,7 +226,7 @@
</action>
<action name="actionRun_File">
<property name="icon">
<iconset theme=":/run-file.png"/>
<iconset theme=":/icons/run-file.png"/>
</property>
<property name="text">
<string>&amp;Run LAMMPS from File</string>
@ -237,7 +237,7 @@
</action>
<action name="actionStop_LAMMPS">
<property name="icon">
<iconset theme=":/process-stop.png"/>
<iconset theme=":/icons/process-stop.png"/>
</property>
<property name="text">
<string>&amp;Stop LAMMPS</string>
@ -248,7 +248,7 @@
</action>
<action name="actionImage">
<property name="icon">
<iconset theme=":/emblem-photos.png"/>
<iconset theme=":/icons/emblem-photos.png"/>
</property>
<property name="text">
<string>Create &amp;Image</string>
@ -259,7 +259,7 @@
</action>
<action name="actionAbout_LAMMPS_GUI">
<property name="icon">
<iconset theme=":/help-about.png"/>
<iconset theme=":/icons/help-about.png"/>
</property>
<property name="text">
<string>&amp;About LAMMPS</string>
@ -270,7 +270,7 @@
</action>
<action name="action_Help">
<property name="icon">
<iconset theme=":/help-faq.png"/>
<iconset theme=":/icons/help-faq.png"/>
</property>
<property name="text">
<string>Quick &amp;Help</string>
@ -281,7 +281,7 @@
</action>
<action name="actionPreferences">
<property name="icon">
<iconset theme=":/preferences-desktop.png"/>
<iconset theme=":/icons/preferences-desktop.png"/>
</property>
<property name="text">
<string>Pre&amp;ferences...</string>
@ -292,7 +292,7 @@
</action>
<action name="actionLAMMPS_Manual">
<property name="icon">
<iconset theme=":/help-browser.png"/>
<iconset theme=":/icons/help-browser.png"/>
</property>
<property name="text">
<string>LAMMPS &amp;Manual</string>
@ -303,7 +303,7 @@
</action>
<action name="actionDefaults">
<property name="icon">
<iconset theme=":/document-revert.png"/>
<iconset theme=":/icons/document-revert.png"/>
</property>
<property name="text">
<string>Reset to &amp;Defaults</string>
@ -311,7 +311,7 @@
</action>
<action name="actionView_in_OVITO">
<property name="icon">
<iconset theme=":/ovito.png"/>
<iconset theme=":/icons/ovito.png"/>
</property>
<property name="text">
<string>View in &amp;OVITO</string>
@ -322,7 +322,7 @@
</action>
<action name="actionView_in_VMD">
<property name="icon">
<iconset theme=":/vmd.png"/>
<iconset theme=":/icons/vmd.png"/>
</property>
<property name="text">
<string>View in VM&amp;D</string>
@ -333,7 +333,7 @@
</action>
<action name="actionView_Log_Window">
<property name="icon">
<iconset theme=":/utilities-terminal.png"/>
<iconset theme=":/icons/utilities-terminal.png"/>
</property>
<property name="text">
<string>&amp;Log Window</string>
@ -344,7 +344,7 @@
</action>
<action name="actionView_Graph_Window">
<property name="icon">
<iconset theme=":/x-office-drawing.png"/>
<iconset theme=":/icons/x-office-drawing.png"/>
</property>
<property name="text">
<string>&amp;Chart Window</string>
@ -355,7 +355,7 @@
</action>
<action name="actionView_Slide_Show">
<property name="icon">
<iconset theme=":/image-x-generic.png"/>
<iconset theme=":/icons/image-x-generic.png"/>
</property>
<property name="text">
<string>&amp;Slide Show Window</string>
@ -366,7 +366,7 @@
</action>
<action name="action_1">
<property name="icon">
<iconset theme=":/document-open-recent.png"/>
<iconset theme=":/icons/document-open-recent.png"/>
</property>
<property name="text">
<string>&amp;1.</string>
@ -374,7 +374,7 @@
</action>
<action name="action_2">
<property name="icon">
<iconset theme=":/document-open-recent.png"/>
<iconset theme=":/icons/document-open-recent.png"/>
</property>
<property name="text">
<string>&amp;2.</string>
@ -382,7 +382,7 @@
</action>
<action name="action_3">
<property name="icon">
<iconset theme=":/document-open-recent.png"/>
<iconset theme=":/icons/document-open-recent.png"/>
</property>
<property name="text">
<string>&amp;3.</string>
@ -390,7 +390,7 @@
</action>
<action name="action_4">
<property name="icon">
<iconset theme=":/document-open-recent.png"/>
<iconset theme=":/icons/document-open-recent.png"/>
</property>
<property name="text">
<string>&amp;4.</string>
@ -398,7 +398,7 @@
</action>
<action name="action_5">
<property name="icon">
<iconset theme=":/document-open-recent.png"/>
<iconset theme=":/icons/document-open-recent.png"/>
</property>
<property name="text">
<string>&amp;5.</string>
@ -406,7 +406,7 @@
</action>
<action name="actionView_Image_Window">
<property name="icon">
<iconset theme=":/emblem-photos.png"/>
<iconset theme=":/icons/emblem-photos.png"/>
</property>
<property name="text">
<string>&amp;Image Window</string>
@ -417,7 +417,7 @@
</action>
<action name="actionSet_Variables">
<property name="icon">
<iconset theme=":/preferences-desktop-personal.png"/>
<iconset theme=":/icons/preferences-desktop-personal.png"/>
</property>
<property name="text">
<string>Set &amp;Variables...</string>
@ -428,7 +428,7 @@
</action>
<action name="actionView_Variable_Window">
<property name="icon">
<iconset theme=":/preferences-desktop-personal.png"/>
<iconset theme=":/icons/preferences-desktop-personal.png"/>
</property>
<property name="text">
<string>&amp;Variables Window</string>
@ -439,7 +439,7 @@
</action>
<action name="actionLAMMPS_GUI_Howto">
<property name="icon">
<iconset theme=":/system-help.png"/>
<iconset theme=":/icons/system-help.png"/>
</property>
<property name="text">
<string>LAMMPS GUI Howto</string>

View File

@ -73,7 +73,7 @@ Preferences::Preferences(LammpsWrapper *_lammps, QWidget *parent) :
layout->addWidget(tabWidget);
layout->addWidget(buttonBox);
setLayout(layout);
setWindowIcon(QIcon(":/lammps-icon-128x128.png"));
setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
setWindowTitle("LAMMPS-GUI - Preferences");
resize(600, 450);
}
@ -242,9 +242,9 @@ GeneralTab::GeneralTab(QSettings *_settings, LammpsWrapper *_lammps, QWidget *pa
auto *fontlayout = new QHBoxLayout;
auto *getallfont =
new QPushButton(QIcon(":/preferences-desktop-font.png"), "Select Default Font...");
new QPushButton(QIcon(":/icons/preferences-desktop-font.png"), "Select Default Font...");
auto *gettextfont =
new QPushButton(QIcon(":/preferences-desktop-font.png"), "Select Text Font...");
new QPushButton(QIcon(":/icons/preferences-desktop-font.png"), "Select Text Font...");
fontlayout->addWidget(getallfont);
fontlayout->addWidget(gettextfont);
connect(getallfont, &QPushButton::released, this, &GeneralTab::newallfont);

View File

@ -32,7 +32,7 @@ SetVariables::SetVariables(QList<QPair<QString, QString>> &_vars, QWidget *paren
auto *row = new QHBoxLayout;
auto *name = new QLineEdit(v.first);
auto *val = new QLineEdit(v.second);
auto *del = new QPushButton(QIcon(":/edit-delete.png"), "");
auto *del = new QPushButton(QIcon(":/icons/edit-delete.png"), "");
name->setObjectName("varname");
val->setObjectName("varval");
del->setObjectName(QString::number(i));
@ -55,7 +55,7 @@ SetVariables::SetVariables(QList<QPair<QString, QString>> &_vars, QWidget *paren
layout->addWidget(buttonBox);
setLayout(layout);
setWindowIcon(QIcon(":/lammps-icon-128x128.png"));
setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
setWindowTitle("LAMMPS-GUI - Set Variables");
resize(300, 200);
}
@ -81,7 +81,7 @@ void SetVariables::add_row()
auto *row = new QHBoxLayout;
auto *name = new QLineEdit(QString());
auto *val = new QLineEdit(QString());
auto *del = new QPushButton(QIcon(":/edit-delete.png"), "");
auto *del = new QPushButton(QIcon(":/icons/edit-delete.png"), "");
name->setObjectName("varname");
val->setObjectName("varval");
del->setObjectName(QString::number(nrows - 2));

View File

@ -64,33 +64,33 @@ SlideShow::SlideShow(const QString &fileName, QWidget *parent) :
auto *dummy = new QPushButton(QIcon(), "");
dummy->hide();
auto *tomovie = new QPushButton(QIcon(":/export-movie.png"), "");
auto *tomovie = new QPushButton(QIcon(":/icons/export-movie.png"), "");
tomovie->setToolTip("Export to movie file");
tomovie->setEnabled(has_exe("ffmpeg"));
auto *gofirst = new QPushButton(QIcon(":/go-first.png"), "");
auto *gofirst = new QPushButton(QIcon(":/icons/go-first.png"), "");
gofirst->setToolTip("Go to first Image");
auto *goprev = new QPushButton(QIcon(":/go-previous-2.png"), "");
auto *goprev = new QPushButton(QIcon(":/icons/go-previous-2.png"), "");
goprev->setToolTip("Go to previous Image");
auto *goplay = new QPushButton(QIcon(":/media-playback-start-2.png"), "");
auto *goplay = new QPushButton(QIcon(":/icons/media-playback-start-2.png"), "");
goplay->setToolTip("Play animation");
goplay->setCheckable(true);
goplay->setChecked(playtimer);
goplay->setObjectName("play");
auto *gonext = new QPushButton(QIcon(":/go-next-2.png"), "");
auto *gonext = new QPushButton(QIcon(":/icons/go-next-2.png"), "");
gonext->setToolTip("Go to next Image");
auto *golast = new QPushButton(QIcon(":/go-last.png"), "");
auto *golast = new QPushButton(QIcon(":/icons/go-last.png"), "");
golast->setToolTip("Go to last Image");
auto *goloop = new QPushButton(QIcon(":/media-playlist-repeat.png"), "");
auto *goloop = new QPushButton(QIcon(":/icons/media-playlist-repeat.png"), "");
goloop->setToolTip("Loop animation");
goloop->setCheckable(true);
goloop->setChecked(do_loop);
auto *zoomin = new QPushButton(QIcon(":/gtk-zoom-in.png"), "");
auto *zoomin = new QPushButton(QIcon(":/icons/gtk-zoom-in.png"), "");
zoomin->setToolTip("Zoom in by 10 percent");
auto *zoomout = new QPushButton(QIcon(":/gtk-zoom-out.png"), "");
auto *zoomout = new QPushButton(QIcon(":/icons/gtk-zoom-out.png"), "");
zoomout->setToolTip("Zoom out by 10 percent");
auto *normal = new QPushButton(QIcon(":/gtk-zoom-fit.png"), "");
auto *normal = new QPushButton(QIcon(":/icons/gtk-zoom-fit.png"), "");
normal->setToolTip("Reset zoom to normal");
connect(tomovie, &QPushButton::released, this, &SlideShow::movie);
@ -127,7 +127,7 @@ SlideShow::SlideShow(const QString &fileName, QWidget *parent) :
botLayout->setStretch(0, 3);
mainLayout->addLayout(botLayout);
setWindowIcon(QIcon(":/lammps-icon-128x128.png"));
setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
setWindowTitle(QString("LAMMPS-GUI - Slide Show: ") + QFileInfo(fileName).fileName());
imagefiles.clear();