ui: Fixes for release

* Removed pointless overview bundles
* Updated EULA version
* renamed 'Find in View' to 'Find On-Screen'
This commit is contained in:
Eberhard Graether
2017-10-18 16:46:06 +02:00
parent bc8df375f0
commit c3a5405cc4
5 changed files with 11 additions and 11 deletions
@@ -1185,12 +1185,12 @@ void GraphController::bundleNodesByType()
// // should never be visible
bundleByType(nodes, Node::NODE_METHOD, "Methods");
bundleByType(nodes, Node::NODE_FIELD, "Fields");
bundleByType(nodes, Node::NODE_ENUM_CONSTANT, "Enum Constants");
bundleByType(nodes, Node::NODE_TEMPLATE_PARAMETER_TYPE, "Template Parameter Types");
bundleByType(nodes, Node::NODE_TYPE_PARAMETER, "Type Parameters");
bundleByType(nodes, Node::NODE_NON_INDEXED, "Non-indexed Symbols");
// bundleByType(nodes, Node::NODE_METHOD, "Methods");
// bundleByType(nodes, Node::NODE_FIELD, "Fields");
// bundleByType(nodes, Node::NODE_ENUM_CONSTANT, "Enum Constants");
// bundleByType(nodes, Node::NODE_TEMPLATE_PARAMETER_TYPE, "Template Parameter Types");
// bundleByType(nodes, Node::NODE_TYPE_PARAMETER, "Type Parameters");
// bundleByType(nodes, Node::NODE_NON_INDEXED, "Non-indexed Symbols");
if (nodes.size())
{
+1 -1
View File
@@ -8,7 +8,7 @@ class QtEulaWindow
{
Q_OBJECT
public:
static const int EULA_VERSION = 2;
static const int EULA_VERSION = 3;
QtEulaWindow(QWidget* parent, bool forceAccept);
QSize sizeHint() const override;
@@ -123,7 +123,7 @@ QTableWidget* QtKeyboardShortcuts::createGenerelShortcutsTable()
table->setItem(6, 0, new QTableWidgetItem("Force Refresh"));
table->setItem(7, 0, new QTableWidgetItem("Find Symbol"));
table->setItem(8, 0, new QTableWidgetItem("Find Text"));
table->setItem(9, 0, new QTableWidgetItem("Find in View"));
table->setItem(9, 0, new QTableWidgetItem("Find On-Screen"));
table->setItem(10, 0, new QTableWidgetItem("New Project"));
table->setItem(11, 0, new QTableWidgetItem("Open Project"));
table->setItem(12, 0, new QTableWidgetItem("Close Window"));
+2 -2
View File
@@ -572,7 +572,7 @@ void QtMainWindow::findFulltext()
MessageFind(true).dispatch();
}
void QtMainWindow::findInView()
void QtMainWindow::findOnScreen()
{
emit showScreenSearch();
}
@@ -785,7 +785,7 @@ void QtMainWindow::setupEditMenu()
menu->addAction(tr("&Find Symbol"), this, &QtMainWindow::find, QKeySequence::Find);
menu->addAction(tr("&Find Text"), this, &QtMainWindow::findFulltext, QKeySequence(Qt::SHIFT + Qt::CTRL + Qt::Key_F));
menu->addAction(tr("&Find in View"), this, &QtMainWindow::findInView, QKeySequence(Qt::CTRL + Qt::Key_D));
menu->addAction(tr("&Find On-Screen"), this, &QtMainWindow::findOnScreen, QKeySequence(Qt::CTRL + Qt::Key_D));
menu->addSeparator();
+1 -1
View File
@@ -113,7 +113,7 @@ public slots:
void find();
void findFulltext();
void findInView();
void findOnScreen();
void codeReferencePrevious();
void codeReferenceNext();
void overview();