Песочница: различия между версиями

Материал из Кафедра ИУ5 МГТУ им. Н.Э.Баумана, студенческое сообщество
Перейти к навигации Перейти к поиску
мНет описания правки
Строка 24: Строка 24:


     MainWindow w;
     MainWindow w;
     w.setWindowTitle(QString::fromUtf8("FireFile - передача файлов"));
     w.setWindowTitle(QString::fromUtf8("Суперское мегоприложение"));
     w.show();
     w.show();


Строка 37: Строка 37:
== Сноски ==
== Сноски ==


По данным науки, Солнце большое<ref>Иванов И. И. Солнце. — М.: Наука. — 2005. — С. 23.</ref>.
According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>


А вот Луна — не такая большая<ref>Сидоров В. В. Размер Луны. // Наука и жизнь. — 1973. — № 5.</ref>.
The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref>
 
Такие дела<ref>Вот</ref>


== Примечания ==
== Примечания ==

Версия от 17:10, 20 сентября 2012

Тут можно готовить куличики и строить замки.

Формулы

<math>\int\limits_a^x f\left(\frac{\alpha}{2}\,\right)\,dx</math>

<math>x^2-y=z</math>

<math>e=mc^2</math>

<math>72\cdot\sigma^2-23=\beta_3\cdot\frac{2+2\cdot2}{f^2-g^3}</math>

Подсветка кода

#include <QtGui/QApplication>
#include <QTextCodec>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));

    MainWindow w;
    w.setWindowTitle(QString::fromUtf8("Суперское мегоприложение"));
    w.show();

    return a.exec();
}

SVG

Сноски

According to scientists, the Sun is pretty big.[1]

The Moon, however, is not so big.[2]

Примечания

  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  2. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.

Всякие эксперименты