Gefu.rc \
README.md
-mac {
+macx {
ICON = ./images/Gefu.icns
}
Gefu is Experimental File Utility.
### TODO
+- 初期表示時にカーソルがハイライトされないorz
- オプション
- ファンクションキー
- ドラッグ&ドロップ
+- ファイル検索
- 簡易テキストビューア
- 簡易画像ビューア
- 簡易アーカイバ
- SNS連携(タイムライン表示とか)
+#### 2014/08/22 Ver0.04
+-不具合修正
+ - ソート順でフォルダ位置が先頭以外の場合、".."もソートされていたのを修正。
+ (ソート方法によらず、".."は必ず先頭にした)
+ - 各ダイアログのフォーカス周りを修正。
+ - is "an" Experimental ... とか、バージョン情報ダイアログの修正。
+ - MacのDockにアイコンが正しく表示されていなかったのを修正。
+ - フォルダ内容変更による再読込時、カーソル位置が初期化されていたのを修正。
+- 「最新の情報に更新」を追加。
+
#### 2014/08/21 Ver0.03 公開
- 環境設定ダイアログおよびオプションを実装。
- 終了時の確認ダイアログ。
extern MainWindow* getMainWnd();\r
extern QString FilesizeToString(quint64 size);\r
\r
-#define VERSION_VALUE 0.03\r
+#define VERSION_VALUE 0.04\r
\r
#define slash QString("/")\r
#define QQ(x) ("\"" + (x) + "\"")\r
qDebug() << path;\r
}\r
else {\r
- QFileInfoList::iterator it;\r
+ QFileInfoList::iterator it, itRoot = m_fileInfoList.end();\r
for (it = m_fileInfoList.begin(); it != m_fileInfoList.end(); ) {\r
- if (it->fileName() == ".." && m_dir.isRoot()) {\r
- it = m_fileInfoList.erase(it);\r
- continue;\r
+ if (it->fileName() == "..") {\r
+ if (m_dir.isRoot()) {\r
+ it = m_fileInfoList.erase(it);\r
+ itRoot = m_fileInfoList.end();\r
+ continue;\r
+ }\r
+ else {\r
+ itRoot = it;\r
+ }\r
}\r
#ifdef Q_OS_WIN32\r
if (!(filter() & QDir::System)){\r
#endif\r
it++;\r
}\r
+ // ソート方法によらず、".."は必ず先頭にする\r
+ if (itRoot != m_fileInfoList.begin() && itRoot != m_fileInfoList.end()) {\r
+ QFileInfo info(*itRoot);\r
+ m_fileInfoList.erase(itRoot);\r
+ m_fileInfoList.push_front(info);\r
+ }\r
}\r
+\r
m_checkStates.resize(m_fileInfoList.size());\r
m_checkStates.fill(Qt::Unchecked);\r
\r
m_fsWatcher = new QFileSystemWatcher(this);\r
m_fsWatcher->addPath(path);\r
connect(m_fsWatcher, SIGNAL(directoryChanged(QString)),\r
- this, SLOT(refresh()));\r
+// this, SLOT(refresh()));\r
+ this, SIGNAL(listUpdated()));\r
\r
endResetModel();\r
\r
endResetModel();\r
}\r
\r
+//void FileTableModel::refresh()\r
+//{\r
+// setPath(m_dir.absolutePath());\r
+\r
+//}\r
+\r
void FileTableModel::stateChanged()\r
{\r
int numFolder = 0;\r
signals:\r
void rootChanged(const QString &root);\r
void stateChanged(int checkedFoldrs, int checkedFiles, quint64 totalSize);\r
+ void listUpdated();\r
\r
public slots:\r
- void refresh() { setPath(m_dir.absolutePath()); }\r
+// void refresh();\r
\r
private:\r
QDir m_dir;\r
connect(MENU_TRRIGGERED(view_ToOther), this, SLOT(setPathToOther()));\r
connect(MENU_TRRIGGERED(view_Swap), this, SLOT(swapPath()));\r
connect(MENU_TRRIGGERED(view_Sort), this, SLOT(setSort()));\r
+ connect(MENU_TRRIGGERED(view_Refresh), this, SLOT(refresh()));\r
\r
connect(MENU_TRRIGGERED(move_Back), this, SLOT(back()));\r
connect(MENU_TRRIGGERED(move_Forward), this, SLOT(forward()));\r
void FileTableView::setRootPath(const QString &path, bool addHistory)\r
{\r
FileTableModel *m = static_cast<FileTableModel*>(model());\r
+ int curRow = currentIndex().row();\r
QFileInfo info(path);\r
+ bool isReload = false;\r
+\r
if (info.isDir()) {\r
+ getMainWnd()->statusBar()->showMessage(tr("ファイルリストの取得中..."));\r
+ if (info.absoluteFilePath() == m->absolutePath()) {\r
+ isReload = true;\r
+ }\r
setUpdatesEnabled(false);\r
m->setPath(info.absoluteFilePath());\r
setUpdatesEnabled(true);\r
}\r
updateMenu();\r
\r
- setCurrentIndex(m->index(0, 0));\r
+ if (isReload) {\r
+ if (curRow < 0) {\r
+ curRow = 0;\r
+ }\r
+ else if (curRow >= m->rowCount()) {\r
+ curRow = m->rowCount() - 1;\r
+ }\r
+ }\r
+ else {\r
+ curRow = 0;\r
+ }\r
+ qDebug() << curRow;\r
+ setCurrentIndex(m->index(curRow, 0));\r
+ selectRow(curRow);\r
+ getMainWnd()->statusBar()->showMessage(tr("レディ"), 5000);\r
}\r
}\r
\r
}\r
\r
setUpdatesEnabled(false);\r
- m->refresh();\r
+ refresh();\r
setUpdatesEnabled(true);\r
}\r
\r
}\r
\r
setUpdatesEnabled(false);\r
- m->refresh();\r
+ refresh();\r
setUpdatesEnabled(true);\r
}\r
\r
}\r
\r
setUpdatesEnabled(false);\r
- m->refresh();\r
+ refresh();\r
setUpdatesEnabled(true);\r
}\r
}\r
\r
+void FileTableView::refresh()\r
+{\r
+ FileTableModel *m = static_cast<FileTableModel*>(model());\r
+ int row = currentIndex().row();\r
+ setRootPath(m->absolutePath(), false);\r
+ if (row >= m->rowCount()) {\r
+ row = m->rowCount() - 1;\r
+ }\r
+ setCurrentIndex(m->index(row, 0));\r
+ selectRow(row);\r
+}\r
+\r
void FileTableView::back()\r
{\r
CHECK_FOCUS;\r
}\r
}\r
\r
- if (!ksq.isEmpty()) {\r
+ if (!ksq.isEmpty() && ksq != "Down" && ksq != "Up") {\r
qDebug() << ksq;\r
}\r
QTableView::keyPressEvent(event);\r
void FileTableView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous)\r
{\r
Q_UNUSED(previous);\r
-// qDebug() << "CurrentChanged";\r
-// qDebug() << " row = " << current.row();\r
\r
FileTableModel *m = static_cast<FileTableModel*>(model());\r
-// qDebug() << m->absoluteFilePath(current);\r
emit indexChanged(m->absoluteFilePath(current));\r
\r
QTableView::currentChanged(current, previous);\r
void showHiddenFiles(bool show);\r
void showSystemFiles(bool show);\r
void setSort();\r
+ void refresh();\r
\r
void back();\r
void forward();\r
ui->locationField, SLOT(setText(QString)));\r
connect(model, SIGNAL(stateChanged(int,int,quint64)),\r
this, SLOT(onStateChanged(int,int,quint64)));\r
+ connect(model, SIGNAL(listUpdated()),\r
+ ui->fileTable, SLOT(refresh()));\r
\r
//>>>>> フィルタ初期化\r
model->setFilter(QDir::NoDot | QDir::AllDirs | QDir::Files);\r
default: model->setSorting(model->sorting() | QDir::Name); break;\r
}\r
// デフォルトだと文字列は昇順で、数値は降順…orz\r
- int orderBy = settings.value(side + slash + IniKey_OrderBy, OrderByDesc).toInt();\r
+ int orderBy = settings.value(side + slash + IniKey_OrderBy, OrderByAsc).toInt();\r
if (((sortBy == SortByName || sortBy == SortByType) && orderBy == OrderByDesc) ||\r
((sortBy == SortByDate || sortBy == SortBySize) && orderBy == OrderByAsc))\r
{\r
model->updateAppearance();\r
ui->fileTable->setModel(model);\r
ui->fileTable->setRootPath(path, true);\r
- ui->fileTable->selectRow(0);\r
}\r
\r
void FolderPanel::updateAppearance()\r
\r
ui->locationField->blockSignals(false);\r
}\r
+\r
<item>
<widget class="QRadioButton" name="leftPane">
<property name="focusPolicy">
- <enum>Qt::TabFocus</enum>
+ <enum>Qt::StrongFocus</enum>
</property>
<property name="text">
<string>左ペイン</string>
<item>
<widget class="QRadioButton" name="rightPane">
<property name="focusPolicy">
- <enum>Qt::TabFocus</enum>
+ <enum>Qt::StrongFocus</enum>
</property>
<property name="text">
<string>右ペイン</string>
<item>
<widget class="QListWidget" name="listWidget">
<property name="focusPolicy">
- <enum>Qt::TabFocus</enum>
+ <enum>Qt::StrongFocus</enum>
</property>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="focusPolicy">
- <enum>Qt::TabFocus</enum>
+ <enum>Qt::StrongFocus</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
a.setOrganizationName("miyabi");\r
a.setOrganizationDomain("rakusaba.jp");\r
a.setApplicationName("Gefu");\r
+#if defined(Q_OS_MAC) || defined(Q_OS_MAC64) || defined(Q_OS_MACX)\r
+ a.setWindowIcon(QIcon(":/images/Gefu.icns"));\r
+#else\r
a.setWindowIcon(QIcon(":/images/Gefu.png"));\r
-\r
+#endif\r
QSettings::setDefaultFormat(QSettings::IniFormat);\r
QSettings settings;\r
if (settings.value(IniKey_ResetOnBoot, false).toBool()) {\r
shortcuts.append(QKeySequence("Shift+M"));\r
ui->action_Exec->setShortcuts(shortcuts);\r
\r
+ shortcuts = ui->help_About->shortcuts();\r
+ shortcuts.append(QKeySequence("Shift+?")); // マヂで!?\r
+ ui->help_About->setShortcuts(shortcuts);\r
+\r
// シグナル/スロットを設定する\r
connect(ui->action_Setting, SIGNAL(triggered()), this, SLOT(onActionSetting()));\r
connect(ui->action_Quit, SIGNAL(triggered()), this, SLOT(close()));\r
// ウィンドウタイトルを設定する\r
setWindowTitle(tr("げふぅ v%1").arg(VERSION_VALUE));\r
// ウィンドウアイコンを設定する\r
+#if defined(Q_OS_MAC) || defined(Q_OS_MAC64) || defined(Q_OS_MACX)\r
+ setWindowIcon(QIcon(":/images/Gefu.icns"));\r
+#else\r
setWindowIcon(QIcon(":/images/Gefu.png"));\r
+#endif\r
//>>>>> ウィンドウサイズと位置を設定する\r
QString strValue;\r
QPoint point = this->geometry().topLeft();\r
this,\r
tr("げふぅ について"),\r
tr("<h3>Gefu Ver%1</h3>").arg(VERSION_VALUE) +\r
- tr("<center>Gefu is Experimental File Utility.<br/>"\r
- "(げふぅは実験的なファイルユーティリティです)</center>"\r
- "<p>Copyright 2014 @miyabi_satoh All rights reserved.</p>"));\r
+ tr("<center>Gefu is an Experimental File Utility.<br/>"\r
+ "<small>(げふぅは実験的なファイルユーティリティです)</small></center>"\r
+ "<p>最新版の情報は<a href='http://miyabi.rakusaba.jp'>喫茶・雅</a>で公開しています。</p>"\r
+ "<p><small>Copyright 2014 @miyabi_satoh All rights reserved.</small></p>"));\r
}\r
\r
MainWindow* getMainWnd()\r
<addaction name="mark_AllFiles"/>\r
<addaction name="mark_AllOff"/>\r
<addaction name="separator"/>\r
+ <addaction name="view_Refresh"/>\r
+ <addaction name="separator"/>\r
<addaction name="move_Back"/>\r
<addaction name="move_Forward"/>\r
<addaction name="move_Root"/>\r
<x>0</x>\r
<y>0</y>\r
<width>662</width>\r
- <height>24</height>\r
+ <height>22</height>\r
</rect>\r
</property>\r
<widget class="QMenu" name="menu_File">\r
<addaction name="view_FromOther"/>\r
<addaction name="view_ToOther"/>\r
<addaction name="view_Swap"/>\r
+ <addaction name="view_Refresh"/>\r
<addaction name="separator"/>\r
<addaction name="view_Hidden"/>\r
<addaction name="view_System"/>\r
<string>Shift+S</string>\r
</property>\r
</action>\r
+ <action name="view_Refresh">\r
+ <property name="icon">\r
+ <iconset resource="resource.qrc">\r
+ <normaloff>:/images/Refresh.png</normaloff>:/images/Refresh.png</iconset>\r
+ </property>\r
+ <property name="text">\r
+ <string>最新の情報に更新</string>\r
+ </property>\r
+ <property name="toolTip">\r
+ <string>最新の情報に更新</string>\r
+ </property>\r
+ <property name="shortcut">\r
+ <string>L</string>\r
+ </property>\r
+ </action>\r
</widget>\r
<layoutdefault spacing="6" margin="11"/>\r
<customwidgets>\r
<x>0</x>\r
<y>0</y>\r
<width>400</width>\r
- <height>300</height>\r
+ <height>349</height>\r
</rect>\r
</property>\r
<property name="windowTitle">\r
<layout class="QHBoxLayout" name="horizontalLayout">\r
<item>\r
<widget class="QCheckBox" name="chkAutoClose">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>成功時、自動的に閉じる</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QPushButton" name="btnCloseCancel">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>キャンセル</string>\r
</property>\r
<verstretch>0</verstretch>\r
</sizepolicy>\r
</property>\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>詳細を表示</string>\r
</property>\r
<rect>\r
<x>0</x>\r
<y>0</y>\r
- <width>384</width>\r
- <height>286</height>\r
+ <width>462</width>\r
+ <height>319</height>\r
</rect>\r
</property>\r
<property name="windowTitle">\r
<layout class="QVBoxLayout" name="verticalLayout">\r
<item>\r
<widget class="QRadioButton" name="rbOverWrite">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>上書き</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QRadioButton" name="rbOverWriteIfNew">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>新しければ上書き</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QRadioButton" name="rbAppendNumber">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>ファイル名末尾に数字を付与</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QRadioButton" name="rbSkip">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>スキップ</string>\r
</property>\r
<layout class="QHBoxLayout" name="horizontalLayout">\r
<item>\r
<widget class="QRadioButton" name="rbRename">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>名前を変更</string>\r
</property>\r
<layout class="QHBoxLayout" name="horizontalLayout_2">\r
<item>\r
<widget class="QCheckBox" name="checkBox">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>同じ処理を以降の競合にも適用する</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QDialogButtonBox" name="buttonBox">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="orientation">\r
<enum>Qt::Horizontal</enum>\r
</property>\r
<x>0</x>
<y>0</y>
<width>589</width>
- <height>443</height>
+ <height>527</height>
</rect>
</property>
<property name="sizePolicy">
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QTabWidget" name="tabWidget">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="currentIndex">
<number>1</number>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QCheckBox" name="confirmExit">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>終了時に確認ダイアログを表示する</string>
</property>
</item>
<item>
<widget class="QCheckBox" name="bootSize">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>起動時のウィンドウサイズを指定する</string>
</property>
</item>
<item>
<widget class="QRadioButton" name="sizeAbsolute">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>絶対指定</string>
</property>
</item>
<item>
<widget class="QRadioButton" name="sizeRelative">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>相対指定</string>
</property>
</item>
<item>
<widget class="QRadioButton" name="sizeLast">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>前回終了時のサイズ</string>
</property>
</item>
<item>
<widget class="QCheckBox" name="bootPos">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>起動時のウィンドウ位置を指定する</string>
</property>
</item>
<item>
<widget class="QRadioButton" name="posAbsolute">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>絶対指定</string>
</property>
</item>
<item>
<widget class="QRadioButton" name="posRelative">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>相対指定</string>
</property>
</item>
<item>
<widget class="QRadioButton" name="posCenter">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>画面中央</string>
</property>
</item>
<item>
<widget class="QRadioButton" name="posLast">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>前回終了時の位置</string>
</property>
</item>
<item>
<widget class="QCheckBox" name="resetOnBoot">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>次回起動時に設定ファイルをクリアする</string>
</property>
</item>
<item>
<widget class="QCheckBox" name="boxFontBold">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>太字</string>
</property>
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>文字色</string>
</property>
</item>
<item>
<widget class="QPushButton" name="boxClrBg">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>背景色</string>
</property>
</item>
<item>
<widget class="QCheckBox" name="viewFontBold">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>太字</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_19">
<item>
<widget class="QPushButton" name="clrFgNormal">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>通常</string>
</property>
</item>
<item>
<widget class="QPushButton" name="clrFgMark">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>マーク</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_20">
<item>
<widget class="QPushButton" name="clrFgSystem">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>システム</string>
</property>
</item>
<item>
<widget class="QPushButton" name="clrFgHidden">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>隠し属性</string>
</property>
</item>
<item>
<widget class="QPushButton" name="clrFgReadonly">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>読取専用</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_18">
<item>
<widget class="QPushButton" name="clrBgNormal">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>通常</string>
</property>
</item>
<item>
<widget class="QPushButton" name="clrBgMark">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="text">
<string>マーク</string>
</property>
<height>0</height>
</size>
</property>
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<tabstop>relativeTop</tabstop>
<tabstop>posCenter</tabstop>
<tabstop>posLast</tabstop>
+ <tabstop>resetOnBoot</tabstop>
<tabstop>boxFont</tabstop>
<tabstop>boxFontSize</tabstop>
<tabstop>boxFontBold</tabstop>
+ <tabstop>boxClrFg</tabstop>
+ <tabstop>boxClrBg</tabstop>
+ <tabstop>sampleEdit</tabstop>
<tabstop>viewFont</tabstop>
<tabstop>viewFontSize</tabstop>
<tabstop>viewFontBold</tabstop>
+ <tabstop>clrFgNormal</tabstop>
+ <tabstop>clrFgMark</tabstop>
+ <tabstop>clrFgSystem</tabstop>
+ <tabstop>clrFgHidden</tabstop>
+ <tabstop>clrFgReadonly</tabstop>
+ <tabstop>clrBgNormal</tabstop>
+ <tabstop>clrBgMark</tabstop>
</tabstops>
<resources/>
<connections>
</connection>
</connections>
<buttongroups>
- <buttongroup name="sizeOptions"/>
<buttongroup name="posOptions"/>
+ <buttongroup name="sizeOptions"/>
</buttongroups>
</ui>
<verstretch>0</verstretch>\r
</sizepolicy>\r
</property>\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>大文字にする</string>\r
</property>\r
<verstretch>0</verstretch>\r
</sizepolicy>\r
</property>\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>小文字にする</string>\r
</property>\r
<verstretch>0</verstretch>\r
</sizepolicy>\r
</property>\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>大文字にする</string>\r
</property>\r
<verstretch>0</verstretch>\r
</sizepolicy>\r
</property>\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>小文字にする</string>\r
</property>\r
<verstretch>0</verstretch>\r
</sizepolicy>\r
</property>\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>設定</string>\r
</property>\r
<verstretch>0</verstretch>\r
</sizepolicy>\r
</property>\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>設定</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QDialogButtonBox" name="buttonBox">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="orientation">\r
<enum>Qt::Horizontal</enum>\r
</property>\r
<layout class="QHBoxLayout" name="horizontalLayout_3">\r
<item>\r
<widget class="QPushButton" name="btn_UpperAll">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>大文字にする</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QPushButton" name="btn_LowerAll">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>小文字にする</string>\r
</property>\r
<layout class="QHBoxLayout" name="horizontalLayout_4">\r
<item>\r
<widget class="QPushButton" name="btn_UpperExt">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>大文字にする</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QPushButton" name="btn_LowerExt">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>小文字にする</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QDialogButtonBox" name="buttonBox">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="orientation">\r
<enum>Qt::Horizontal</enum>\r
</property>\r
<file>images/Zoom in.png</file>
<file>images/Zoom out.png</file>
<file>images/Gefu.png</file>
+ <file>images/Gefu.icns</file>
</qresource>
</RCC>
<rect>\r
<x>0</x>\r
<y>0</y>\r
- <width>273</width>\r
- <height>185</height>\r
+ <width>335</width>\r
+ <height>210</height>\r
</rect>\r
</property>\r
<property name="windowTitle">\r
<layout class="QVBoxLayout" name="verticalLayout">\r
<item>\r
<widget class="QRadioButton" name="sortByName">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>名前順</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QRadioButton" name="sortByDate">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>更新日時順</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QRadioButton" name="sortBySize">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>サイズ順</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QRadioButton" name="sortByType">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>拡張子順</string>\r
</property>\r
<layout class="QVBoxLayout" name="verticalLayout_2">\r
<item>\r
<widget class="QRadioButton" name="orderAsc">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>昇順</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QRadioButton" name="orderDesc">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>降順</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QRadioButton" name="dirsFirst">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>先頭</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QRadioButton" name="dirsLast">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>最後</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QRadioButton" name="dirsDefault">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>優先なし</string>\r
</property>\r
</item>\r
<item>\r
<widget class="QCheckBox" name="ignoreCase">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="text">\r
<string>区別しない</string>\r
</property>\r
</item>\r
<item row="3" column="0" colspan="2">\r
<widget class="QDialogButtonBox" name="buttonBox">\r
+ <property name="focusPolicy">\r
+ <enum>Qt::StrongFocus</enum>\r
+ </property>\r
<property name="orientation">\r
<enum>Qt::Horizontal</enum>\r
</property>\r
</connections>\r
<buttongroups>\r
<buttongroup name="buttonGroup_2"/>\r
- <buttongroup name="buttonGroup_3"/>\r
<buttongroup name="buttonGroup"/>\r
+ <buttongroup name="buttonGroup_3"/>\r
</buttongroups>\r
</ui>\r