• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

百人一首かるた自動読み上げソフト


Commit MetaInfo

Revisão60d40a1b34c33a301e0eab4d57be3f02fa764d65 (tree)
Hora2012-01-10 22:28:54
Autorarakaki <alucky4416@user...>
Commiterarakaki

Mensagem de Log

CHG: Release v1.0. Commentout qDebug Message, and optiondialog decoration

Mudança Sumário

Diff

--- a/PlayMusicThread.cpp
+++ b/PlayMusicThread.cpp
@@ -13,7 +13,7 @@ PlayMusicThread::PlayMusicThread(WId winId)
1313 if (!BASS_Init(-1, 44100, 0, (void*)winId, NULL)) {
1414 #endif
1515 // QMessageBox::warning(this, "Error", "BASS_Init, Fail");
16- qDebug() << "BASS_Init Error";
16+ // qDebug() << "BASS_Init Error";
1717 }
1818
1919 FilePath = "";
@@ -86,11 +86,11 @@ void PlayMusicThread::run()
8686
8787 int PlayMusicThread::MusicStart(const QString &musicfilepath)
8888 {
89- qDebug() << "Play Music : " << musicfilepath;
89+ // qDebug() << "Play Music : " << musicfilepath;
9090 if (hStrm = BASS_StreamCreateFile(FALSE, musicfilepath.toLocal8Bit(), 0, 0, 0)) {
9191 ;
9292 } else {
93- qDebug() << "BASS_StreamCreateFile Error";
93+ // qDebug() << "BASS_StreamCreateFile Error";
9494 // QMessageBox::warning(this, "Error", "BASS_StreamCreateFile, Fail");;
9595 return 1;
9696 }
@@ -108,7 +108,7 @@ int PlayMusicThread::MusicStart(const QString &musicfilepath)
108108
109109 void PlayMusicThread::MusicStop()
110110 {
111- qDebug() << "Stop Music";
111+ // qDebug() << "Stop Music";
112112 if (hStrm) {
113113 BASS_ChannelStop(hStrm);
114114 BASS_StreamFree(hStrm);
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -41,7 +41,7 @@ MainWindow::MainWindow(QWidget *parent) :
4141 QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8")); // source codec is UTF-8
4242
4343 QCoreApplication::setApplicationName("QtKarutaEishow");
44- QCoreApplication::setApplicationVersion("1.0 RC1");
44+ QCoreApplication::setApplicationVersion("1.0");
4545 this->setWindowTitle(QCoreApplication::applicationName());
4646 IniFilePath = QCoreApplication::applicationDirPath() + QDir::separator() + QCoreApplication::applicationName() + ".ini";
4747
--- a/optiondialog.ui
+++ b/optiondialog.ui
@@ -44,67 +44,69 @@
4444 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
4545 </property>
4646 </widget>
47- <widget class="QRadioButton" name="radioButton_1">
47+ <widget class="QGroupBox" name="groupBox">
4848 <property name="geometry">
4949 <rect>
50- <x>60</x>
51- <y>60</y>
52- <width>111</width>
53- <height>20</height>
50+ <x>40</x>
51+ <y>20</y>
52+ <width>281</width>
53+ <height>101</height>
5454 </rect>
5555 </property>
56- <property name="text">
57- <string>音声1 (女性)</string>
58- </property>
59- <attribute name="buttonGroup">
60- <string>buttonGroup_voice</string>
61- </attribute>
62- </widget>
63- <widget class="QRadioButton" name="radioButton_2">
64- <property name="geometry">
65- <rect>
66- <x>60</x>
67- <y>90</y>
68- <width>111</width>
69- <height>16</height>
70- </rect>
71- </property>
72- <property name="text">
73- <string>音声2 (男性)</string>
74- </property>
75- <attribute name="buttonGroup">
76- <string>buttonGroup_voice</string>
77- </attribute>
78- </widget>
79- <widget class="QLabel" name="label">
80- <property name="geometry">
81- <rect>
82- <x>50</x>
83- <y>30</y>
84- <width>61</width>
85- <height>16</height>
86- </rect>
87- </property>
88- <property name="text">
56+ <property name="title">
8957 <string>音声の選択</string>
9058 </property>
59+ <widget class="QPushButton" name="Btn_TestPlay">
60+ <property name="enabled">
61+ <bool>false</bool>
62+ </property>
63+ <property name="geometry">
64+ <rect>
65+ <x>150</x>
66+ <y>40</y>
67+ <width>75</width>
68+ <height>23</height>
69+ </rect>
70+ </property>
71+ <property name="text">
72+ <string>試聴</string>
73+ </property>
74+ </widget>
75+ <widget class="QRadioButton" name="radioButton_1">
76+ <property name="geometry">
77+ <rect>
78+ <x>30</x>
79+ <y>30</y>
80+ <width>111</width>
81+ <height>20</height>
82+ </rect>
83+ </property>
84+ <property name="text">
85+ <string>音声1 (女性)</string>
86+ </property>
87+ <attribute name="buttonGroup">
88+ <string>buttonGroup_voice</string>
89+ </attribute>
90+ </widget>
91+ <widget class="QRadioButton" name="radioButton_2">
92+ <property name="geometry">
93+ <rect>
94+ <x>30</x>
95+ <y>60</y>
96+ <width>111</width>
97+ <height>16</height>
98+ </rect>
99+ </property>
100+ <property name="text">
101+ <string>音声2 (男性)</string>
102+ </property>
103+ <attribute name="buttonGroup">
104+ <string>buttonGroup_voice</string>
105+ </attribute>
106+ </widget>
91107 </widget>
92- <widget class="QPushButton" name="Btn_TestPlay">
93- <property name="enabled">
94- <bool>false</bool>
95- </property>
96- <property name="geometry">
97- <rect>
98- <x>180</x>
99- <y>70</y>
100- <width>75</width>
101- <height>23</height>
102- </rect>
103- </property>
104- <property name="text">
105- <string>試聴</string>
106- </property>
107- </widget>
108+ <zorder>groupBox</zorder>
109+ <zorder>buttonBox</zorder>
108110 </widget>
109111 <resources/>
110112 <connections>