修订版 | c9983eb122f5d167cc7bad581d87787e3cea001d (tree) |
---|---|
时间 | 2014-04-10 18:31:57 |
作者 | jakago <jakago777@gmai...> |
Commiter | jakago |
GUI変更中
@@ -52,3 +52,9 @@ macx { | ||
52 | 52 | QMAKE_POST_LINK += macdeployqt CaptureStream.app |
53 | 53 | } |
54 | 54 | } |
55 | + | |
56 | +OTHER_FILES += \ | |
57 | + default.qss | |
58 | + | |
59 | +RESOURCES += \ | |
60 | + stylesheet.qrc |
@@ -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 | +} |
@@ -59,7 +59,7 @@ | ||
59 | 59 | #define OriginalFormat "ts" |
60 | 60 | #define FilterOption "-bsf:a aac_adtstoasc" |
61 | 61 | #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));} | |
63 | 63 | |
64 | 64 | //-------------------------------------------------------------------------------- |
65 | 65 | QString DownloadThread::prefix = "http://cgi2.nhk.or.jp/gogaku/st/xml/"; |
@@ -163,7 +163,7 @@ bool DownloadThread::checkOutputDir( QString dirPath ) { | ||
163 | 163 | #if 0 |
164 | 164 | void DownloadThread::downloadENews( bool re_read ) { |
165 | 165 | 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() ); | |
167 | 167 | manager.singleShot(); |
168 | 168 | qSort( manager.flvList.begin(), manager.flvList.end(), qGreater<QString>() ); |
169 | 169 |
@@ -189,7 +189,7 @@ void DownloadThread::downloadENews( bool re_read ) { | ||
189 | 189 | #else |
190 | 190 | QString null( "/dev/null" ); |
191 | 191 | #endif |
192 | - bool skip = ui->checkBox_skip->isChecked(); | |
192 | + bool skip = ui->toolButton_skip->isChecked(); | |
193 | 193 | |
194 | 194 | QStringList flvListBefore20100323; |
195 | 195 | QStringList flvListBefore20090728; |
@@ -241,7 +241,7 @@ void DownloadThread::downloadENews( bool re_read ) { | ||
241 | 241 | if ( (failed1935 || exitCode) && !isCanceled ) |
242 | 242 | exitCode = process.execute( command80 ); |
243 | 243 | |
244 | - bool keep_on_error = ui->checkBox_keep_on_error->isChecked(); | |
244 | + bool keep_on_error = ui->toolButton_keep_on_error->isChecked(); | |
245 | 245 | if ( exitCode && !isCanceled ) { |
246 | 246 | QFile flv( flv_file ); |
247 | 247 | if ( flv.size() > 0 ) { |
@@ -325,7 +325,7 @@ void DownloadThread::downloadShower() { | ||
325 | 325 | #else |
326 | 326 | QString null( "/dev/null" ); |
327 | 327 | #endif |
328 | - bool skip = ui->checkBox_skip->isChecked(); | |
328 | + bool skip = ui->toolButton_skip->isChecked(); | |
329 | 329 | |
330 | 330 | // 当月と前月のxmlから可能なものをダウンロードする |
331 | 331 | const char* prototype = "http://www.nhk.or.jp/worldwave/xml/abc_news_%1.xml"; |
@@ -368,7 +368,7 @@ void DownloadThread::downloadShower() { | ||
368 | 368 | if ( (failed1935 || exitCode) && !isCanceled ) |
369 | 369 | exitCode = process.execute( command80 ); |
370 | 370 | |
371 | - bool keep_on_error = ui->checkBox_keep_on_error->isChecked(); | |
371 | + bool keep_on_error = ui->toolButton_keep_on_error->isChecked(); | |
372 | 372 | if ( exitCode && !isCanceled ) { |
373 | 373 | QFile flv( flv_file ); |
374 | 374 | if ( flv.size() > 0 ) { |
@@ -534,7 +534,7 @@ bool DownloadThread::captureStream( QString kouza, QString hdate, QString file ) | ||
534 | 534 | QDate onair( year, month, day ); |
535 | 535 | QString yyyymmdd = onair.toString( "yyyy_MM_dd" ); |
536 | 536 | |
537 | - if ( ui->checkBox_skip->isChecked() && QFile::exists( outputDir + outFileName ) ) { | |
537 | + if ( ui->toolButton_skip->isChecked() && QFile::exists( outputDir + outFileName ) ) { | |
538 | 538 | emit current( QString::fromUtf8( "スキップ: " ) + kouza + QString::fromUtf8( " " ) + yyyymmdd ); |
539 | 539 | return true; |
540 | 540 | } |
@@ -611,14 +611,14 @@ QString DownloadThread::paths[] = { | ||
611 | 611 | }; |
612 | 612 | |
613 | 613 | 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, | |
622 | 622 | NULL |
623 | 623 | }; |
624 | 624 |
@@ -123,7 +123,12 @@ MainWindow::MainWindow( QWidget *parent ) | ||
123 | 123 | //action = new QAction( QString::fromUtf8( "スクランブル文字列..." ), this ); |
124 | 124 | //connect( action, SIGNAL( triggered() ), this, SLOT( customizeScramble() ) ); |
125 | 125 | //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 | +} | |
127 | 132 | |
128 | 133 | MainWindow::~MainWindow() { |
129 | 134 | if ( downloadThread ) { |
@@ -147,7 +152,7 @@ void MainWindow::closeEvent( QCloseEvent *event ) { | ||
147 | 152 | |
148 | 153 | void MainWindow::settings( enum ReadWriteMode mode ) { |
149 | 154 | typedef struct CheckBox { |
150 | - QCheckBox* checkBox; | |
155 | + QAbstractButton* checkBox; | |
151 | 156 | QString key; |
152 | 157 | QVariant defaultValue; |
153 | 158 | QString titleKey; |
@@ -158,35 +163,35 @@ void MainWindow::settings( enum ReadWriteMode mode ) { | ||
158 | 163 | #define DefaultTitle "%k_%Y_%M_%D" |
159 | 164 | #define DefaultFileName "%k_%Y_%M_%D.mp3" |
160 | 165 | 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 }, | |
174 | 179 | { ui->checkBox_13, "charo", false, "charo_title", DefaultTitle, "charo_file_name", DefaultFileName }, |
175 | 180 | { ui->checkBox_14, "e-news", false, "e-news_title", DefaultTitle, "e-news_file_name", DefaultFileName }, |
176 | 181 | { 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 }, | |
180 | 185 | { 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, "", "", "", "" }, | |
185 | 190 | { ui->checkBox_keep_on_error, "keep_on_error", false, "", "", "", "" }, |
186 | 191 | { ui->checkBox_this_week, "this_week", true, "", "", "", "" }, |
187 | 192 | { ui->checkBox_next_week, "next_week", false, "", "", "", "" }, |
188 | 193 | { ui->checkBox_past_week, "past_week", false, "", "", "", "" }, |
189 | - { ui->checkBox_detailed_message, "detailed_message", false, "", "", "", "" }, | |
194 | + { ui->toolButton_detailed_message, "detailed_message", false, "", "", "", "" }, | |
190 | 195 | { NULL, NULL, false, "", "", "", "" } |
191 | 196 | }; |
192 | 197 | typedef struct ComboBox { |
@@ -7,7 +7,7 @@ | ||
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | 9 | <width>498</width> |
10 | - <height>442</height> | |
10 | + <height>470</height> | |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <property name="sizePolicy"> |
@@ -19,13 +19,13 @@ | ||
19 | 19 | <property name="minimumSize"> |
20 | 20 | <size> |
21 | 21 | <width>498</width> |
22 | - <height>442</height> | |
22 | + <height>470</height> | |
23 | 23 | </size> |
24 | 24 | </property> |
25 | 25 | <property name="maximumSize"> |
26 | 26 | <size> |
27 | 27 | <width>498</width> |
28 | - <height>442</height> | |
28 | + <height>470</height> | |
29 | 29 | </size> |
30 | 30 | </property> |
31 | 31 | <property name="windowTitle"> |
@@ -44,7 +44,7 @@ | ||
44 | 44 | <x>9</x> |
45 | 45 | <y>9</y> |
46 | 46 | <width>481</width> |
47 | - <height>387</height> | |
47 | + <height>401</height> | |
48 | 48 | </rect> |
49 | 49 | </property> |
50 | 50 | <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 @@ | ||
75 | 75 | <item row="0" column="0"> |
76 | 76 | <layout class="QHBoxLayout" name="horizontalLayout_14"> |
77 | 77 | <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> | |
79 | 90 | <property name="text"> |
80 | 91 | <string>基礎英語1</string> |
81 | 92 | </property> |
93 | + <property name="checkable"> | |
94 | + <bool>true</bool> | |
95 | + </property> | |
82 | 96 | </widget> |
83 | 97 | </item> |
84 | 98 | </layout> |
@@ -86,10 +100,24 @@ | ||
86 | 100 | <item row="0" column="1"> |
87 | 101 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
88 | 102 | <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> | |
90 | 115 | <property name="text"> |
91 | 116 | <string>まいにち中国語</string> |
92 | 117 | </property> |
118 | + <property name="checkable"> | |
119 | + <bool>true</bool> | |
120 | + </property> | |
93 | 121 | </widget> |
94 | 122 | </item> |
95 | 123 | </layout> |
@@ -97,10 +125,24 @@ | ||
97 | 125 | <item row="8" column="1"> |
98 | 126 | <layout class="QHBoxLayout" name="horizontalLayout_13"> |
99 | 127 | <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> | |
101 | 140 | <property name="text"> |
102 | 141 | <string>まいにちロシア語</string> |
103 | 142 | </property> |
143 | + <property name="checkable"> | |
144 | + <bool>true</bool> | |
145 | + </property> | |
104 | 146 | </widget> |
105 | 147 | </item> |
106 | 148 | </layout> |
@@ -108,10 +150,24 @@ | ||
108 | 150 | <item row="7" column="1"> |
109 | 151 | <layout class="QHBoxLayout" name="horizontalLayout_7"> |
110 | 152 | <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> | |
112 | 165 | <property name="text"> |
113 | 166 | <string>まいにちスペイン語</string> |
114 | 167 | </property> |
168 | + <property name="checkable"> | |
169 | + <bool>true</bool> | |
170 | + </property> | |
115 | 171 | </widget> |
116 | 172 | </item> |
117 | 173 | </layout> |
@@ -119,10 +175,24 @@ | ||
119 | 175 | <item row="6" column="1"> |
120 | 176 | <layout class="QHBoxLayout" name="horizontalLayout_6"> |
121 | 177 | <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> | |
123 | 190 | <property name="text"> |
124 | 191 | <string>まいにちドイツ語</string> |
125 | 192 | </property> |
193 | + <property name="checkable"> | |
194 | + <bool>true</bool> | |
195 | + </property> | |
126 | 196 | </widget> |
127 | 197 | </item> |
128 | 198 | </layout> |
@@ -130,10 +200,24 @@ | ||
130 | 200 | <item row="8" column="0"> |
131 | 201 | <layout class="QHBoxLayout" name="horizontalLayout_27"> |
132 | 202 | <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> | |
134 | 215 | <property name="text"> |
135 | 216 | <string>英語で読む村上春樹</string> |
136 | 217 | </property> |
218 | + <property name="checkable"> | |
219 | + <bool>true</bool> | |
220 | + </property> | |
137 | 221 | </widget> |
138 | 222 | </item> |
139 | 223 | </layout> |
@@ -148,11 +232,16 @@ | ||
148 | 232 | <verstretch>0</verstretch> |
149 | 233 | </sizepolicy> |
150 | 234 | </property> |
235 | + <property name="font"> | |
236 | + <font> | |
237 | + <pointsize>12</pointsize> | |
238 | + </font> | |
239 | + </property> | |
151 | 240 | <property name="layoutDirection"> |
152 | 241 | <enum>Qt::LeftToRight</enum> |
153 | 242 | </property> |
154 | 243 | <property name="text"> |
155 | - <string> 拡張子:</string> | |
244 | + <string> 拡張子:</string> | |
156 | 245 | </property> |
157 | 246 | <property name="alignment"> |
158 | 247 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> |
@@ -167,6 +256,11 @@ | ||
167 | 256 | <verstretch>0</verstretch> |
168 | 257 | </sizepolicy> |
169 | 258 | </property> |
259 | + <property name="font"> | |
260 | + <font> | |
261 | + <pointsize>12</pointsize> | |
262 | + </font> | |
263 | + </property> | |
170 | 264 | <item> |
171 | 265 | <property name="text"> |
172 | 266 | <string>3g2</string> |
@@ -225,6 +319,17 @@ | ||
225 | 319 | <layout class="QHBoxLayout" name="horizontalLayout_25"> |
226 | 320 | <item> |
227 | 321 | <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> | |
228 | 333 | <property name="text"> |
229 | 334 | <string>ダウンロード</string> |
230 | 335 | </property> |
@@ -235,13 +340,27 @@ | ||
235 | 340 | <item row="13" column="0"> |
236 | 341 | <layout class="QHBoxLayout" name="horizontalLayout_28"> |
237 | 342 | <item> |
238 | - <widget class="QCheckBox" name="checkBox_detailed_message"> | |
343 | + <widget class="QToolButton" name="toolButton_detailed_message"> | |
239 | 344 | <property name="enabled"> |
240 | 345 | <bool>false</bool> |
241 | 346 | </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> | |
242 | 358 | <property name="text"> |
243 | 359 | <string>詳細なメッセージ</string> |
244 | 360 | </property> |
361 | + <property name="checkable"> | |
362 | + <bool>true</bool> | |
363 | + </property> | |
245 | 364 | <property name="checked"> |
246 | 365 | <bool>false</bool> |
247 | 366 | </property> |
@@ -252,13 +371,27 @@ | ||
252 | 371 | <item row="11" column="0"> |
253 | 372 | <layout class="QHBoxLayout" name="horizontalLayout_22"> |
254 | 373 | <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> | |
256 | 386 | <property name="text"> |
257 | 387 | <string>既存のファイルはスキップ</string> |
258 | 388 | </property> |
259 | - <property name="checked"> | |
389 | + <property name="checkable"> | |
260 | 390 | <bool>true</bool> |
261 | 391 | </property> |
392 | + <property name="checked"> | |
393 | + <bool>false</bool> | |
394 | + </property> | |
262 | 395 | </widget> |
263 | 396 | </item> |
264 | 397 | </layout> |
@@ -266,10 +399,24 @@ | ||
266 | 399 | <item row="7" column="0"> |
267 | 400 | <layout class="QHBoxLayout" name="horizontalLayout_21"> |
268 | 401 | <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> | |
270 | 414 | <property name="text"> |
271 | 415 | <string>攻略英語リスニング</string> |
272 | 416 | </property> |
417 | + <property name="checkable"> | |
418 | + <bool>true</bool> | |
419 | + </property> | |
273 | 420 | </widget> |
274 | 421 | </item> |
275 | 422 | </layout> |
@@ -277,10 +424,24 @@ | ||
277 | 424 | <item row="5" column="0"> |
278 | 425 | <layout class="QHBoxLayout" name="horizontalLayout_19"> |
279 | 426 | <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> | |
281 | 439 | <property name="text"> |
282 | 440 | <string>入門ビジネス英語</string> |
283 | 441 | </property> |
442 | + <property name="checkable"> | |
443 | + <bool>true</bool> | |
444 | + </property> | |
284 | 445 | </widget> |
285 | 446 | </item> |
286 | 447 | </layout> |
@@ -288,10 +449,24 @@ | ||
288 | 449 | <item row="6" column="0"> |
289 | 450 | <layout class="QHBoxLayout" name="horizontalLayout_20"> |
290 | 451 | <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> | |
292 | 464 | <property name="text"> |
293 | 465 | <string>実践ビジネス英語</string> |
294 | 466 | </property> |
467 | + <property name="checkable"> | |
468 | + <bool>true</bool> | |
469 | + </property> | |
295 | 470 | </widget> |
296 | 471 | </item> |
297 | 472 | </layout> |
@@ -299,10 +474,24 @@ | ||
299 | 474 | <item row="4" column="0"> |
300 | 475 | <layout class="QHBoxLayout" name="horizontalLayout_18"> |
301 | 476 | <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> | |
303 | 489 | <property name="text"> |
304 | 490 | <string>ラジオ英会話</string> |
305 | 491 | </property> |
492 | + <property name="checkable"> | |
493 | + <bool>true</bool> | |
494 | + </property> | |
306 | 495 | </widget> |
307 | 496 | </item> |
308 | 497 | </layout> |
@@ -310,10 +499,24 @@ | ||
310 | 499 | <item row="3" column="0"> |
311 | 500 | <layout class="QHBoxLayout" name="horizontalLayout_17"> |
312 | 501 | <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> | |
314 | 514 | <property name="text"> |
315 | 515 | <string>英会話タイムトライアル</string> |
316 | 516 | </property> |
517 | + <property name="checkable"> | |
518 | + <bool>true</bool> | |
519 | + </property> | |
317 | 520 | </widget> |
318 | 521 | </item> |
319 | 522 | </layout> |
@@ -321,10 +524,24 @@ | ||
321 | 524 | <item row="1" column="0"> |
322 | 525 | <layout class="QHBoxLayout" name="horizontalLayout_15"> |
323 | 526 | <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> | |
325 | 539 | <property name="text"> |
326 | 540 | <string>基礎英語2</string> |
327 | 541 | </property> |
542 | + <property name="checkable"> | |
543 | + <bool>true</bool> | |
544 | + </property> | |
328 | 545 | </widget> |
329 | 546 | </item> |
330 | 547 | </layout> |
@@ -332,10 +549,24 @@ | ||
332 | 549 | <item row="2" column="0"> |
333 | 550 | <layout class="QHBoxLayout" name="horizontalLayout_16"> |
334 | 551 | <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> | |
336 | 564 | <property name="text"> |
337 | 565 | <string>基礎英語3</string> |
338 | 566 | </property> |
567 | + <property name="checkable"> | |
568 | + <bool>true</bool> | |
569 | + </property> | |
339 | 570 | </widget> |
340 | 571 | </item> |
341 | 572 | </layout> |
@@ -343,10 +574,24 @@ | ||
343 | 574 | <item row="5" column="1"> |
344 | 575 | <layout class="QHBoxLayout" name="horizontalLayout_11"> |
345 | 576 | <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> | |
347 | 589 | <property name="text"> |
348 | 590 | <string>レベルアップハングル講座</string> |
349 | 591 | </property> |
592 | + <property name="checkable"> | |
593 | + <bool>true</bool> | |
594 | + </property> | |
350 | 595 | </widget> |
351 | 596 | </item> |
352 | 597 | </layout> |
@@ -354,10 +599,24 @@ | ||
354 | 599 | <item row="1" column="1"> |
355 | 600 | <layout class="QHBoxLayout" name="horizontalLayout_9"> |
356 | 601 | <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> | |
358 | 614 | <property name="text"> |
359 | 615 | <string>レベルアップ中国語</string> |
360 | 616 | </property> |
617 | + <property name="checkable"> | |
618 | + <bool>true</bool> | |
619 | + </property> | |
361 | 620 | </widget> |
362 | 621 | </item> |
363 | 622 | </layout> |
@@ -365,10 +624,24 @@ | ||
365 | 624 | <item row="3" column="1"> |
366 | 625 | <layout class="QHBoxLayout" name="horizontalLayout_4"> |
367 | 626 | <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> | |
369 | 639 | <property name="text"> |
370 | 640 | <string>まいにちイタリア語</string> |
371 | 641 | </property> |
642 | + <property name="checkable"> | |
643 | + <bool>true</bool> | |
644 | + </property> | |
372 | 645 | </widget> |
373 | 646 | </item> |
374 | 647 | </layout> |
@@ -376,10 +649,24 @@ | ||
376 | 649 | <item row="2" column="1"> |
377 | 650 | <layout class="QHBoxLayout" name="horizontalLayout_3"> |
378 | 651 | <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> | |
380 | 664 | <property name="text"> |
381 | 665 | <string>まいにちフランス語</string> |
382 | 666 | </property> |
667 | + <property name="checkable"> | |
668 | + <bool>true</bool> | |
669 | + </property> | |
383 | 670 | </widget> |
384 | 671 | </item> |
385 | 672 | </layout> |
@@ -387,10 +674,24 @@ | ||
387 | 674 | <item row="4" column="1"> |
388 | 675 | <layout class="QHBoxLayout" name="horizontalLayout_5"> |
389 | 676 | <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> | |
391 | 689 | <property name="text"> |
392 | 690 | <string>まいにちハングル講座</string> |
393 | 691 | </property> |
692 | + <property name="checkable"> | |
693 | + <bool>true</bool> | |
694 | + </property> | |
394 | 695 | </widget> |
395 | 696 | </item> |
396 | 697 | </layout> |
@@ -398,10 +699,24 @@ | ||
398 | 699 | <item row="9" column="0"> |
399 | 700 | <layout class="QHBoxLayout" name="horizontalLayout_29"> |
400 | 701 | <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> | |
402 | 714 | <property name="text"> |
403 | 715 | <string>エンジョイ・シンプル・イングリッシュ</string> |
404 | 716 | </property> |
717 | + <property name="checkable"> | |
718 | + <bool>true</bool> | |
719 | + </property> | |
405 | 720 | </widget> |
406 | 721 | </item> |
407 | 722 | </layout> |
@@ -735,26 +1050,26 @@ | ||
735 | 1050 | </widget> |
736 | 1051 | <layoutdefault spacing="6" margin="11"/> |
737 | 1052 | <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> | |
758 | 1073 | <tabstop>comboBox_extension</tabstop> |
759 | 1074 | <tabstop>downloadButton</tabstop> |
760 | 1075 | <tabstop>past_days</tabstop> |
@@ -769,7 +1084,7 @@ | ||
769 | 1084 | <tabstop>checkBox_enews_past</tabstop> |
770 | 1085 | <tabstop>checkBox_keep_on_error</tabstop> |
771 | 1086 | <tabstop>checkBox_past_week</tabstop> |
772 | - <tabstop>checkBox_detailed_message</tabstop> | |
1087 | + <tabstop>toolButton_detailed_message</tabstop> | |
773 | 1088 | </tabstops> |
774 | 1089 | <resources/> |
775 | 1090 | <connections> |
@@ -0,0 +1,5 @@ | ||
1 | +<RCC> | |
2 | +<qresource prefix="/"> | |
3 | + <file>default.qss</file> | |
4 | +</qresource> | |
5 | +</RCC> |