Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link to Github Project #3

Closed
julian-poidevin opened this issue Mar 8, 2017 · 2 comments
Closed

Add link to Github Project #3

julian-poidevin opened this issue Mar 8, 2017 · 2 comments
Assignees
Milestone

Comments

@julian-poidevin
Copy link
Owner

Maybe in an About menu.

@julian-poidevin julian-poidevin self-assigned this Mar 8, 2017
@julian-poidevin julian-poidevin added this to the v0.1.0 milestone Mar 8, 2017
@julian-poidevin julian-poidevin modified the milestones: v0.2.0, v0.1.0 May 1, 2017
julian-poidevin added a commit that referenced this issue May 2, 2017
@julian-poidevin
Copy link
Owner Author

See example below :

void PulsepickerWindow::showEvent(QShowEvent *event)
{
    QSettings settings(QApplication::applicationDirPath() + globalSettingsName, QSettings::IniFormat);
    settings.beginGroup("Stylesheet");
    QString logoPath = settings.value("Logo", "").toString();
    settings.endGroup();

    if(logoPath.isEmpty())
    {
        logoPath = ":/Elements/Logo_alphanov.png";
    }

    QPixmap pix = QPixmap (logoPath);
    int width = this->ui->labelLogo->width();
    int height = this->ui->labelLogo->height();

    pix = pix.scaled(width, height,Qt::KeepAspectRatio, Qt::SmoothTransformation);
    this->ui->labelLogo->setPixmap(pix);

    event->accept();
}

@julian-poidevin
Copy link
Owner Author

Fixed with release v0.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant