00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_PERFORMANCECONFIGPAGE_H
00011 #define UI_PERFORMANCECONFIGPAGE_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QCheckBox>
00018 #include <QtGui/QDoubleSpinBox>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QSpacerItem>
00024 #include <QtGui/QSpinBox>
00025 #include <QtGui/QVBoxLayout>
00026 #include <QtGui/QWidget>
00027
00028 QT_BEGIN_NAMESPACE
00029
00030 class Ui_PerformanceConfigPage
00031 {
00032 public:
00033 QVBoxLayout *vboxLayout;
00034 QGroupBox *groupBox_2;
00035 QVBoxLayout *vboxLayout1;
00036 QHBoxLayout *hboxLayout;
00037 QLabel *label;
00038 QDoubleSpinBox *bufferTimeSpinBox;
00039 QHBoxLayout *hboxLayout1;
00040 QLabel *reloadWarningLabel;
00041 QLabel *label_2;
00042 QGroupBox *groupBox;
00043 QVBoxLayout *vboxLayout2;
00044 QHBoxLayout *hboxLayout2;
00045 QLabel *label_4;
00046 QSpinBox *jogUpdateIntervalSpinBox;
00047 QCheckBox *useOpenGLCheckBox;
00048 QSpacerItem *spacerItem;
00049
00050 void setupUi(QWidget *PerformanceConfigPage)
00051 {
00052 if (PerformanceConfigPage->objectName().isEmpty())
00053 PerformanceConfigPage->setObjectName(QString::fromUtf8("PerformanceConfigPage"));
00054 PerformanceConfigPage->resize(343, 234);
00055 vboxLayout = new QVBoxLayout(PerformanceConfigPage);
00056 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00057 groupBox_2 = new QGroupBox(PerformanceConfigPage);
00058 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00059 vboxLayout1 = new QVBoxLayout(groupBox_2);
00060 vboxLayout1->setSpacing(12);
00061 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00062 vboxLayout1->setContentsMargins(9, 9, 9, 9);
00063 hboxLayout = new QHBoxLayout();
00064 hboxLayout->setSpacing(6);
00065 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00066 hboxLayout->setContentsMargins(0, 0, 0, 0);
00067 label = new QLabel(groupBox_2);
00068 label->setObjectName(QString::fromUtf8("label"));
00069
00070 hboxLayout->addWidget(label);
00071
00072 bufferTimeSpinBox = new QDoubleSpinBox(groupBox_2);
00073 bufferTimeSpinBox->setObjectName(QString::fromUtf8("bufferTimeSpinBox"));
00074 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
00075 sizePolicy.setHorizontalStretch(0);
00076 sizePolicy.setVerticalStretch(1);
00077 sizePolicy.setHeightForWidth(bufferTimeSpinBox->sizePolicy().hasHeightForWidth());
00078 bufferTimeSpinBox->setSizePolicy(sizePolicy);
00079 bufferTimeSpinBox->setDecimals(1);
00080 bufferTimeSpinBox->setMinimum(0.4);
00081 bufferTimeSpinBox->setMaximum(3);
00082 bufferTimeSpinBox->setSingleStep(0.1);
00083 bufferTimeSpinBox->setValue(1);
00084
00085 hboxLayout->addWidget(bufferTimeSpinBox);
00086
00087
00088 vboxLayout1->addLayout(hboxLayout);
00089
00090 hboxLayout1 = new QHBoxLayout();
00091 hboxLayout1->setSpacing(6);
00092 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00093 hboxLayout1->setContentsMargins(0, 0, 0, 0);
00094 reloadWarningLabel = new QLabel(groupBox_2);
00095 reloadWarningLabel->setObjectName(QString::fromUtf8("reloadWarningLabel"));
00096 reloadWarningLabel->setMinimumSize(QSize(40, 0));
00097
00098 hboxLayout1->addWidget(reloadWarningLabel);
00099
00100 label_2 = new QLabel(groupBox_2);
00101 label_2->setObjectName(QString::fromUtf8("label_2"));
00102 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
00103 sizePolicy1.setHorizontalStretch(1);
00104 sizePolicy1.setVerticalStretch(0);
00105 sizePolicy1.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
00106 label_2->setSizePolicy(sizePolicy1);
00107
00108 hboxLayout1->addWidget(label_2);
00109
00110
00111 vboxLayout1->addLayout(hboxLayout1);
00112
00113
00114 vboxLayout->addWidget(groupBox_2);
00115
00116 groupBox = new QGroupBox(PerformanceConfigPage);
00117 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00118 vboxLayout2 = new QVBoxLayout(groupBox);
00119 vboxLayout2->setSpacing(6);
00120 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00121 vboxLayout2->setContentsMargins(9, 9, 9, 9);
00122 hboxLayout2 = new QHBoxLayout();
00123 hboxLayout2->setSpacing(6);
00124 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00125 hboxLayout2->setContentsMargins(0, 0, 0, 0);
00126 label_4 = new QLabel(groupBox);
00127 label_4->setObjectName(QString::fromUtf8("label_4"));
00128
00129 hboxLayout2->addWidget(label_4);
00130
00131 jogUpdateIntervalSpinBox = new QSpinBox(groupBox);
00132 jogUpdateIntervalSpinBox->setObjectName(QString::fromUtf8("jogUpdateIntervalSpinBox"));
00133 jogUpdateIntervalSpinBox->setMaximumSize(QSize(100, 16777215));
00134 jogUpdateIntervalSpinBox->setMinimum(10);
00135 jogUpdateIntervalSpinBox->setMaximum(50);
00136 jogUpdateIntervalSpinBox->setValue(25);
00137
00138 hboxLayout2->addWidget(jogUpdateIntervalSpinBox);
00139
00140
00141 vboxLayout2->addLayout(hboxLayout2);
00142
00143 useOpenGLCheckBox = new QCheckBox(groupBox);
00144 useOpenGLCheckBox->setObjectName(QString::fromUtf8("useOpenGLCheckBox"));
00145
00146 vboxLayout2->addWidget(useOpenGLCheckBox);
00147
00148
00149 vboxLayout->addWidget(groupBox);
00150
00151 spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00152
00153 vboxLayout->addItem(spacerItem);
00154
00155
00156 retranslateUi(PerformanceConfigPage);
00157
00158 QMetaObject::connectSlotsByName(PerformanceConfigPage);
00159 }
00160
00161 void retranslateUi(QWidget *PerformanceConfigPage)
00162 {
00163 PerformanceConfigPage->setWindowTitle(QApplication::translate("PerformanceConfigPage", "Form", 0, QApplication::UnicodeUTF8));
00164 groupBox_2->setTitle(QApplication::translate("PerformanceConfigPage", "Audio file buffering", 0, QApplication::UnicodeUTF8));
00165 #ifndef QT_NO_TOOLTIP
00166 label->setToolTip(QApplication::translate("PerformanceConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00167 "p, li { white-space: pre-wrap; }\n"
00168 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00169 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Read buffer size:</span></p>\n"
00170 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">The amount of audio data that can be stored in the </p>\n"
00171 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">read buffers in seconds.</p>\n"
00172 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00173 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block"
00174 "-indent:0; text-indent:0px;\">The default value of 1 second should do just fine.</p>\n"
00175 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">However, if you're tight on memory, you can make this value lower.</p>\n"
00176 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">If you experience buffer underruns when the hard disk bandwidth is </p>\n"
00177 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">(almost) saturated, or when buffer underruns happen regularly due </p>\n"
00178 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">the hard disk can't keep up for some reason, you can try a larger </p>\n"
00179 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">value, like 1.5 or 2.0 seconds"
00180 ".</p>\n"
00181 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00182 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Keep in mind that when using a larger buffer, </p>\n"
00183 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">it will take considerably more time to move (i.e. seeking) </p>\n"
00184 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">the playhead to another positions, since all the buffers </p>\n"
00185 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">(one for each audioclip * channel count) need to be refilled!</p></body></html>", 0, QApplication::UnicodeUTF8));
00186 #endif // QT_NO_TOOLTIP
00187 label->setText(QApplication::translate("PerformanceConfigPage", "Read buffer size (seconds)", 0, QApplication::UnicodeUTF8));
00188 reloadWarningLabel->setText(QApplication::translate("PerformanceConfigPage", "info icon", 0, QApplication::UnicodeUTF8));
00189 label_2->setText(QApplication::translate("PerformanceConfigPage", "Changing the buffer size only will take \n"
00190 "into effect after (re)loading a project.", 0, QApplication::UnicodeUTF8));
00191 groupBox->setTitle(QApplication::translate("PerformanceConfigPage", "Painting", 0, QApplication::UnicodeUTF8));
00192 #ifndef QT_NO_TOOLTIP
00193 label_4->setToolTip(QApplication::translate("PerformanceConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00194 "p, li { white-space: pre-wrap; }\n"
00195 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00196 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">The number of times per second at which the Graphical</p>\n"
00197 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Items are repainted during a jog action, like moving an</p>\n"
00198 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">AudioClip, or changing the Gain.</p>\n"
00199 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00200 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -q"
00201 "t-block-indent:0; text-indent:0px;\">The default frames per second of 35 is a perfect compromise </p>\n"
00202 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">between smooth painting, and low cpu usage.</p>\n"
00203 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00204 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">However, if you find the painting to be not smooth enough,</p>\n"
00205 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">change this value to a higher one, but keep in mind that it</p>\n"
00206 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">will consume considerably more cpu!</p>\n"
00207 "<p style=\"-qt-paragraph-type:empty; margin-top:0"
00208 "px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00209 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">If for example moving an AudioClip still takes to much cpu,</p>\n"
00210 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">you should consider to lower this value.</p></body></html>", 0, QApplication::UnicodeUTF8));
00211 #endif // QT_NO_TOOLTIP
00212 label_4->setText(QApplication::translate("PerformanceConfigPage", "Jog repaint speed (fps)", 0, QApplication::UnicodeUTF8));
00213 #ifndef QT_NO_TOOLTIP
00214 useOpenGLCheckBox->setToolTip(QApplication::translate("PerformanceConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00215 "p, li { white-space: pre-wrap; }\n"
00216 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00217 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Accelerates the painting of AudioClips and Tracks by using</p>\n"
00218 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">the 3D engine of your graphics card.</p>\n"
00219 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00220 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Depending on your graphics card and driver support, this </p>\n"
00221 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-ri"
00222 "ght:0px; -qt-block-indent:0; text-indent:0px;\">can speed up painting considerably!</p></body></html>", 0, QApplication::UnicodeUTF8));
00223 #endif // QT_NO_TOOLTIP
00224 useOpenGLCheckBox->setText(QApplication::translate("PerformanceConfigPage", "Use hardware acceleration", 0, QApplication::UnicodeUTF8));
00225 Q_UNUSED(PerformanceConfigPage);
00226 }
00227
00228 };
00229
00230 namespace Ui {
00231 class PerformanceConfigPage: public Ui_PerformanceConfigPage {};
00232 }
00233
00234 QT_END_NAMESPACE
00235
00236 #endif // UI_PERFORMANCECONFIGPAGE_H