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

Реализовать отображение количества мин вокруг #14

Closed
Kaffeine opened this issue Mar 10, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@Kaffeine
Copy link
Member

No description provided.

@Kaffeine Kaffeine added the UI label Mar 10, 2016
@Kaffeine Kaffeine added this to the 0.1 milestone Mar 10, 2016
@Kaffeine Kaffeine self-assigned this Mar 10, 2016
@Kaffeine
Copy link
Member Author

QGraphicsSimpleTextItem::setText() принимает QString. Для того, чтобы получить строку с целым числом, можно воспользоваться статическим методом QString::number().
Что-то вроде m_text->setText(QString::number(99)); :)

@Kaffeine
Copy link
Member Author

Ожидаемая статистика:
CellItem.cpp | 2 ++

// Означает, что нужно добавить всего две строчки в CellItem.cpp.

Kaffeine added a commit that referenced this issue Jan 28, 2020
Kaffeine added a commit that referenced this issue Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant