mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
Logo, some search and replace fixes & branding
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@168 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
0703a7df2e
commit
3ffbcb4c0d
@ -45,8 +45,8 @@ namespace Constants {
|
|||||||
"." STRINGIFY(GCS_VERSION_RELEASE)
|
"." STRINGIFY(GCS_VERSION_RELEASE)
|
||||||
|
|
||||||
const char * const GCS_VERSION_LONG = GCS_VERSION;
|
const char * const GCS_VERSION_LONG = GCS_VERSION;
|
||||||
const char * const GCS_AUTHOR = "Nokia Corporation";
|
const char * const GCS_AUTHOR = "OpenPilot Project";
|
||||||
const char * const GCS_YEAR = "2009";
|
const char * const GCS_YEAR = "2010";
|
||||||
|
|
||||||
#ifdef GCS_REVISION
|
#ifdef GCS_REVISION
|
||||||
const char * const GCS_REVISION_STR = STRINGIFY(GCS_REVISION);
|
const char * const GCS_REVISION_STR = STRINGIFY(GCS_REVISION);
|
||||||
|
@ -338,7 +338,7 @@ EditorManager::EditorManager(ICore *core, QWidget *parent) :
|
|||||||
connect(m_d->m_splitAction, SIGNAL(triggered()), this, SLOT(split()));
|
connect(m_d->m_splitAction, SIGNAL(triggered()), this, SLOT(split()));
|
||||||
|
|
||||||
m_d->m_splitSideBySideAction = new QAction(tr("Split Side by Side"), this);
|
m_d->m_splitSideBySideAction = new QAction(tr("Split Side by Side"), this);
|
||||||
cmd = am->registerAction(m_d->m_splitSideBySideAction, Constants::SPLIT_SGCS_BY_SIDE, editManagerContext);
|
cmd = am->registerAction(m_d->m_splitSideBySideAction, Constants::SPLIT_SIDE_BY_SIDE, editManagerContext);
|
||||||
cmd->setDefaultKeySequence(QKeySequence(tr("%1,3").arg(prefix)));
|
cmd->setDefaultKeySequence(QKeySequence(tr("%1,3").arg(prefix)));
|
||||||
mwindow->addAction(cmd, Constants::G_WINDOW_SPLIT);
|
mwindow->addAction(cmd, Constants::G_WINDOW_SPLIT);
|
||||||
connect(m_d->m_splitSideBySideAction, SIGNAL(triggered()), this, SLOT(splitSideBySide()));
|
connect(m_d->m_splitSideBySideAction, SIGNAL(triggered()), this, SLOT(splitSideBySide()));
|
||||||
|
@ -679,7 +679,7 @@ void SplitterOrView::paintEvent(QPaintEvent *)
|
|||||||
if (hasFocus()) {
|
if (hasFocus()) {
|
||||||
#ifdef Q_WS_MAC
|
#ifdef Q_WS_MAC
|
||||||
// With QMacStyle, we have to draw our own focus rect, since I didn't find
|
// With QMacStyle, we have to draw our own focus rect, since I didn't find
|
||||||
// a way to draw the nice mac focus rect _insGCS_ this widget
|
// a way to draw the nice mac focus rect _inside_ this widget
|
||||||
if (qobject_cast<QMacStyle *>(style())) {
|
if (qobject_cast<QMacStyle *>(style())) {
|
||||||
painter.setPen(Qt::DotLine);
|
painter.setPen(Qt::DotLine);
|
||||||
painter.setBrush(Qt::NoBrush);
|
painter.setBrush(Qt::NoBrush);
|
||||||
|
BIN
ground/src/plugins/coreplugin/images/openpilot_logo_128.png
Normal file
BIN
ground/src/plugins/coreplugin/images/openpilot_logo_128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
@ -53,9 +53,9 @@ VersionDialog::VersionDialog(QWidget *parent)
|
|||||||
{
|
{
|
||||||
// We need to set the window icon explicitly here since for some reason the
|
// We need to set the window icon explicitly here since for some reason the
|
||||||
// application icon isn't used when the size of the dialog is fixed (at least not on X11/GNOME)
|
// application icon isn't used when the size of the dialog is fixed (at least not on X11/GNOME)
|
||||||
setWindowIcon(QIcon(":/core/images/qtcreator_logo_128.png"));
|
setWindowIcon(QIcon(":/core/images/openpilot_logo_128.png"));
|
||||||
|
|
||||||
setWindowTitle(tr("About Qt Creator"));
|
setWindowTitle(tr("About OpenPilot GCS"));
|
||||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
QGridLayout *layout = new QGridLayout(this);
|
QGridLayout *layout = new QGridLayout(this);
|
||||||
layout->setSizeConstraint(QLayout::SetFixedSize);
|
layout->setSizeConstraint(QLayout::SetFixedSize);
|
||||||
@ -70,7 +70,7 @@ VersionDialog::VersionDialog(QWidget *parent)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
const QString description = tr(
|
const QString description = tr(
|
||||||
"<h3>Qt Creator %1</h3>"
|
"<h3>OpenPilot GCS %1</h3>"
|
||||||
"Based on Qt %2 (%3 bit)<br/>"
|
"Based on Qt %2 (%3 bit)<br/>"
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"Built on %4 at %5<br />"
|
"Built on %4 at %5<br />"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user