mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
Rename ReclassX to Reclass in window titles and About dialog
This commit is contained in:
10
src/main.cpp
10
src/main.cpp
@@ -222,7 +222,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent) {
|
MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent) {
|
||||||
setWindowTitle("ReclassX");
|
setWindowTitle("Reclass");
|
||||||
resize(1200, 800);
|
resize(1200, 800);
|
||||||
|
|
||||||
m_mdiArea = new QMdiArea(this);
|
m_mdiArea = new QMdiArea(this);
|
||||||
@@ -344,7 +344,7 @@ void MainWindow::createMenus() {
|
|||||||
|
|
||||||
// Help
|
// Help
|
||||||
auto* help = menuBar()->addMenu("&Help");
|
auto* help = menuBar()->addMenu("&Help");
|
||||||
help->addAction(makeIcon(":/vsicons/question.svg"), "&About ReclassX", this, &MainWindow::about);
|
help->addAction(makeIcon(":/vsicons/question.svg"), "&About Reclass", this, &MainWindow::about);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::createStatusBar() {
|
void MainWindow::createStatusBar() {
|
||||||
@@ -747,7 +747,7 @@ void MainWindow::redo() {
|
|||||||
|
|
||||||
void MainWindow::about() {
|
void MainWindow::about() {
|
||||||
QDialog dlg(this);
|
QDialog dlg(this);
|
||||||
dlg.setWindowTitle("About ReclassX");
|
dlg.setWindowTitle("About Reclass");
|
||||||
dlg.setFixedSize(260, 120);
|
dlg.setFixedSize(260, 120);
|
||||||
auto* lay = new QVBoxLayout(&dlg);
|
auto* lay = new QVBoxLayout(&dlg);
|
||||||
lay->setContentsMargins(20, 16, 20, 16);
|
lay->setContentsMargins(20, 16, 20, 16);
|
||||||
@@ -827,9 +827,9 @@ void MainWindow::updateWindowTitle() {
|
|||||||
QString name = tab.doc->filePath.isEmpty() ? "Untitled"
|
QString name = tab.doc->filePath.isEmpty() ? "Untitled"
|
||||||
: QFileInfo(tab.doc->filePath).fileName();
|
: QFileInfo(tab.doc->filePath).fileName();
|
||||||
if (tab.doc->modified) name += " *";
|
if (tab.doc->modified) name += " *";
|
||||||
setWindowTitle(name + " - ReclassX");
|
setWindowTitle(name + " - Reclass");
|
||||||
} else {
|
} else {
|
||||||
setWindowTitle("ReclassX");
|
setWindowTitle("Reclass");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user