• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修订版c9983eb122f5d167cc7bad581d87787e3cea001d (tree)
时间2014-04-10 18:31:57
作者jakago <jakago777@gmai...>
Commiterjakago

Log Message

GUI変更中

更改概述

差异

--- a/CaptureStream.pro
+++ b/CaptureStream.pro
@@ -52,3 +52,9 @@ macx {
5252 QMAKE_POST_LINK += macdeployqt CaptureStream.app
5353 }
5454 }
55+
56+OTHER_FILES += \
57+ default.qss
58+
59+RESOURCES += \
60+ stylesheet.qrc
--- /dev/null
+++ b/default.qss
@@ -0,0 +1,26 @@
1+.QWidget {
2+ background-color: lightsteelblue;
3+}
4+
5+/* We provide a min-width and min-height for push buttons
6+ so that they look elegant regardless of the width of the text. */
7+QPushButton {
8+ background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde);
9+ border: 2px solid #8f8f91;
10+ border-radius: 6px;
11+ padding: 3px;
12+ min-width: 9ex;
13+ min-height: 2.5ex;
14+}
15+
16+QPushButton:hover {
17+ /*background-color: steelblue;*/
18+}
19+
20+/* Increase the padding, so the text is shifted when the button is
21+ pressed. */
22+QPushButton:pressed {
23+ padding-left: 5px;
24+ padding-top: 5px;
25+ background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #dadbde, stop: 1 #f6f7fa);
26+}
--- a/downloadthread.cpp
+++ b/downloadthread.cpp
@@ -59,7 +59,7 @@
5959 #define OriginalFormat "ts"
6060 #define FilterOption "-bsf:a aac_adtstoasc"
6161 #define CancelCheckTimeOut 500 // msec
62-#define DebugLog(s) if ( ui->checkBox_detailed_message->isChecked() ) {emit information((s));}
62+#define DebugLog(s) if ( ui->toolButton_detailed_message->isChecked() ) {emit information((s));}
6363
6464 //--------------------------------------------------------------------------------
6565 QString DownloadThread::prefix = "http://cgi2.nhk.or.jp/gogaku/st/xml/";
@@ -163,7 +163,7 @@ bool DownloadThread::checkOutputDir( QString dirPath ) {
163163 #if 0
164164 void DownloadThread::downloadENews( bool re_read ) {
165165 emit current( QString::fromUtf8( "ニュースで英会話のhtmlを分析中" ) );
166- DownloadManager manager( re_read, ui->checkBox_enews_past->isChecked() );
166+ DownloadManager manager( re_read, ui->toolButton_enews_past->isChecked() );
167167 manager.singleShot();
168168 qSort( manager.flvList.begin(), manager.flvList.end(), qGreater<QString>() );
169169
@@ -189,7 +189,7 @@ void DownloadThread::downloadENews( bool re_read ) {
189189 #else
190190 QString null( "/dev/null" );
191191 #endif
192- bool skip = ui->checkBox_skip->isChecked();
192+ bool skip = ui->toolButton_skip->isChecked();
193193
194194 QStringList flvListBefore20100323;
195195 QStringList flvListBefore20090728;
@@ -241,7 +241,7 @@ void DownloadThread::downloadENews( bool re_read ) {
241241 if ( (failed1935 || exitCode) && !isCanceled )
242242 exitCode = process.execute( command80 );
243243
244- bool keep_on_error = ui->checkBox_keep_on_error->isChecked();
244+ bool keep_on_error = ui->toolButton_keep_on_error->isChecked();
245245 if ( exitCode && !isCanceled ) {
246246 QFile flv( flv_file );
247247 if ( flv.size() > 0 ) {
@@ -325,7 +325,7 @@ void DownloadThread::downloadShower() {
325325 #else
326326 QString null( "/dev/null" );
327327 #endif
328- bool skip = ui->checkBox_skip->isChecked();
328+ bool skip = ui->toolButton_skip->isChecked();
329329
330330 // 当月と前月のxmlから可能なものをダウンロードする
331331 const char* prototype = "http://www.nhk.or.jp/worldwave/xml/abc_news_%1.xml";
@@ -368,7 +368,7 @@ void DownloadThread::downloadShower() {
368368 if ( (failed1935 || exitCode) && !isCanceled )
369369 exitCode = process.execute( command80 );
370370
371- bool keep_on_error = ui->checkBox_keep_on_error->isChecked();
371+ bool keep_on_error = ui->toolButton_keep_on_error->isChecked();
372372 if ( exitCode && !isCanceled ) {
373373 QFile flv( flv_file );
374374 if ( flv.size() > 0 ) {
@@ -534,7 +534,7 @@ bool DownloadThread::captureStream( QString kouza, QString hdate, QString file )
534534 QDate onair( year, month, day );
535535 QString yyyymmdd = onair.toString( "yyyy_MM_dd" );
536536
537- if ( ui->checkBox_skip->isChecked() && QFile::exists( outputDir + outFileName ) ) {
537+ if ( ui->toolButton_skip->isChecked() && QFile::exists( outputDir + outFileName ) ) {
538538 emit current( QString::fromUtf8( "スキップ:     " ) + kouza + QString::fromUtf8( " " ) + yyyymmdd );
539539 return true;
540540 }
@@ -611,14 +611,14 @@ QString DownloadThread::paths[] = {
611611 };
612612
613613 void DownloadThread::run() {
614- QCheckBox* checkbox[] = {
615- ui->checkBox_basic1, ui->checkBox_basic2, ui->checkBox_basic3,
616- ui->checkBox_timetrial, ui->checkBox_kaiwa, ui->checkBox_business1,
617- ui->checkBox_business2, ui->checkBox_kouryaku, ui->checkBox_yomu,
618- ui->checkBox_enjoy,
619- ui->checkBox_chinese, ui->checkBox_levelup_chinese, ui->checkBox_french,
620- ui->checkBox_italian, ui->checkBox_hangeul, ui->checkBox_levelup_hangeul,
621- ui->checkBox_german, ui->checkBox_spanish, ui->checkBox_russian,
614+ QAbstractButton* checkbox[] = {
615+ ui->toolButton_basic1, ui->toolButton_basic2, ui->toolButton_basic3,
616+ ui->toolButton_timetrial, ui->toolButton_kaiwa, ui->toolButton_business1,
617+ ui->toolButton_business2, ui->toolButton_kouryaku, ui->toolButton_yomu,
618+ ui->toolButton_enjoy,
619+ ui->toolButton_chinese, ui->toolButton_levelup_chinese, ui->toolButton_french,
620+ ui->toolButton_italian, ui->toolButton_hangeul, ui->toolButton_levelup_hangeul,
621+ ui->toolButton_german, ui->toolButton_spanish, ui->toolButton_russian,
622622 NULL
623623 };
624624
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -123,7 +123,12 @@ MainWindow::MainWindow( QWidget *parent )
123123 //action = new QAction( QString::fromUtf8( "スクランブル文字列..." ), this );
124124 //connect( action, SIGNAL( triggered() ), this, SLOT( customizeScramble() ) );
125125 //customizeMenu->addAction( action );
126- }
126+
127+ QFile file(":/default.qss");
128+ file.open(QFile::ReadOnly);
129+ QString styleSheet = QLatin1String(file.readAll());
130+ qApp->setStyleSheet( styleSheet );
131+}
127132
128133 MainWindow::~MainWindow() {
129134 if ( downloadThread ) {
@@ -147,7 +152,7 @@ void MainWindow::closeEvent( QCloseEvent *event ) {
147152
148153 void MainWindow::settings( enum ReadWriteMode mode ) {
149154 typedef struct CheckBox {
150- QCheckBox* checkBox;
155+ QAbstractButton* checkBox;
151156 QString key;
152157 QVariant defaultValue;
153158 QString titleKey;
@@ -158,35 +163,35 @@ void MainWindow::settings( enum ReadWriteMode mode ) {
158163 #define DefaultTitle "%k_%Y_%M_%D"
159164 #define DefaultFileName "%k_%Y_%M_%D.mp3"
160165 CheckBox checkBoxes[] = {
161- { ui->checkBox_basic1, "basic1", false, "basic1_title", DefaultTitle, "basic1_file_name", DefaultFileName },
162- { ui->checkBox_basic2, "basic2", false, "basic2_title", DefaultTitle, "basic2_file_name", DefaultFileName },
163- { ui->checkBox_basic3, "basic3", false, "basic3_title", DefaultTitle, "basic3_file_name", DefaultFileName },
164- { ui->checkBox_timetrial, "timetrial", false, "timetrial_title", DefaultTitle, "timetrial_file_name", DefaultFileName },
165- { ui->checkBox_kaiwa, "kaiwa", false, "kaiwa_title", DefaultTitle, "kaiwa_file_name", DefaultFileName },
166- { ui->checkBox_business1, "business1", false, "business1_title", DefaultTitle, "business1_file_name", DefaultFileName },
167- { ui->checkBox_business2, "business2", false, "business2_title", DefaultTitle, "business2_file_name", DefaultFileName },
168- { ui->checkBox_chinese, "chinese", false, "chinese_title", DefaultTitle, "chinese_file_name", DefaultFileName },
169- { ui->checkBox_french, "french", false, "french_title", DefaultTitle, "french_file_name", DefaultFileName },
170- { ui->checkBox_italian, "italian", false, "italian_title", DefaultTitle, "italian_file_name", DefaultFileName },
171- { ui->checkBox_hangeul, "hangeul", false, "hangeul_title", DefaultTitle, "hangeul_file_name", DefaultFileName },
172- { ui->checkBox_german, "german", false, "german_title", DefaultTitle, "german_file_name", DefaultFileName },
173- { ui->checkBox_spanish, "spanish", false, "spanish_title", DefaultTitle, "spanish_file_name", DefaultFileName },
166+ { ui->toolButton_basic1, "basic1", false, "basic1_title", DefaultTitle, "basic1_file_name", DefaultFileName },
167+ { ui->toolButton_basic2, "basic2", false, "basic2_title", DefaultTitle, "basic2_file_name", DefaultFileName },
168+ { ui->toolButton_basic3, "basic3", false, "basic3_title", DefaultTitle, "basic3_file_name", DefaultFileName },
169+ { ui->toolButton_timetrial, "timetrial", false, "timetrial_title", DefaultTitle, "timetrial_file_name", DefaultFileName },
170+ { ui->toolButton_kaiwa, "kaiwa", false, "kaiwa_title", DefaultTitle, "kaiwa_file_name", DefaultFileName },
171+ { ui->toolButton_business1, "business1", false, "business1_title", DefaultTitle, "business1_file_name", DefaultFileName },
172+ { ui->toolButton_business2, "business2", false, "business2_title", DefaultTitle, "business2_file_name", DefaultFileName },
173+ { ui->toolButton_chinese, "chinese", false, "chinese_title", DefaultTitle, "chinese_file_name", DefaultFileName },
174+ { ui->toolButton_french, "french", false, "french_title", DefaultTitle, "french_file_name", DefaultFileName },
175+ { ui->toolButton_italian, "italian", false, "italian_title", DefaultTitle, "italian_file_name", DefaultFileName },
176+ { ui->toolButton_hangeul, "hangeul", false, "hangeul_title", DefaultTitle, "hangeul_file_name", DefaultFileName },
177+ { ui->toolButton_german, "german", false, "german_title", DefaultTitle, "german_file_name", DefaultFileName },
178+ { ui->toolButton_spanish, "spanish", false, "spanish_title", DefaultTitle, "spanish_file_name", DefaultFileName },
174179 { ui->checkBox_13, "charo", false, "charo_title", DefaultTitle, "charo_file_name", DefaultFileName },
175180 { ui->checkBox_14, "e-news", false, "e-news_title", DefaultTitle, "e-news_file_name", DefaultFileName },
176181 { ui->checkBox_15, "e-news-reread", false, "e-news-reread_title", DefaultTitle, "e-news-reread_file_name", DefaultFileName },
177- { ui->checkBox_levelup_chinese, "levelup-chinese", false, "levelup-chinese_title", DefaultTitle, "levelup-chinese_file_name", DefaultFileName },
178- { ui->checkBox_levelup_hangeul, "levelup-hangeul", false, "levelup-hangeul_title", DefaultTitle, "levelup-hangeul_file_name", DefaultFileName },
179- { ui->checkBox_russian, "russian", false, "russian_title", DefaultTitle, "russian_file_name", DefaultFileName },
182+ { ui->toolButton_levelup_chinese, "levelup-chinese", false, "levelup-chinese_title", DefaultTitle, "levelup-chinese_file_name", DefaultFileName },
183+ { ui->toolButton_levelup_hangeul, "levelup-hangeul", false, "levelup-hangeul_title", DefaultTitle, "levelup-hangeul_file_name", DefaultFileName },
184+ { ui->toolButton_russian, "russian", false, "russian_title", DefaultTitle, "russian_file_name", DefaultFileName },
180185 { ui->checkBox_shower, "shower", false, "shower_title", DefaultTitle, "shower_file_name", DefaultFileName },
181- { ui->checkBox_kouryaku, "kouryaku", false, "kouryaku_title", DefaultTitle, "kouryaku_file_name", DefaultFileName },
182- { ui->checkBox_yomu, "yomu", false, "yomu_title", DefaultTitle, "yomu_file_name", DefaultFileName },
183- { ui->checkBox_enjoy, "enjoy", false, "enjoy_title", DefaultTitle, "enjoy_file_name", DefaultFileName },
184- { ui->checkBox_skip, "skip", true, "", "", "", "" },
186+ { ui->toolButton_kouryaku, "kouryaku", false, "kouryaku_title", DefaultTitle, "kouryaku_file_name", DefaultFileName },
187+ { ui->toolButton_yomu, "yomu", false, "yomu_title", DefaultTitle, "yomu_file_name", DefaultFileName },
188+ { ui->toolButton_enjoy, "enjoy", false, "enjoy_title", DefaultTitle, "enjoy_file_name", DefaultFileName },
189+ { ui->toolButton_skip, "skip", true, "", "", "", "" },
185190 { ui->checkBox_keep_on_error, "keep_on_error", false, "", "", "", "" },
186191 { ui->checkBox_this_week, "this_week", true, "", "", "", "" },
187192 { ui->checkBox_next_week, "next_week", false, "", "", "", "" },
188193 { ui->checkBox_past_week, "past_week", false, "", "", "", "" },
189- { ui->checkBox_detailed_message, "detailed_message", false, "", "", "", "" },
194+ { ui->toolButton_detailed_message, "detailed_message", false, "", "", "", "" },
190195 { NULL, NULL, false, "", "", "", "" }
191196 };
192197 typedef struct ComboBox {
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -7,7 +7,7 @@
77 <x>0</x>
88 <y>0</y>
99 <width>498</width>
10- <height>442</height>
10+ <height>470</height>
1111 </rect>
1212 </property>
1313 <property name="sizePolicy">
@@ -19,13 +19,13 @@
1919 <property name="minimumSize">
2020 <size>
2121 <width>498</width>
22- <height>442</height>
22+ <height>470</height>
2323 </size>
2424 </property>
2525 <property name="maximumSize">
2626 <size>
2727 <width>498</width>
28- <height>442</height>
28+ <height>470</height>
2929 </size>
3030 </property>
3131 <property name="windowTitle">
@@ -44,7 +44,7 @@
4444 <x>9</x>
4545 <y>9</y>
4646 <width>481</width>
47- <height>387</height>
47+ <height>401</height>
4848 </rect>
4949 </property>
5050 <layout class="QGridLayout" name="gridLayout_3" rowstretch="0,0,0,0,0,0,0,0,0,0,0,0,0,0">
@@ -75,10 +75,24 @@
7575 <item row="0" column="0">
7676 <layout class="QHBoxLayout" name="horizontalLayout_14">
7777 <item>
78- <widget class="QCheckBox" name="checkBox_basic1">
78+ <widget class="QToolButton" name="toolButton_basic1">
79+ <property name="sizePolicy">
80+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
81+ <horstretch>0</horstretch>
82+ <verstretch>0</verstretch>
83+ </sizepolicy>
84+ </property>
85+ <property name="font">
86+ <font>
87+ <pointsize>12</pointsize>
88+ </font>
89+ </property>
7990 <property name="text">
8091 <string>基礎英語1</string>
8192 </property>
93+ <property name="checkable">
94+ <bool>true</bool>
95+ </property>
8296 </widget>
8397 </item>
8498 </layout>
@@ -86,10 +100,24 @@
86100 <item row="0" column="1">
87101 <layout class="QHBoxLayout" name="horizontalLayout_2">
88102 <item>
89- <widget class="QCheckBox" name="checkBox_chinese">
103+ <widget class="QToolButton" name="toolButton_chinese">
104+ <property name="sizePolicy">
105+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
106+ <horstretch>0</horstretch>
107+ <verstretch>0</verstretch>
108+ </sizepolicy>
109+ </property>
110+ <property name="font">
111+ <font>
112+ <pointsize>12</pointsize>
113+ </font>
114+ </property>
90115 <property name="text">
91116 <string>まいにち中国語</string>
92117 </property>
118+ <property name="checkable">
119+ <bool>true</bool>
120+ </property>
93121 </widget>
94122 </item>
95123 </layout>
@@ -97,10 +125,24 @@
97125 <item row="8" column="1">
98126 <layout class="QHBoxLayout" name="horizontalLayout_13">
99127 <item>
100- <widget class="QCheckBox" name="checkBox_russian">
128+ <widget class="QToolButton" name="toolButton_russian">
129+ <property name="sizePolicy">
130+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
131+ <horstretch>0</horstretch>
132+ <verstretch>0</verstretch>
133+ </sizepolicy>
134+ </property>
135+ <property name="font">
136+ <font>
137+ <pointsize>12</pointsize>
138+ </font>
139+ </property>
101140 <property name="text">
102141 <string>まいにちロシア語</string>
103142 </property>
143+ <property name="checkable">
144+ <bool>true</bool>
145+ </property>
104146 </widget>
105147 </item>
106148 </layout>
@@ -108,10 +150,24 @@
108150 <item row="7" column="1">
109151 <layout class="QHBoxLayout" name="horizontalLayout_7">
110152 <item>
111- <widget class="QCheckBox" name="checkBox_spanish">
153+ <widget class="QToolButton" name="toolButton_spanish">
154+ <property name="sizePolicy">
155+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
156+ <horstretch>0</horstretch>
157+ <verstretch>0</verstretch>
158+ </sizepolicy>
159+ </property>
160+ <property name="font">
161+ <font>
162+ <pointsize>12</pointsize>
163+ </font>
164+ </property>
112165 <property name="text">
113166 <string>まいにちスペイン語</string>
114167 </property>
168+ <property name="checkable">
169+ <bool>true</bool>
170+ </property>
115171 </widget>
116172 </item>
117173 </layout>
@@ -119,10 +175,24 @@
119175 <item row="6" column="1">
120176 <layout class="QHBoxLayout" name="horizontalLayout_6">
121177 <item>
122- <widget class="QCheckBox" name="checkBox_german">
178+ <widget class="QToolButton" name="toolButton_german">
179+ <property name="sizePolicy">
180+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
181+ <horstretch>0</horstretch>
182+ <verstretch>0</verstretch>
183+ </sizepolicy>
184+ </property>
185+ <property name="font">
186+ <font>
187+ <pointsize>12</pointsize>
188+ </font>
189+ </property>
123190 <property name="text">
124191 <string>まいにちドイツ語</string>
125192 </property>
193+ <property name="checkable">
194+ <bool>true</bool>
195+ </property>
126196 </widget>
127197 </item>
128198 </layout>
@@ -130,10 +200,24 @@
130200 <item row="8" column="0">
131201 <layout class="QHBoxLayout" name="horizontalLayout_27">
132202 <item>
133- <widget class="QCheckBox" name="checkBox_yomu">
203+ <widget class="QToolButton" name="toolButton_yomu">
204+ <property name="sizePolicy">
205+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
206+ <horstretch>0</horstretch>
207+ <verstretch>0</verstretch>
208+ </sizepolicy>
209+ </property>
210+ <property name="font">
211+ <font>
212+ <pointsize>12</pointsize>
213+ </font>
214+ </property>
134215 <property name="text">
135216 <string>英語で読む村上春樹</string>
136217 </property>
218+ <property name="checkable">
219+ <bool>true</bool>
220+ </property>
137221 </widget>
138222 </item>
139223 </layout>
@@ -148,11 +232,16 @@
148232 <verstretch>0</verstretch>
149233 </sizepolicy>
150234 </property>
235+ <property name="font">
236+ <font>
237+ <pointsize>12</pointsize>
238+ </font>
239+ </property>
151240 <property name="layoutDirection">
152241 <enum>Qt::LeftToRight</enum>
153242 </property>
154243 <property name="text">
155- <string>     拡張子:</string>
244+ <string>     拡張子:</string>
156245 </property>
157246 <property name="alignment">
158247 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
@@ -167,6 +256,11 @@
167256 <verstretch>0</verstretch>
168257 </sizepolicy>
169258 </property>
259+ <property name="font">
260+ <font>
261+ <pointsize>12</pointsize>
262+ </font>
263+ </property>
170264 <item>
171265 <property name="text">
172266 <string>3g2</string>
@@ -225,6 +319,17 @@
225319 <layout class="QHBoxLayout" name="horizontalLayout_25">
226320 <item>
227321 <widget class="QPushButton" name="downloadButton">
322+ <property name="sizePolicy">
323+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
324+ <horstretch>0</horstretch>
325+ <verstretch>0</verstretch>
326+ </sizepolicy>
327+ </property>
328+ <property name="font">
329+ <font>
330+ <pointsize>12</pointsize>
331+ </font>
332+ </property>
228333 <property name="text">
229334 <string>ダウンロード</string>
230335 </property>
@@ -235,13 +340,27 @@
235340 <item row="13" column="0">
236341 <layout class="QHBoxLayout" name="horizontalLayout_28">
237342 <item>
238- <widget class="QCheckBox" name="checkBox_detailed_message">
343+ <widget class="QToolButton" name="toolButton_detailed_message">
239344 <property name="enabled">
240345 <bool>false</bool>
241346 </property>
347+ <property name="sizePolicy">
348+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
349+ <horstretch>0</horstretch>
350+ <verstretch>0</verstretch>
351+ </sizepolicy>
352+ </property>
353+ <property name="font">
354+ <font>
355+ <pointsize>12</pointsize>
356+ </font>
357+ </property>
242358 <property name="text">
243359 <string>詳細なメッセージ</string>
244360 </property>
361+ <property name="checkable">
362+ <bool>true</bool>
363+ </property>
245364 <property name="checked">
246365 <bool>false</bool>
247366 </property>
@@ -252,13 +371,27 @@
252371 <item row="11" column="0">
253372 <layout class="QHBoxLayout" name="horizontalLayout_22">
254373 <item>
255- <widget class="QCheckBox" name="checkBox_skip">
374+ <widget class="QToolButton" name="toolButton_skip">
375+ <property name="sizePolicy">
376+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
377+ <horstretch>0</horstretch>
378+ <verstretch>0</verstretch>
379+ </sizepolicy>
380+ </property>
381+ <property name="font">
382+ <font>
383+ <pointsize>12</pointsize>
384+ </font>
385+ </property>
256386 <property name="text">
257387 <string>既存のファイルはスキップ</string>
258388 </property>
259- <property name="checked">
389+ <property name="checkable">
260390 <bool>true</bool>
261391 </property>
392+ <property name="checked">
393+ <bool>false</bool>
394+ </property>
262395 </widget>
263396 </item>
264397 </layout>
@@ -266,10 +399,24 @@
266399 <item row="7" column="0">
267400 <layout class="QHBoxLayout" name="horizontalLayout_21">
268401 <item>
269- <widget class="QCheckBox" name="checkBox_kouryaku">
402+ <widget class="QToolButton" name="toolButton_kouryaku">
403+ <property name="sizePolicy">
404+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
405+ <horstretch>0</horstretch>
406+ <verstretch>0</verstretch>
407+ </sizepolicy>
408+ </property>
409+ <property name="font">
410+ <font>
411+ <pointsize>12</pointsize>
412+ </font>
413+ </property>
270414 <property name="text">
271415 <string>攻略英語リスニング</string>
272416 </property>
417+ <property name="checkable">
418+ <bool>true</bool>
419+ </property>
273420 </widget>
274421 </item>
275422 </layout>
@@ -277,10 +424,24 @@
277424 <item row="5" column="0">
278425 <layout class="QHBoxLayout" name="horizontalLayout_19">
279426 <item>
280- <widget class="QCheckBox" name="checkBox_business1">
427+ <widget class="QToolButton" name="toolButton_business1">
428+ <property name="sizePolicy">
429+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
430+ <horstretch>0</horstretch>
431+ <verstretch>0</verstretch>
432+ </sizepolicy>
433+ </property>
434+ <property name="font">
435+ <font>
436+ <pointsize>12</pointsize>
437+ </font>
438+ </property>
281439 <property name="text">
282440 <string>入門ビジネス英語</string>
283441 </property>
442+ <property name="checkable">
443+ <bool>true</bool>
444+ </property>
284445 </widget>
285446 </item>
286447 </layout>
@@ -288,10 +449,24 @@
288449 <item row="6" column="0">
289450 <layout class="QHBoxLayout" name="horizontalLayout_20">
290451 <item>
291- <widget class="QCheckBox" name="checkBox_business2">
452+ <widget class="QToolButton" name="toolButton_business2">
453+ <property name="sizePolicy">
454+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
455+ <horstretch>0</horstretch>
456+ <verstretch>0</verstretch>
457+ </sizepolicy>
458+ </property>
459+ <property name="font">
460+ <font>
461+ <pointsize>12</pointsize>
462+ </font>
463+ </property>
292464 <property name="text">
293465 <string>実践ビジネス英語</string>
294466 </property>
467+ <property name="checkable">
468+ <bool>true</bool>
469+ </property>
295470 </widget>
296471 </item>
297472 </layout>
@@ -299,10 +474,24 @@
299474 <item row="4" column="0">
300475 <layout class="QHBoxLayout" name="horizontalLayout_18">
301476 <item>
302- <widget class="QCheckBox" name="checkBox_kaiwa">
477+ <widget class="QToolButton" name="toolButton_kaiwa">
478+ <property name="sizePolicy">
479+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
480+ <horstretch>0</horstretch>
481+ <verstretch>0</verstretch>
482+ </sizepolicy>
483+ </property>
484+ <property name="font">
485+ <font>
486+ <pointsize>12</pointsize>
487+ </font>
488+ </property>
303489 <property name="text">
304490 <string>ラジオ英会話</string>
305491 </property>
492+ <property name="checkable">
493+ <bool>true</bool>
494+ </property>
306495 </widget>
307496 </item>
308497 </layout>
@@ -310,10 +499,24 @@
310499 <item row="3" column="0">
311500 <layout class="QHBoxLayout" name="horizontalLayout_17">
312501 <item>
313- <widget class="QCheckBox" name="checkBox_timetrial">
502+ <widget class="QToolButton" name="toolButton_timetrial">
503+ <property name="sizePolicy">
504+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
505+ <horstretch>0</horstretch>
506+ <verstretch>0</verstretch>
507+ </sizepolicy>
508+ </property>
509+ <property name="font">
510+ <font>
511+ <pointsize>12</pointsize>
512+ </font>
513+ </property>
314514 <property name="text">
315515 <string>英会話タイムトライアル</string>
316516 </property>
517+ <property name="checkable">
518+ <bool>true</bool>
519+ </property>
317520 </widget>
318521 </item>
319522 </layout>
@@ -321,10 +524,24 @@
321524 <item row="1" column="0">
322525 <layout class="QHBoxLayout" name="horizontalLayout_15">
323526 <item>
324- <widget class="QCheckBox" name="checkBox_basic2">
527+ <widget class="QToolButton" name="toolButton_basic2">
528+ <property name="sizePolicy">
529+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
530+ <horstretch>0</horstretch>
531+ <verstretch>0</verstretch>
532+ </sizepolicy>
533+ </property>
534+ <property name="font">
535+ <font>
536+ <pointsize>12</pointsize>
537+ </font>
538+ </property>
325539 <property name="text">
326540 <string>基礎英語2</string>
327541 </property>
542+ <property name="checkable">
543+ <bool>true</bool>
544+ </property>
328545 </widget>
329546 </item>
330547 </layout>
@@ -332,10 +549,24 @@
332549 <item row="2" column="0">
333550 <layout class="QHBoxLayout" name="horizontalLayout_16">
334551 <item>
335- <widget class="QCheckBox" name="checkBox_basic3">
552+ <widget class="QToolButton" name="toolButton_basic3">
553+ <property name="sizePolicy">
554+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
555+ <horstretch>0</horstretch>
556+ <verstretch>0</verstretch>
557+ </sizepolicy>
558+ </property>
559+ <property name="font">
560+ <font>
561+ <pointsize>12</pointsize>
562+ </font>
563+ </property>
336564 <property name="text">
337565 <string>基礎英語3</string>
338566 </property>
567+ <property name="checkable">
568+ <bool>true</bool>
569+ </property>
339570 </widget>
340571 </item>
341572 </layout>
@@ -343,10 +574,24 @@
343574 <item row="5" column="1">
344575 <layout class="QHBoxLayout" name="horizontalLayout_11">
345576 <item>
346- <widget class="QCheckBox" name="checkBox_levelup_hangeul">
577+ <widget class="QToolButton" name="toolButton_levelup_hangeul">
578+ <property name="sizePolicy">
579+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
580+ <horstretch>0</horstretch>
581+ <verstretch>0</verstretch>
582+ </sizepolicy>
583+ </property>
584+ <property name="font">
585+ <font>
586+ <pointsize>12</pointsize>
587+ </font>
588+ </property>
347589 <property name="text">
348590 <string>レベルアップハングル講座</string>
349591 </property>
592+ <property name="checkable">
593+ <bool>true</bool>
594+ </property>
350595 </widget>
351596 </item>
352597 </layout>
@@ -354,10 +599,24 @@
354599 <item row="1" column="1">
355600 <layout class="QHBoxLayout" name="horizontalLayout_9">
356601 <item>
357- <widget class="QCheckBox" name="checkBox_levelup_chinese">
602+ <widget class="QToolButton" name="toolButton_levelup_chinese">
603+ <property name="sizePolicy">
604+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
605+ <horstretch>0</horstretch>
606+ <verstretch>0</verstretch>
607+ </sizepolicy>
608+ </property>
609+ <property name="font">
610+ <font>
611+ <pointsize>12</pointsize>
612+ </font>
613+ </property>
358614 <property name="text">
359615 <string>レベルアップ中国語</string>
360616 </property>
617+ <property name="checkable">
618+ <bool>true</bool>
619+ </property>
361620 </widget>
362621 </item>
363622 </layout>
@@ -365,10 +624,24 @@
365624 <item row="3" column="1">
366625 <layout class="QHBoxLayout" name="horizontalLayout_4">
367626 <item>
368- <widget class="QCheckBox" name="checkBox_italian">
627+ <widget class="QToolButton" name="toolButton_italian">
628+ <property name="sizePolicy">
629+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
630+ <horstretch>0</horstretch>
631+ <verstretch>0</verstretch>
632+ </sizepolicy>
633+ </property>
634+ <property name="font">
635+ <font>
636+ <pointsize>12</pointsize>
637+ </font>
638+ </property>
369639 <property name="text">
370640 <string>まいにちイタリア語</string>
371641 </property>
642+ <property name="checkable">
643+ <bool>true</bool>
644+ </property>
372645 </widget>
373646 </item>
374647 </layout>
@@ -376,10 +649,24 @@
376649 <item row="2" column="1">
377650 <layout class="QHBoxLayout" name="horizontalLayout_3">
378651 <item>
379- <widget class="QCheckBox" name="checkBox_french">
652+ <widget class="QToolButton" name="toolButton_french">
653+ <property name="sizePolicy">
654+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
655+ <horstretch>0</horstretch>
656+ <verstretch>0</verstretch>
657+ </sizepolicy>
658+ </property>
659+ <property name="font">
660+ <font>
661+ <pointsize>12</pointsize>
662+ </font>
663+ </property>
380664 <property name="text">
381665 <string>まいにちフランス語</string>
382666 </property>
667+ <property name="checkable">
668+ <bool>true</bool>
669+ </property>
383670 </widget>
384671 </item>
385672 </layout>
@@ -387,10 +674,24 @@
387674 <item row="4" column="1">
388675 <layout class="QHBoxLayout" name="horizontalLayout_5">
389676 <item>
390- <widget class="QCheckBox" name="checkBox_hangeul">
677+ <widget class="QToolButton" name="toolButton_hangeul">
678+ <property name="sizePolicy">
679+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
680+ <horstretch>0</horstretch>
681+ <verstretch>0</verstretch>
682+ </sizepolicy>
683+ </property>
684+ <property name="font">
685+ <font>
686+ <pointsize>12</pointsize>
687+ </font>
688+ </property>
391689 <property name="text">
392690 <string>まいにちハングル講座</string>
393691 </property>
692+ <property name="checkable">
693+ <bool>true</bool>
694+ </property>
394695 </widget>
395696 </item>
396697 </layout>
@@ -398,10 +699,24 @@
398699 <item row="9" column="0">
399700 <layout class="QHBoxLayout" name="horizontalLayout_29">
400701 <item>
401- <widget class="QCheckBox" name="checkBox_enjoy">
702+ <widget class="QToolButton" name="toolButton_enjoy">
703+ <property name="sizePolicy">
704+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
705+ <horstretch>0</horstretch>
706+ <verstretch>0</verstretch>
707+ </sizepolicy>
708+ </property>
709+ <property name="font">
710+ <font>
711+ <pointsize>12</pointsize>
712+ </font>
713+ </property>
402714 <property name="text">
403715 <string>エンジョイ・シンプル・イングリッシュ</string>
404716 </property>
717+ <property name="checkable">
718+ <bool>true</bool>
719+ </property>
405720 </widget>
406721 </item>
407722 </layout>
@@ -735,26 +1050,26 @@
7351050 </widget>
7361051 <layoutdefault spacing="6" margin="11"/>
7371052 <tabstops>
738- <tabstop>checkBox_basic1</tabstop>
739- <tabstop>checkBox_basic2</tabstop>
740- <tabstop>checkBox_basic3</tabstop>
741- <tabstop>checkBox_timetrial</tabstop>
742- <tabstop>checkBox_kaiwa</tabstop>
743- <tabstop>checkBox_business1</tabstop>
744- <tabstop>checkBox_business2</tabstop>
745- <tabstop>checkBox_kouryaku</tabstop>
746- <tabstop>checkBox_yomu</tabstop>
747- <tabstop>checkBox_enjoy</tabstop>
748- <tabstop>checkBox_chinese</tabstop>
749- <tabstop>checkBox_levelup_chinese</tabstop>
750- <tabstop>checkBox_french</tabstop>
751- <tabstop>checkBox_italian</tabstop>
752- <tabstop>checkBox_hangeul</tabstop>
753- <tabstop>checkBox_levelup_hangeul</tabstop>
754- <tabstop>checkBox_german</tabstop>
755- <tabstop>checkBox_spanish</tabstop>
756- <tabstop>checkBox_russian</tabstop>
757- <tabstop>checkBox_skip</tabstop>
1053+ <tabstop>toolButton_basic1</tabstop>
1054+ <tabstop>toolButton_basic2</tabstop>
1055+ <tabstop>toolButton_basic3</tabstop>
1056+ <tabstop>toolButton_timetrial</tabstop>
1057+ <tabstop>toolButton_kaiwa</tabstop>
1058+ <tabstop>toolButton_business1</tabstop>
1059+ <tabstop>toolButton_business2</tabstop>
1060+ <tabstop>toolButton_kouryaku</tabstop>
1061+ <tabstop>toolButton_yomu</tabstop>
1062+ <tabstop>toolButton_enjoy</tabstop>
1063+ <tabstop>toolButton_chinese</tabstop>
1064+ <tabstop>toolButton_levelup_chinese</tabstop>
1065+ <tabstop>toolButton_french</tabstop>
1066+ <tabstop>toolButton_italian</tabstop>
1067+ <tabstop>toolButton_hangeul</tabstop>
1068+ <tabstop>toolButton_levelup_hangeul</tabstop>
1069+ <tabstop>toolButton_german</tabstop>
1070+ <tabstop>toolButton_spanish</tabstop>
1071+ <tabstop>toolButton_russian</tabstop>
1072+ <tabstop>toolButton_skip</tabstop>
7581073 <tabstop>comboBox_extension</tabstop>
7591074 <tabstop>downloadButton</tabstop>
7601075 <tabstop>past_days</tabstop>
@@ -769,7 +1084,7 @@
7691084 <tabstop>checkBox_enews_past</tabstop>
7701085 <tabstop>checkBox_keep_on_error</tabstop>
7711086 <tabstop>checkBox_past_week</tabstop>
772- <tabstop>checkBox_detailed_message</tabstop>
1087+ <tabstop>toolButton_detailed_message</tabstop>
7731088 </tabstops>
7741089 <resources/>
7751090 <connections>
--- /dev/null
+++ b/stylesheet.qrc
@@ -0,0 +1,5 @@
1+<RCC>
2+<qresource prefix="/">
3+ <file>default.qss</file>
4+</qresource>
5+</RCC>