百人一首かるた自動読み上げソフト
Revisão | 60d40a1b34c33a301e0eab4d57be3f02fa764d65 (tree) |
---|---|
Hora | 2012-01-10 22:28:54 |
Autor | arakaki <alucky4416@user...> |
Commiter | arakaki |
CHG: Release v1.0. Commentout qDebug Message, and optiondialog decoration
@@ -13,7 +13,7 @@ PlayMusicThread::PlayMusicThread(WId winId) | ||
13 | 13 | if (!BASS_Init(-1, 44100, 0, (void*)winId, NULL)) { |
14 | 14 | #endif |
15 | 15 | // QMessageBox::warning(this, "Error", "BASS_Init, Fail"); |
16 | - qDebug() << "BASS_Init Error"; | |
16 | + // qDebug() << "BASS_Init Error"; | |
17 | 17 | } |
18 | 18 | |
19 | 19 | FilePath = ""; |
@@ -86,11 +86,11 @@ void PlayMusicThread::run() | ||
86 | 86 | |
87 | 87 | int PlayMusicThread::MusicStart(const QString &musicfilepath) |
88 | 88 | { |
89 | - qDebug() << "Play Music : " << musicfilepath; | |
89 | + // qDebug() << "Play Music : " << musicfilepath; | |
90 | 90 | if (hStrm = BASS_StreamCreateFile(FALSE, musicfilepath.toLocal8Bit(), 0, 0, 0)) { |
91 | 91 | ; |
92 | 92 | } else { |
93 | - qDebug() << "BASS_StreamCreateFile Error"; | |
93 | + // qDebug() << "BASS_StreamCreateFile Error"; | |
94 | 94 | // QMessageBox::warning(this, "Error", "BASS_StreamCreateFile, Fail");; |
95 | 95 | return 1; |
96 | 96 | } |
@@ -108,7 +108,7 @@ int PlayMusicThread::MusicStart(const QString &musicfilepath) | ||
108 | 108 | |
109 | 109 | void PlayMusicThread::MusicStop() |
110 | 110 | { |
111 | - qDebug() << "Stop Music"; | |
111 | + // qDebug() << "Stop Music"; | |
112 | 112 | if (hStrm) { |
113 | 113 | BASS_ChannelStop(hStrm); |
114 | 114 | BASS_StreamFree(hStrm); |
@@ -41,7 +41,7 @@ MainWindow::MainWindow(QWidget *parent) : | ||
41 | 41 | QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8")); // source codec is UTF-8 |
42 | 42 | |
43 | 43 | QCoreApplication::setApplicationName("QtKarutaEishow"); |
44 | - QCoreApplication::setApplicationVersion("1.0 RC1"); | |
44 | + QCoreApplication::setApplicationVersion("1.0"); | |
45 | 45 | this->setWindowTitle(QCoreApplication::applicationName()); |
46 | 46 | IniFilePath = QCoreApplication::applicationDirPath() + QDir::separator() + QCoreApplication::applicationName() + ".ini"; |
47 | 47 |
@@ -44,67 +44,69 @@ | ||
44 | 44 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
45 | 45 | </property> |
46 | 46 | </widget> |
47 | - <widget class="QRadioButton" name="radioButton_1"> | |
47 | + <widget class="QGroupBox" name="groupBox"> | |
48 | 48 | <property name="geometry"> |
49 | 49 | <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> | |
54 | 54 | </rect> |
55 | 55 | </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"> | |
89 | 57 | <string>音声の選択</string> |
90 | 58 | </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> | |
91 | 107 | </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> | |
108 | 110 | </widget> |
109 | 111 | <resources/> |
110 | 112 | <connections> |