OSDN Git Service

最初のコミット。
authorMasayuki Satoh <miyabi.satoh@gmail.com>
Fri, 15 Aug 2014 13:53:27 +0000 (22:53 +0900)
committerMasayuki Satoh <miyabi.satoh@gmail.com>
Fri, 15 Aug 2014 13:53:27 +0000 (22:53 +0900)
254 files changed:
folderpanel.cpp [new file with mode: 0644]
folderpanel.h [new file with mode: 0644]
folderpanel.ui [new file with mode: 0644]
images/16 colors.png [new file with mode: 0644]
images/256 colors.png [new file with mode: 0644]
images/3d bar chart.png [new file with mode: 0644]
images/3d chart.png [new file with mode: 0644]
images/3d graph.png [new file with mode: 0644]
images/About.png [new file with mode: 0644]
images/Add folder.png [new file with mode: 0644]
images/Add.png [new file with mode: 0644]
images/Angle.png [new file with mode: 0644]
images/Apply.png [new file with mode: 0644]
images/Arc.png [new file with mode: 0644]
images/Arrow.png [new file with mode: 0644]
images/Attach.png [new file with mode: 0644]
images/Back.png [new file with mode: 0644]
images/Bitmap editor.png [new file with mode: 0644]
images/Brightness.png [new file with mode: 0644]
images/Brush.png [new file with mode: 0644]
images/CMYK.png [new file with mode: 0644]
images/Camera.png [new file with mode: 0644]
images/Cancel.png [new file with mode: 0644]
images/Chart xy.png [new file with mode: 0644]
images/Check boxes.png [new file with mode: 0644]
images/Circle.png [new file with mode: 0644]
images/Clear.png [new file with mode: 0644]
images/Clipboard.png [new file with mode: 0644]
images/Close file.png [new file with mode: 0644]
images/Close folder.png [new file with mode: 0644]
images/Close.png [new file with mode: 0644]
images/Coffe.png [new file with mode: 0644]
images/Coffee.png [new file with mode: 0644]
images/Color balance.png [new file with mode: 0644]
images/Color filter.png [new file with mode: 0644]
images/Color layers.png [new file with mode: 0644]
images/Color palette.png [new file with mode: 0644]
images/Color profile.png [new file with mode: 0644]
images/Color test.png [new file with mode: 0644]
images/Color.png [new file with mode: 0644]
images/Comment.png [new file with mode: 0644]
images/Contrast.png [new file with mode: 0644]
images/Copy.png [new file with mode: 0644]
images/Create.png [new file with mode: 0644]
images/Critical details.png [new file with mode: 0644]
images/Curve points.png [new file with mode: 0644]
images/Curve.png [new file with mode: 0644]
images/Cut.png [new file with mode: 0644]
images/Danger.png [new file with mode: 0644]
images/Decrease time.png [new file with mode: 0644]
images/Delete frame.png [new file with mode: 0644]
images/Delete frames.png [new file with mode: 0644]
images/Delete.png [new file with mode: 0644]
images/Designer.png [new file with mode: 0644]
images/Diagram.png [new file with mode: 0644]
images/Down.png [new file with mode: 0644]
images/Download image.png [new file with mode: 0644]
images/Download.png [new file with mode: 0644]
images/Dropper.png [new file with mode: 0644]
images/E-mail.png [new file with mode: 0644]
images/Edit page.png [new file with mode: 0644]
images/Edit text.png [new file with mode: 0644]
images/Edit.png [new file with mode: 0644]
images/Ellipse.png [new file with mode: 0644]
images/Equipment.png [new file with mode: 0644]
images/Erase.png [new file with mode: 0644]
images/Eraser.png [new file with mode: 0644]
images/Error.png [new file with mode: 0644]
images/Exit.png [new file with mode: 0644]
images/Export.png [new file with mode: 0644]
images/Favourites.png [new file with mode: 0644]
images/Feather.png [new file with mode: 0644]
images/File exetension.png [new file with mode: 0644]
images/Fill.png [new file with mode: 0644]
images/Find.png [new file with mode: 0644]
images/Fine brush.png [new file with mode: 0644]
images/Flip horizontally.png [new file with mode: 0644]
images/Flip vertically.png [new file with mode: 0644]
images/Flip.png [new file with mode: 0644]
images/Flow block.png [new file with mode: 0644]
images/Flower.png [new file with mode: 0644]
images/Folder.png [new file with mode: 0644]
images/Form.png [new file with mode: 0644]
images/Forward.png [new file with mode: 0644]
images/Frames.png [new file with mode: 0644]
images/Funnel.png [new file with mode: 0644]
images/Go down.png [new file with mode: 0644]
images/Go up.png [new file with mode: 0644]
images/Gpadient.png [new file with mode: 0644]
images/Graphic designer.png [new file with mode: 0644]
images/Graphic file.png [new file with mode: 0644]
images/Graphic tools.png [new file with mode: 0644]
images/Grid.png [new file with mode: 0644]
images/HSL.png [new file with mode: 0644]
images/HSV.png [new file with mode: 0644]
images/Help book.png [new file with mode: 0644]
images/Help.png [new file with mode: 0644]
images/Hexagon.png [new file with mode: 0644]
images/Hide.png [new file with mode: 0644]
images/Hint.png [new file with mode: 0644]
images/Hints.png [new file with mode: 0644]
images/Home.png [new file with mode: 0644]
images/Homepage.png [new file with mode: 0644]
images/Ico.png [new file with mode: 0644]
images/Icon wizard.png [new file with mode: 0644]
images/Import.png [new file with mode: 0644]
images/Increase time.png [new file with mode: 0644]
images/Index.png [new file with mode: 0644]
images/Info.png [new file with mode: 0644]
images/Key.png [new file with mode: 0644]
images/Knife.png [new file with mode: 0644]
images/LAB color model.png [new file with mode: 0644]
images/Layers.png [new file with mode: 0644]
images/Left-right.png [new file with mode: 0644]
images/Left.png [new file with mode: 0644]
images/Line.png [new file with mode: 0644]
images/List.png [new file with mode: 0644]
images/Lock color.png [new file with mode: 0644]
images/Lock transparency.png [new file with mode: 0644]
images/Lock.png [new file with mode: 0644]
images/Magic hat.png [new file with mode: 0644]
images/Measure.png [new file with mode: 0644]
images/Microsoft flag.png [new file with mode: 0644]
images/Monitor.png [new file with mode: 0644]
images/Monitors.png [new file with mode: 0644]
images/Mouse pointer.png [new file with mode: 0644]
images/Mouse.png [new file with mode: 0644]
images/Move.png [new file with mode: 0644]
images/Movie.png [new file with mode: 0644]
images/New clip art.png [new file with mode: 0644]
images/New file.png [new file with mode: 0644]
images/New frame.png [new file with mode: 0644]
images/New frame1.png [new file with mode: 0644]
images/New image.png [new file with mode: 0644]
images/New imagelist.png [new file with mode: 0644]
images/New video.png [new file with mode: 0644]
images/No.png [new file with mode: 0644]
images/Objects.png [new file with mode: 0644]
images/Ok.png [new file with mode: 0644]
images/Open colors.png [new file with mode: 0644]
images/Open file.png [new file with mode: 0644]
images/Open v2.png [new file with mode: 0644]
images/Open.png [new file with mode: 0644]
images/Paint over pixels.png [new file with mode: 0644]
images/Painter.png [new file with mode: 0644]
images/Pantone.png [new file with mode: 0644]
images/Paste.png [new file with mode: 0644]
images/Pen.png [new file with mode: 0644]
images/Pencil.png [new file with mode: 0644]
images/Pick color.png [new file with mode: 0644]
images/Picture.png [new file with mode: 0644]
images/Pie chart.png [new file with mode: 0644]
images/Pin.png [new file with mode: 0644]
images/Pinion.png [new file with mode: 0644]
images/Pixel editor.png [new file with mode: 0644]
images/Pixels.png [new file with mode: 0644]
images/Play.png [new file with mode: 0644]
images/Preview.png [new file with mode: 0644]
images/Print.png [new file with mode: 0644]
images/Problem.png [new file with mode: 0644]
images/Properties.png [new file with mode: 0644]
images/RGB.png [new file with mode: 0644]
images/Red book.png [new file with mode: 0644]
images/Red eye removing.png [new file with mode: 0644]
images/Redo.png [new file with mode: 0644]
images/Refresh.png [new file with mode: 0644]
images/Registration.png [new file with mode: 0644]
images/Registry.png [new file with mode: 0644]
images/Rename.png [new file with mode: 0644]
images/Replace pixels.png [new file with mode: 0644]
images/Resize image.png [new file with mode: 0644]
images/Restangle.png [new file with mode: 0644]
images/Revert.png [new file with mode: 0644]
images/Right.png [new file with mode: 0644]
images/Rotate CCW.png [new file with mode: 0644]
images/Rotate CW.png [new file with mode: 0644]
images/Rotate left.png [new file with mode: 0644]
images/Rotate right.png [new file with mode: 0644]
images/Rotation.png [new file with mode: 0644]
images/Rounded rectangle.png [new file with mode: 0644]
images/Save as.png [new file with mode: 0644]
images/Save color.png [new file with mode: 0644]
images/Save data.png [new file with mode: 0644]
images/Save image.png [new file with mode: 0644]
images/Save picture.png [new file with mode: 0644]
images/Save.png [new file with mode: 0644]
images/Scan film.png [new file with mode: 0644]
images/Scan image.png [new file with mode: 0644]
images/Scanner.png [new file with mode: 0644]
images/Scenario.png [new file with mode: 0644]
images/Script.png [new file with mode: 0644]
images/Search computer.png [new file with mode: 0644]
images/Search folder.png [new file with mode: 0644]
images/Search online.png [new file with mode: 0644]
images/Search text.png [new file with mode: 0644]
images/Search.png [new file with mode: 0644]
images/Select gpadient.png [new file with mode: 0644]
images/Selection.png [new file with mode: 0644]
images/Settings.png [new file with mode: 0644]
images/Sharpness.png [new file with mode: 0644]
images/Show.png [new file with mode: 0644]
images/Sizes.png [new file with mode: 0644]
images/Smooth line.png [new file with mode: 0644]
images/Smooth.png [new file with mode: 0644]
images/Spell checking.png [new file with mode: 0644]
images/Spiral.png [new file with mode: 0644]
images/Spray.png [new file with mode: 0644]
images/Square.png [new file with mode: 0644]
images/Stop playing.png [new file with mode: 0644]
images/Stop.png [new file with mode: 0644]
images/Synchronize.png [new file with mode: 0644]
images/Tag.png [new file with mode: 0644]
images/Target.png [new file with mode: 0644]
images/Target1.png [new file with mode: 0644]
images/Test line.png [new file with mode: 0644]
images/Text color.png [new file with mode: 0644]
images/Text replace.png [new file with mode: 0644]
images/Text tool.png [new file with mode: 0644]
images/Time.png [new file with mode: 0644]
images/Tip of the day.png [new file with mode: 0644]
images/To do list.png [new file with mode: 0644]
images/Tools.png [new file with mode: 0644]
images/Touch.png [new file with mode: 0644]
images/Transparency.png [new file with mode: 0644]
images/Transparent background.png [new file with mode: 0644]
images/Transparent color.png [new file with mode: 0644]
images/Triangle.png [new file with mode: 0644]
images/True color.png [new file with mode: 0644]
images/Undo.png [new file with mode: 0644]
images/Units.png [new file with mode: 0644]
images/Unlock.png [new file with mode: 0644]
images/Up-down.png [new file with mode: 0644]
images/Up.png [new file with mode: 0644]
images/Upload image.png [new file with mode: 0644]
images/Wait.png [new file with mode: 0644]
images/Warning.png [new file with mode: 0644]
images/Web designer.png [new file with mode: 0644]
images/Webcam.png [new file with mode: 0644]
images/Wide brush.png [new file with mode: 0644]
images/Wizard.png [new file with mode: 0644]
images/Work area.png [new file with mode: 0644]
images/Writing pencil.png [new file with mode: 0644]
images/Wrong.png [new file with mode: 0644]
images/YUV color space.png [new file with mode: 0644]
images/Yes.png [new file with mode: 0644]
images/Zoom auto.png [new file with mode: 0644]
images/Zoom in.png [new file with mode: 0644]
images/Zoom out.png [new file with mode: 0644]
images/Zoom.png [new file with mode: 0644]
main.cpp [new file with mode: 0644]
mainwindow.cpp [new file with mode: 0644]
mainwindow.h [new file with mode: 0644]
mainwindow.ui [new file with mode: 0644]
resource.qrc [new file with mode: 0644]

diff --git a/folderpanel.cpp b/folderpanel.cpp
new file mode 100644 (file)
index 0000000..089e5fb
--- /dev/null
@@ -0,0 +1,245 @@
+#include "folderpanel.h"\r
+#include "mainwindow.h"\r
+#include "ui_folderpanel.h"\r
+#include <QFileIconProvider>\r
+#include <QCheckBox>\r
+#include <QMessageBox>\r
+#include <QKeyEvent>\r
+#include <QDebug>\r
+#include <QDateTime>\r
+#include <QDesktopServices>\r
+\r
+FolderPanel::FolderPanel(QWidget *parent) :\r
+    QWidget(parent),\r
+    ui(new Ui::FolderPanel)\r
+{\r
+    ui->setupUi(this);\r
+\r
+    // MainWindowのスロットに接続する\r
+    foreach (QWidget *w, qApp->topLevelWidgets()) {\r
+        if (w->objectName() == "MainWindow") {\r
+            MainWindow *mainWnd = static_cast<MainWindow*>(w);\r
+            connect(ui->fileTable, SIGNAL(cellDoubleClicked(int,int)), mainWnd, SLOT(on_action_Open_triggered()));\r
+        }\r
+    }\r
+\r
+\r
+\r
+\r
+\r
+    // ヘッダーラベルを設定する\r
+    QStringList labels;\r
+    labels << tr("") << tr("Name") << tr("Size") << tr("Date");\r
+    ui->fileTable->setHorizontalHeaderLabels(labels);\r
+\r
+    // イベントフィルタを設定する\r
+    ui->fileTable->installEventFilter(this);\r
+\r
+    // リサイズ時の動作を設定する\r
+    ui->fileTable->horizontalHeader()->setSectionResizeMode(0, QHeaderView::ResizeToContents);\r
+    ui->fileTable->horizontalHeader()->setSectionResizeMode(1, QHeaderView::Stretch);\r
+    ui->fileTable->horizontalHeader()->setSectionResizeMode(2, QHeaderView::ResizeToContents);\r
+    ui->fileTable->horizontalHeader()->setSectionResizeMode(3, QHeaderView::ResizeToContents);\r
+\r
+    // フォルダの要素を表示\r
+    m_dir.setFilter(QDir::NoDot | QDir::AllEntries);\r
+    m_dir.setSorting(QDir::DirsFirst | QDir::Name);\r
+    setCurrentFolder(QDir::homePath());\r
+    ui->fileTable->resizeColumnsToContents();\r
+}\r
+\r
+FolderPanel::~FolderPanel()\r
+{\r
+    delete ui;\r
+}\r
+\r
+QTableWidget* FolderPanel::fileTable()\r
+{\r
+    return ui->fileTable;\r
+}\r
+\r
+const QTableWidget* FolderPanel::fileTable() const\r
+{\r
+    return ui->fileTable;\r
+}\r
+\r
+bool FolderPanel::eventFilter(QObject *obj, QEvent *event)\r
+{\r
+    if (event->type() == QEvent::KeyPress) {\r
+        QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);\r
+        switch (keyEvent->key()) {\r
+//        case Qt::Key_Space: {\r
+//            // 選択アイテムのチェック状態を反転する\r
+//            QModelIndex index = ui->fileTable->currentIndex();\r
+//            int row = index.row();\r
+//            if (ui->fileTable->item(row, 1)->text() == "..") {\r
+//                // 何もしない\r
+//            }\r
+//            else if (ui->fileTable->item(row, 0)->checkState() == Qt::Checked) {\r
+//                ui->fileTable->item(row, 0)->setCheckState(Qt::Unchecked);\r
+//            }\r
+//            else {\r
+//                ui->fileTable->item(row, 0)->setCheckState(Qt::Checked);\r
+//            }\r
+//            // 最終行でなければ、次のアイテムに移動する\r
+//            if (row < ui->fileTable->rowCount() - 1) {\r
+//                QModelIndex nextIndex = ui->fileTable->model()->index(row + 1, 1);\r
+//                ui->fileTable->setCurrentIndex(nextIndex);\r
+//            }\r
+//            keyEvent->accept();\r
+//            return true; }\r
+\r
+        case Qt::Key_Tab:\r
+            // MainWindowで処理を行う\r
+            foreach (QWidget *w, qApp->topLevelWidgets()) {\r
+                if (w->objectName() == "MainWindow") {\r
+                    return w->eventFilter(obj, event);\r
+                }\r
+            }\r
+            break;\r
+\r
+//        case Qt::Key_Return: {\r
+//            if (keyEvent->modifiers() & Qt::ControlModifier) {\r
+//                int row = ui->fileTable->currentIndex().row();\r
+//                QString path = ui->fileTable->item(row, 1)->text();\r
+//                path = m_dir.absoluteFilePath(path);\r
+//                path = QDir::toNativeSeparators(path);\r
+//                QDesktopServices::openUrl(QUrl("file:///" + path));\r
+//            }\r
+//            keyEvent->accept();\r
+//            return true; }\r
+\r
+//        case Qt::Key_Backspace: {\r
+//            if (!m_dir.isRoot()) {\r
+//                QString path = m_dir.absoluteFilePath("..");\r
+//                setCurrentFolder(path);\r
+//            }\r
+//            keyEvent->accept();\r
+//            return true; }\r
+        }\r
+    }\r
+\r
+    return QWidget::eventFilter(obj, event);\r
+}\r
+\r
+void FolderPanel::setCurrentFolder(const QString &path)\r
+{\r
+    m_dir.setPath(QDir::cleanPath(path));\r
+    QFileInfoList list = m_dir.entryInfoList();\r
+\r
+    if (list.empty()) {\r
+        QMessageBox::critical(\r
+                    this,\r
+                    tr("エラー"),\r
+                    tr("フォルダが存在しないか利用できません。"));\r
+        return;\r
+    }\r
+\r
+    ui->fileTable->model()->removeRows(0, ui->fileTable->rowCount());\r
+    for (int i = 0; i < list.size(); i++) {\r
+        QFileInfo info = list.at(i);\r
+        if (info.fileName() == ".." && m_dir.isRoot()) {\r
+            continue;\r
+        }\r
+\r
+        int row = ui->fileTable->rowCount();\r
+        ui->fileTable->insertRow(row);\r
+\r
+        // ファイル名とアイコン\r
+        QTableWidgetItem *iName = new QTableWidgetItem(info.fileName());\r
+        iName->setFlags(iName->flags() ^ Qt::ItemIsEditable);\r
+        if (info.fileName() == "..") {\r
+            iName->setIcon(QIcon(":/images/Up.png"));\r
+        }\r
+        else {\r
+            iName->setIcon(QFileIconProvider().icon(info));\r
+        }\r
+        ui->fileTable->setItem(row, 1, iName);\r
+\r
+        // サイズ\r
+        QString str;\r
+        if (info.isDir()) {\r
+            str = tr("<DIR>");\r
+        }\r
+        else if (info.size() >= 1024 * 1024 * 1024) {\r
+            str = tr("%1GB").arg(int(info.size() / (1024 * 1024 * 1024)));\r
+        }\r
+        else if (info.size() >= 1024 * 1024) {\r
+            str = tr("%1MB").arg(int(info.size() / (1024 * 1024)));\r
+        }\r
+        else if (info.size() >= 1024) {\r
+            str = tr("%1KB").arg(int(info.size() / 1024));\r
+        }\r
+        else {\r
+            str = tr("%1B").arg(info.size());\r
+        }\r
+        QTableWidgetItem *iSize = new QTableWidgetItem(str);\r
+        iSize->setFlags(iSize->flags() ^ Qt::ItemIsEditable);\r
+        iSize->setTextAlignment(Qt::AlignRight | Qt::AlignVCenter);\r
+\r
+        ui->fileTable->setItem(row, 2, iSize);\r
+\r
+        // 最終更新日時\r
+        QTableWidgetItem *iDateTime = new QTableWidgetItem(\r
+                    info.lastModified().toString("yy/MM/dd hh:mm"));\r
+        iDateTime->setFlags(iDateTime->flags() ^ Qt::ItemIsEditable);\r
+        ui->fileTable->setItem(row, 3, iDateTime);\r
+\r
+        // シグナル処理の関係で、チェックボックスは最後に追加する\r
+        QTableWidgetItem *iCheck = new QTableWidgetItem(tr(""));\r
+        iCheck->setFlags(iCheck->flags() ^ Qt::ItemIsEditable);\r
+        if (info.fileName() != "..") {\r
+            iCheck->setFlags(iCheck->flags() | Qt::ItemIsUserCheckable);\r
+            iCheck->setCheckState(Qt::Unchecked);\r
+        }\r
+        ui->fileTable->setItem(row, 0, iCheck);\r
+\r
+    }\r
+    ui->fileTable->selectRow(0);\r
+    ui->fileTable->resizeRowsToContents();\r
+\r
+    ui->locationField->setText(m_dir.absolutePath());\r
+}\r
+\r
+void FolderPanel::on_fileTable_cellChanged(int row, int column)\r
+{\r
+    if (column == 0) {\r
+        if (ui->fileTable->item(row, 0)->checkState() == Qt::Checked) {\r
+            for (int n = 0; n < 4; n++) {\r
+                ui->fileTable->item(row, n)->setForeground(Qt::red);\r
+                ui->fileTable->item(row, n)->setBackground(Qt::green);\r
+            }\r
+        }\r
+        else {\r
+            for (int n = 0; n < 4; n++) {\r
+                ui->fileTable->item(row, n)->setForeground(Qt::black);\r
+                ui->fileTable->item(row, n)->setBackground(Qt::white);\r
+            }\r
+        }\r
+        ui->fileTable->selectRow(row);\r
+    }\r
+}\r
+\r
+//void FolderPanel::on_fileTable_doubleClicked(const QModelIndex &index)\r
+//{\r
+//    QString strName = ui->fileTable->item(index.row(), 1)->text();\r
+//    QString strPath = m_dir.absoluteFilePath(strName);\r
+//    QFileInfo info(strPath);\r
+\r
+//    if (info.isDir()) {\r
+//        setCurrentFolder(strPath);\r
+//    }\r
+//    else {\r
+//        // TODO:ファイルの場合はどうしよう?\r
+//    }\r
+//}\r
+\r
+void FolderPanel::on_locationField_editingFinished()\r
+{\r
+    ui->locationField->blockSignals(true);\r
+\r
+    QString path = ui->locationField->text();\r
+    setCurrentFolder(path);\r
+\r
+    ui->locationField->blockSignals(false);\r
+}\r
diff --git a/folderpanel.h b/folderpanel.h
new file mode 100644 (file)
index 0000000..5c9e4f4
--- /dev/null
@@ -0,0 +1,40 @@
+#ifndef FOLDERPANEL_H\r
+#define FOLDERPANEL_H\r
+\r
+#include <QWidget>\r
+#include <QDir>\r
+#include <QTableWidget>\r
+\r
+namespace Ui {\r
+class FolderPanel;\r
+}\r
+\r
+class FolderPanel : public QWidget\r
+{\r
+    Q_OBJECT\r
+\r
+public:\r
+    explicit FolderPanel(QWidget *parent = 0);\r
+    ~FolderPanel();\r
+\r
+    QTableWidget* fileTable();\r
+    const QTableWidget* fileTable() const;\r
+\r
+    QDir* dir() { return &m_dir; }\r
+    const QDir* dir() const { return &m_dir; }\r
+\r
+    void setCurrentFolder(const QString &path);\r
+\r
+private:\r
+    Ui::FolderPanel *ui;\r
+    QDir m_dir;\r
+\r
+    bool eventFilter(QObject *, QEvent *);\r
+\r
+private slots:\r
+    void on_fileTable_cellChanged(int row, int column);\r
+//    void on_fileTable_doubleClicked(const QModelIndex &index);\r
+    void on_locationField_editingFinished();\r
+};\r
+\r
+#endif // FOLDERPANEL_H\r
diff --git a/folderpanel.ui b/folderpanel.ui
new file mode 100644 (file)
index 0000000..3270f1b
--- /dev/null
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<ui version="4.0">\r
+ <class>FolderPanel</class>\r
+ <widget class="QWidget" name="FolderPanel">\r
+  <property name="geometry">\r
+   <rect>\r
+    <x>0</x>\r
+    <y>0</y>\r
+    <width>400</width>\r
+    <height>300</height>\r
+   </rect>\r
+  </property>\r
+  <property name="sizePolicy">\r
+   <sizepolicy hsizetype="Expanding" vsizetype="Expanding">\r
+    <horstretch>0</horstretch>\r
+    <verstretch>0</verstretch>\r
+   </sizepolicy>\r
+  </property>\r
+  <property name="windowTitle">\r
+   <string>Form</string>\r
+  </property>\r
+  <layout class="QVBoxLayout" name="verticalLayout">\r
+   <property name="spacing">\r
+    <number>1</number>\r
+   </property>\r
+   <property name="leftMargin">\r
+    <number>1</number>\r
+   </property>\r
+   <property name="topMargin">\r
+    <number>1</number>\r
+   </property>\r
+   <property name="rightMargin">\r
+    <number>1</number>\r
+   </property>\r
+   <property name="bottomMargin">\r
+    <number>1</number>\r
+   </property>\r
+   <item>\r
+    <layout class="QHBoxLayout" name="horizontalLayout">\r
+     <item>\r
+      <widget class="QPushButton" name="driveButton">\r
+       <property name="sizePolicy">\r
+        <sizepolicy hsizetype="Preferred" vsizetype="Fixed">\r
+         <horstretch>0</horstretch>\r
+         <verstretch>0</verstretch>\r
+        </sizepolicy>\r
+       </property>\r
+       <property name="minimumSize">\r
+        <size>\r
+         <width>1</width>\r
+         <height>0</height>\r
+        </size>\r
+       </property>\r
+       <property name="focusPolicy">\r
+        <enum>Qt::NoFocus</enum>\r
+       </property>\r
+       <property name="text">\r
+        <string>PushButton</string>\r
+       </property>\r
+      </widget>\r
+     </item>\r
+     <item>\r
+      <widget class="QLineEdit" name="locationField">\r
+       <property name="focusPolicy">\r
+        <enum>Qt::ClickFocus</enum>\r
+       </property>\r
+      </widget>\r
+     </item>\r
+    </layout>\r
+   </item>\r
+   <item>\r
+    <widget class="QTableWidget" name="fileTable">\r
+     <property name="horizontalScrollBarPolicy">\r
+      <enum>Qt::ScrollBarAlwaysOff</enum>\r
+     </property>\r
+     <property name="tabKeyNavigation">\r
+      <bool>false</bool>\r
+     </property>\r
+     <property name="selectionMode">\r
+      <enum>QAbstractItemView::SingleSelection</enum>\r
+     </property>\r
+     <property name="selectionBehavior">\r
+      <enum>QAbstractItemView::SelectRows</enum>\r
+     </property>\r
+     <property name="textElideMode">\r
+      <enum>Qt::ElideMiddle</enum>\r
+     </property>\r
+     <property name="showGrid">\r
+      <bool>false</bool>\r
+     </property>\r
+     <property name="wordWrap">\r
+      <bool>false</bool>\r
+     </property>\r
+     <property name="columnCount">\r
+      <number>4</number>\r
+     </property>\r
+     <attribute name="horizontalHeaderHighlightSections">\r
+      <bool>false</bool>\r
+     </attribute>\r
+     <attribute name="verticalHeaderVisible">\r
+      <bool>false</bool>\r
+     </attribute>\r
+     <column/>\r
+     <column/>\r
+     <column/>\r
+     <column/>\r
+    </widget>\r
+   </item>\r
+  </layout>\r
+ </widget>\r
+ <tabstops>\r
+  <tabstop>fileTable</tabstop>\r
+  <tabstop>driveButton</tabstop>\r
+  <tabstop>locationField</tabstop>\r
+ </tabstops>\r
+ <resources/>\r
+ <connections/>\r
+</ui>\r
diff --git a/images/16 colors.png b/images/16 colors.png
new file mode 100644 (file)
index 0000000..734447c
Binary files /dev/null and b/images/16 colors.png differ
diff --git a/images/256 colors.png b/images/256 colors.png
new file mode 100644 (file)
index 0000000..e303bf0
Binary files /dev/null and b/images/256 colors.png differ
diff --git a/images/3d bar chart.png b/images/3d bar chart.png
new file mode 100644 (file)
index 0000000..96a477e
Binary files /dev/null and b/images/3d bar chart.png differ
diff --git a/images/3d chart.png b/images/3d chart.png
new file mode 100644 (file)
index 0000000..f207815
Binary files /dev/null and b/images/3d chart.png differ
diff --git a/images/3d graph.png b/images/3d graph.png
new file mode 100644 (file)
index 0000000..a401360
Binary files /dev/null and b/images/3d graph.png differ
diff --git a/images/About.png b/images/About.png
new file mode 100644 (file)
index 0000000..aeb673e
Binary files /dev/null and b/images/About.png differ
diff --git a/images/Add folder.png b/images/Add folder.png
new file mode 100644 (file)
index 0000000..d25b0c8
Binary files /dev/null and b/images/Add folder.png differ
diff --git a/images/Add.png b/images/Add.png
new file mode 100644 (file)
index 0000000..070e4aa
Binary files /dev/null and b/images/Add.png differ
diff --git a/images/Angle.png b/images/Angle.png
new file mode 100644 (file)
index 0000000..cab2242
Binary files /dev/null and b/images/Angle.png differ
diff --git a/images/Apply.png b/images/Apply.png
new file mode 100644 (file)
index 0000000..d54358e
Binary files /dev/null and b/images/Apply.png differ
diff --git a/images/Arc.png b/images/Arc.png
new file mode 100644 (file)
index 0000000..cd45e02
Binary files /dev/null and b/images/Arc.png differ
diff --git a/images/Arrow.png b/images/Arrow.png
new file mode 100644 (file)
index 0000000..fb54b8a
Binary files /dev/null and b/images/Arrow.png differ
diff --git a/images/Attach.png b/images/Attach.png
new file mode 100644 (file)
index 0000000..ac84564
Binary files /dev/null and b/images/Attach.png differ
diff --git a/images/Back.png b/images/Back.png
new file mode 100644 (file)
index 0000000..3ae9da4
Binary files /dev/null and b/images/Back.png differ
diff --git a/images/Bitmap editor.png b/images/Bitmap editor.png
new file mode 100644 (file)
index 0000000..c11c5c7
Binary files /dev/null and b/images/Bitmap editor.png differ
diff --git a/images/Brightness.png b/images/Brightness.png
new file mode 100644 (file)
index 0000000..9280943
Binary files /dev/null and b/images/Brightness.png differ
diff --git a/images/Brush.png b/images/Brush.png
new file mode 100644 (file)
index 0000000..a847d8f
Binary files /dev/null and b/images/Brush.png differ
diff --git a/images/CMYK.png b/images/CMYK.png
new file mode 100644 (file)
index 0000000..72cf9d5
Binary files /dev/null and b/images/CMYK.png differ
diff --git a/images/Camera.png b/images/Camera.png
new file mode 100644 (file)
index 0000000..6b9b5ca
Binary files /dev/null and b/images/Camera.png differ
diff --git a/images/Cancel.png b/images/Cancel.png
new file mode 100644 (file)
index 0000000..b1329cb
Binary files /dev/null and b/images/Cancel.png differ
diff --git a/images/Chart xy.png b/images/Chart xy.png
new file mode 100644 (file)
index 0000000..c355cf9
Binary files /dev/null and b/images/Chart xy.png differ
diff --git a/images/Check boxes.png b/images/Check boxes.png
new file mode 100644 (file)
index 0000000..7baaaa7
Binary files /dev/null and b/images/Check boxes.png differ
diff --git a/images/Circle.png b/images/Circle.png
new file mode 100644 (file)
index 0000000..3d16b43
Binary files /dev/null and b/images/Circle.png differ
diff --git a/images/Clear.png b/images/Clear.png
new file mode 100644 (file)
index 0000000..e0008fd
Binary files /dev/null and b/images/Clear.png differ
diff --git a/images/Clipboard.png b/images/Clipboard.png
new file mode 100644 (file)
index 0000000..0584ed6
Binary files /dev/null and b/images/Clipboard.png differ
diff --git a/images/Close file.png b/images/Close file.png
new file mode 100644 (file)
index 0000000..2b31702
Binary files /dev/null and b/images/Close file.png differ
diff --git a/images/Close folder.png b/images/Close folder.png
new file mode 100644 (file)
index 0000000..6a58a53
Binary files /dev/null and b/images/Close folder.png differ
diff --git a/images/Close.png b/images/Close.png
new file mode 100644 (file)
index 0000000..3916656
Binary files /dev/null and b/images/Close.png differ
diff --git a/images/Coffe.png b/images/Coffe.png
new file mode 100644 (file)
index 0000000..76ecf09
Binary files /dev/null and b/images/Coffe.png differ
diff --git a/images/Coffee.png b/images/Coffee.png
new file mode 100644 (file)
index 0000000..76ecf09
Binary files /dev/null and b/images/Coffee.png differ
diff --git a/images/Color balance.png b/images/Color balance.png
new file mode 100644 (file)
index 0000000..765114c
Binary files /dev/null and b/images/Color balance.png differ
diff --git a/images/Color filter.png b/images/Color filter.png
new file mode 100644 (file)
index 0000000..691a341
Binary files /dev/null and b/images/Color filter.png differ
diff --git a/images/Color layers.png b/images/Color layers.png
new file mode 100644 (file)
index 0000000..529bab3
Binary files /dev/null and b/images/Color layers.png differ
diff --git a/images/Color palette.png b/images/Color palette.png
new file mode 100644 (file)
index 0000000..4d702dd
Binary files /dev/null and b/images/Color palette.png differ
diff --git a/images/Color profile.png b/images/Color profile.png
new file mode 100644 (file)
index 0000000..36da96f
Binary files /dev/null and b/images/Color profile.png differ
diff --git a/images/Color test.png b/images/Color test.png
new file mode 100644 (file)
index 0000000..563aa5d
Binary files /dev/null and b/images/Color test.png differ
diff --git a/images/Color.png b/images/Color.png
new file mode 100644 (file)
index 0000000..18a5884
Binary files /dev/null and b/images/Color.png differ
diff --git a/images/Comment.png b/images/Comment.png
new file mode 100644 (file)
index 0000000..ae6e46e
Binary files /dev/null and b/images/Comment.png differ
diff --git a/images/Contrast.png b/images/Contrast.png
new file mode 100644 (file)
index 0000000..50d91d0
Binary files /dev/null and b/images/Contrast.png differ
diff --git a/images/Copy.png b/images/Copy.png
new file mode 100644 (file)
index 0000000..8be107b
Binary files /dev/null and b/images/Copy.png differ
diff --git a/images/Create.png b/images/Create.png
new file mode 100644 (file)
index 0000000..3c78c2e
Binary files /dev/null and b/images/Create.png differ
diff --git a/images/Critical details.png b/images/Critical details.png
new file mode 100644 (file)
index 0000000..eeedb3b
Binary files /dev/null and b/images/Critical details.png differ
diff --git a/images/Curve points.png b/images/Curve points.png
new file mode 100644 (file)
index 0000000..0b054e0
Binary files /dev/null and b/images/Curve points.png differ
diff --git a/images/Curve.png b/images/Curve.png
new file mode 100644 (file)
index 0000000..745cc10
Binary files /dev/null and b/images/Curve.png differ
diff --git a/images/Cut.png b/images/Cut.png
new file mode 100644 (file)
index 0000000..7e3550d
Binary files /dev/null and b/images/Cut.png differ
diff --git a/images/Danger.png b/images/Danger.png
new file mode 100644 (file)
index 0000000..0788bec
Binary files /dev/null and b/images/Danger.png differ
diff --git a/images/Decrease time.png b/images/Decrease time.png
new file mode 100644 (file)
index 0000000..861639c
Binary files /dev/null and b/images/Decrease time.png differ
diff --git a/images/Delete frame.png b/images/Delete frame.png
new file mode 100644 (file)
index 0000000..b0c3f30
Binary files /dev/null and b/images/Delete frame.png differ
diff --git a/images/Delete frames.png b/images/Delete frames.png
new file mode 100644 (file)
index 0000000..a2931f1
Binary files /dev/null and b/images/Delete frames.png differ
diff --git a/images/Delete.png b/images/Delete.png
new file mode 100644 (file)
index 0000000..ce4eb18
Binary files /dev/null and b/images/Delete.png differ
diff --git a/images/Designer.png b/images/Designer.png
new file mode 100644 (file)
index 0000000..3b70e95
Binary files /dev/null and b/images/Designer.png differ
diff --git a/images/Diagram.png b/images/Diagram.png
new file mode 100644 (file)
index 0000000..fa6b1b6
Binary files /dev/null and b/images/Diagram.png differ
diff --git a/images/Down.png b/images/Down.png
new file mode 100644 (file)
index 0000000..111ff8d
Binary files /dev/null and b/images/Down.png differ
diff --git a/images/Download image.png b/images/Download image.png
new file mode 100644 (file)
index 0000000..0bbd117
Binary files /dev/null and b/images/Download image.png differ
diff --git a/images/Download.png b/images/Download.png
new file mode 100644 (file)
index 0000000..53de7e0
Binary files /dev/null and b/images/Download.png differ
diff --git a/images/Dropper.png b/images/Dropper.png
new file mode 100644 (file)
index 0000000..e3d084a
Binary files /dev/null and b/images/Dropper.png differ
diff --git a/images/E-mail.png b/images/E-mail.png
new file mode 100644 (file)
index 0000000..5768db6
Binary files /dev/null and b/images/E-mail.png differ
diff --git a/images/Edit page.png b/images/Edit page.png
new file mode 100644 (file)
index 0000000..9ca9cb5
Binary files /dev/null and b/images/Edit page.png differ
diff --git a/images/Edit text.png b/images/Edit text.png
new file mode 100644 (file)
index 0000000..1ff0c6a
Binary files /dev/null and b/images/Edit text.png differ
diff --git a/images/Edit.png b/images/Edit.png
new file mode 100644 (file)
index 0000000..09222cf
Binary files /dev/null and b/images/Edit.png differ
diff --git a/images/Ellipse.png b/images/Ellipse.png
new file mode 100644 (file)
index 0000000..01324c2
Binary files /dev/null and b/images/Ellipse.png differ
diff --git a/images/Equipment.png b/images/Equipment.png
new file mode 100644 (file)
index 0000000..3c27071
Binary files /dev/null and b/images/Equipment.png differ
diff --git a/images/Erase.png b/images/Erase.png
new file mode 100644 (file)
index 0000000..60d06f6
Binary files /dev/null and b/images/Erase.png differ
diff --git a/images/Eraser.png b/images/Eraser.png
new file mode 100644 (file)
index 0000000..cc6e160
Binary files /dev/null and b/images/Eraser.png differ
diff --git a/images/Error.png b/images/Error.png
new file mode 100644 (file)
index 0000000..530243a
Binary files /dev/null and b/images/Error.png differ
diff --git a/images/Exit.png b/images/Exit.png
new file mode 100644 (file)
index 0000000..45d845a
Binary files /dev/null and b/images/Exit.png differ
diff --git a/images/Export.png b/images/Export.png
new file mode 100644 (file)
index 0000000..74e04b7
Binary files /dev/null and b/images/Export.png differ
diff --git a/images/Favourites.png b/images/Favourites.png
new file mode 100644 (file)
index 0000000..3163228
Binary files /dev/null and b/images/Favourites.png differ
diff --git a/images/Feather.png b/images/Feather.png
new file mode 100644 (file)
index 0000000..d9c88a7
Binary files /dev/null and b/images/Feather.png differ
diff --git a/images/File exetension.png b/images/File exetension.png
new file mode 100644 (file)
index 0000000..caa51e4
Binary files /dev/null and b/images/File exetension.png differ
diff --git a/images/Fill.png b/images/Fill.png
new file mode 100644 (file)
index 0000000..419484e
Binary files /dev/null and b/images/Fill.png differ
diff --git a/images/Find.png b/images/Find.png
new file mode 100644 (file)
index 0000000..8585bba
Binary files /dev/null and b/images/Find.png differ
diff --git a/images/Fine brush.png b/images/Fine brush.png
new file mode 100644 (file)
index 0000000..d15ed20
Binary files /dev/null and b/images/Fine brush.png differ
diff --git a/images/Flip horizontally.png b/images/Flip horizontally.png
new file mode 100644 (file)
index 0000000..d9947a6
Binary files /dev/null and b/images/Flip horizontally.png differ
diff --git a/images/Flip vertically.png b/images/Flip vertically.png
new file mode 100644 (file)
index 0000000..fea6ed2
Binary files /dev/null and b/images/Flip vertically.png differ
diff --git a/images/Flip.png b/images/Flip.png
new file mode 100644 (file)
index 0000000..fa242c1
Binary files /dev/null and b/images/Flip.png differ
diff --git a/images/Flow block.png b/images/Flow block.png
new file mode 100644 (file)
index 0000000..4fce4c4
Binary files /dev/null and b/images/Flow block.png differ
diff --git a/images/Flower.png b/images/Flower.png
new file mode 100644 (file)
index 0000000..264497f
Binary files /dev/null and b/images/Flower.png differ
diff --git a/images/Folder.png b/images/Folder.png
new file mode 100644 (file)
index 0000000..1301601
Binary files /dev/null and b/images/Folder.png differ
diff --git a/images/Form.png b/images/Form.png
new file mode 100644 (file)
index 0000000..1207169
Binary files /dev/null and b/images/Form.png differ
diff --git a/images/Forward.png b/images/Forward.png
new file mode 100644 (file)
index 0000000..768eb98
Binary files /dev/null and b/images/Forward.png differ
diff --git a/images/Frames.png b/images/Frames.png
new file mode 100644 (file)
index 0000000..da2d4cc
Binary files /dev/null and b/images/Frames.png differ
diff --git a/images/Funnel.png b/images/Funnel.png
new file mode 100644 (file)
index 0000000..84a6737
Binary files /dev/null and b/images/Funnel.png differ
diff --git a/images/Go down.png b/images/Go down.png
new file mode 100644 (file)
index 0000000..f45aa44
Binary files /dev/null and b/images/Go down.png differ
diff --git a/images/Go up.png b/images/Go up.png
new file mode 100644 (file)
index 0000000..56a28e4
Binary files /dev/null and b/images/Go up.png differ
diff --git a/images/Gpadient.png b/images/Gpadient.png
new file mode 100644 (file)
index 0000000..f9b0a56
Binary files /dev/null and b/images/Gpadient.png differ
diff --git a/images/Graphic designer.png b/images/Graphic designer.png
new file mode 100644 (file)
index 0000000..750c794
Binary files /dev/null and b/images/Graphic designer.png differ
diff --git a/images/Graphic file.png b/images/Graphic file.png
new file mode 100644 (file)
index 0000000..be3c48c
Binary files /dev/null and b/images/Graphic file.png differ
diff --git a/images/Graphic tools.png b/images/Graphic tools.png
new file mode 100644 (file)
index 0000000..2b9a8bc
Binary files /dev/null and b/images/Graphic tools.png differ
diff --git a/images/Grid.png b/images/Grid.png
new file mode 100644 (file)
index 0000000..cd3ed73
Binary files /dev/null and b/images/Grid.png differ
diff --git a/images/HSL.png b/images/HSL.png
new file mode 100644 (file)
index 0000000..f2ac420
Binary files /dev/null and b/images/HSL.png differ
diff --git a/images/HSV.png b/images/HSV.png
new file mode 100644 (file)
index 0000000..d5f493b
Binary files /dev/null and b/images/HSV.png differ
diff --git a/images/Help book.png b/images/Help book.png
new file mode 100644 (file)
index 0000000..382c111
Binary files /dev/null and b/images/Help book.png differ
diff --git a/images/Help.png b/images/Help.png
new file mode 100644 (file)
index 0000000..688a6d1
Binary files /dev/null and b/images/Help.png differ
diff --git a/images/Hexagon.png b/images/Hexagon.png
new file mode 100644 (file)
index 0000000..309ebbc
Binary files /dev/null and b/images/Hexagon.png differ
diff --git a/images/Hide.png b/images/Hide.png
new file mode 100644 (file)
index 0000000..d096d5d
Binary files /dev/null and b/images/Hide.png differ
diff --git a/images/Hint.png b/images/Hint.png
new file mode 100644 (file)
index 0000000..f9f6abe
Binary files /dev/null and b/images/Hint.png differ
diff --git a/images/Hints.png b/images/Hints.png
new file mode 100644 (file)
index 0000000..81bb80c
Binary files /dev/null and b/images/Hints.png differ
diff --git a/images/Home.png b/images/Home.png
new file mode 100644 (file)
index 0000000..92a4048
Binary files /dev/null and b/images/Home.png differ
diff --git a/images/Homepage.png b/images/Homepage.png
new file mode 100644 (file)
index 0000000..74f550c
Binary files /dev/null and b/images/Homepage.png differ
diff --git a/images/Ico.png b/images/Ico.png
new file mode 100644 (file)
index 0000000..391266e
Binary files /dev/null and b/images/Ico.png differ
diff --git a/images/Icon wizard.png b/images/Icon wizard.png
new file mode 100644 (file)
index 0000000..a911bd2
Binary files /dev/null and b/images/Icon wizard.png differ
diff --git a/images/Import.png b/images/Import.png
new file mode 100644 (file)
index 0000000..462ff36
Binary files /dev/null and b/images/Import.png differ
diff --git a/images/Increase time.png b/images/Increase time.png
new file mode 100644 (file)
index 0000000..6a5cb36
Binary files /dev/null and b/images/Increase time.png differ
diff --git a/images/Index.png b/images/Index.png
new file mode 100644 (file)
index 0000000..fe5d19e
Binary files /dev/null and b/images/Index.png differ
diff --git a/images/Info.png b/images/Info.png
new file mode 100644 (file)
index 0000000..73b49b0
Binary files /dev/null and b/images/Info.png differ
diff --git a/images/Key.png b/images/Key.png
new file mode 100644 (file)
index 0000000..11b4288
Binary files /dev/null and b/images/Key.png differ
diff --git a/images/Knife.png b/images/Knife.png
new file mode 100644 (file)
index 0000000..4b2a065
Binary files /dev/null and b/images/Knife.png differ
diff --git a/images/LAB color model.png b/images/LAB color model.png
new file mode 100644 (file)
index 0000000..03d9662
Binary files /dev/null and b/images/LAB color model.png differ
diff --git a/images/Layers.png b/images/Layers.png
new file mode 100644 (file)
index 0000000..4f34ab3
Binary files /dev/null and b/images/Layers.png differ
diff --git a/images/Left-right.png b/images/Left-right.png
new file mode 100644 (file)
index 0000000..d5eb683
Binary files /dev/null and b/images/Left-right.png differ
diff --git a/images/Left.png b/images/Left.png
new file mode 100644 (file)
index 0000000..9808eff
Binary files /dev/null and b/images/Left.png differ
diff --git a/images/Line.png b/images/Line.png
new file mode 100644 (file)
index 0000000..6af8635
Binary files /dev/null and b/images/Line.png differ
diff --git a/images/List.png b/images/List.png
new file mode 100644 (file)
index 0000000..8609a04
Binary files /dev/null and b/images/List.png differ
diff --git a/images/Lock color.png b/images/Lock color.png
new file mode 100644 (file)
index 0000000..98353a5
Binary files /dev/null and b/images/Lock color.png differ
diff --git a/images/Lock transparency.png b/images/Lock transparency.png
new file mode 100644 (file)
index 0000000..942515d
Binary files /dev/null and b/images/Lock transparency.png differ
diff --git a/images/Lock.png b/images/Lock.png
new file mode 100644 (file)
index 0000000..1685559
Binary files /dev/null and b/images/Lock.png differ
diff --git a/images/Magic hat.png b/images/Magic hat.png
new file mode 100644 (file)
index 0000000..cc590e1
Binary files /dev/null and b/images/Magic hat.png differ
diff --git a/images/Measure.png b/images/Measure.png
new file mode 100644 (file)
index 0000000..e95239d
Binary files /dev/null and b/images/Measure.png differ
diff --git a/images/Microsoft flag.png b/images/Microsoft flag.png
new file mode 100644 (file)
index 0000000..7698f60
Binary files /dev/null and b/images/Microsoft flag.png differ
diff --git a/images/Monitor.png b/images/Monitor.png
new file mode 100644 (file)
index 0000000..a583bce
Binary files /dev/null and b/images/Monitor.png differ
diff --git a/images/Monitors.png b/images/Monitors.png
new file mode 100644 (file)
index 0000000..4471803
Binary files /dev/null and b/images/Monitors.png differ
diff --git a/images/Mouse pointer.png b/images/Mouse pointer.png
new file mode 100644 (file)
index 0000000..127b8b1
Binary files /dev/null and b/images/Mouse pointer.png differ
diff --git a/images/Mouse.png b/images/Mouse.png
new file mode 100644 (file)
index 0000000..c70c132
Binary files /dev/null and b/images/Mouse.png differ
diff --git a/images/Move.png b/images/Move.png
new file mode 100644 (file)
index 0000000..fefb654
Binary files /dev/null and b/images/Move.png differ
diff --git a/images/Movie.png b/images/Movie.png
new file mode 100644 (file)
index 0000000..f1f8f22
Binary files /dev/null and b/images/Movie.png differ
diff --git a/images/New clip art.png b/images/New clip art.png
new file mode 100644 (file)
index 0000000..73bb015
Binary files /dev/null and b/images/New clip art.png differ
diff --git a/images/New file.png b/images/New file.png
new file mode 100644 (file)
index 0000000..f06c66a
Binary files /dev/null and b/images/New file.png differ
diff --git a/images/New frame.png b/images/New frame.png
new file mode 100644 (file)
index 0000000..7d1d11c
Binary files /dev/null and b/images/New frame.png differ
diff --git a/images/New frame1.png b/images/New frame1.png
new file mode 100644 (file)
index 0000000..2592cc3
Binary files /dev/null and b/images/New frame1.png differ
diff --git a/images/New image.png b/images/New image.png
new file mode 100644 (file)
index 0000000..cd32a7b
Binary files /dev/null and b/images/New image.png differ
diff --git a/images/New imagelist.png b/images/New imagelist.png
new file mode 100644 (file)
index 0000000..68080e9
Binary files /dev/null and b/images/New imagelist.png differ
diff --git a/images/New video.png b/images/New video.png
new file mode 100644 (file)
index 0000000..416c249
Binary files /dev/null and b/images/New video.png differ
diff --git a/images/No.png b/images/No.png
new file mode 100644 (file)
index 0000000..658865b
Binary files /dev/null and b/images/No.png differ
diff --git a/images/Objects.png b/images/Objects.png
new file mode 100644 (file)
index 0000000..781298a
Binary files /dev/null and b/images/Objects.png differ
diff --git a/images/Ok.png b/images/Ok.png
new file mode 100644 (file)
index 0000000..35a13a1
Binary files /dev/null and b/images/Ok.png differ
diff --git a/images/Open colors.png b/images/Open colors.png
new file mode 100644 (file)
index 0000000..df4968b
Binary files /dev/null and b/images/Open colors.png differ
diff --git a/images/Open file.png b/images/Open file.png
new file mode 100644 (file)
index 0000000..55ee885
Binary files /dev/null and b/images/Open file.png differ
diff --git a/images/Open v2.png b/images/Open v2.png
new file mode 100644 (file)
index 0000000..e77fc6e
Binary files /dev/null and b/images/Open v2.png differ
diff --git a/images/Open.png b/images/Open.png
new file mode 100644 (file)
index 0000000..0ad7690
Binary files /dev/null and b/images/Open.png differ
diff --git a/images/Paint over pixels.png b/images/Paint over pixels.png
new file mode 100644 (file)
index 0000000..c3cf2a2
Binary files /dev/null and b/images/Paint over pixels.png differ
diff --git a/images/Painter.png b/images/Painter.png
new file mode 100644 (file)
index 0000000..401d094
Binary files /dev/null and b/images/Painter.png differ
diff --git a/images/Pantone.png b/images/Pantone.png
new file mode 100644 (file)
index 0000000..8a3cad1
Binary files /dev/null and b/images/Pantone.png differ
diff --git a/images/Paste.png b/images/Paste.png
new file mode 100644 (file)
index 0000000..7d98ffc
Binary files /dev/null and b/images/Paste.png differ
diff --git a/images/Pen.png b/images/Pen.png
new file mode 100644 (file)
index 0000000..86f9824
Binary files /dev/null and b/images/Pen.png differ
diff --git a/images/Pencil.png b/images/Pencil.png
new file mode 100644 (file)
index 0000000..82ed03a
Binary files /dev/null and b/images/Pencil.png differ
diff --git a/images/Pick color.png b/images/Pick color.png
new file mode 100644 (file)
index 0000000..3f262a7
Binary files /dev/null and b/images/Pick color.png differ
diff --git a/images/Picture.png b/images/Picture.png
new file mode 100644 (file)
index 0000000..c992023
Binary files /dev/null and b/images/Picture.png differ
diff --git a/images/Pie chart.png b/images/Pie chart.png
new file mode 100644 (file)
index 0000000..313389a
Binary files /dev/null and b/images/Pie chart.png differ
diff --git a/images/Pin.png b/images/Pin.png
new file mode 100644 (file)
index 0000000..2d4e823
Binary files /dev/null and b/images/Pin.png differ
diff --git a/images/Pinion.png b/images/Pinion.png
new file mode 100644 (file)
index 0000000..1b1d5a3
Binary files /dev/null and b/images/Pinion.png differ
diff --git a/images/Pixel editor.png b/images/Pixel editor.png
new file mode 100644 (file)
index 0000000..1ff53e0
Binary files /dev/null and b/images/Pixel editor.png differ
diff --git a/images/Pixels.png b/images/Pixels.png
new file mode 100644 (file)
index 0000000..9d894b1
Binary files /dev/null and b/images/Pixels.png differ
diff --git a/images/Play.png b/images/Play.png
new file mode 100644 (file)
index 0000000..64e5658
Binary files /dev/null and b/images/Play.png differ
diff --git a/images/Preview.png b/images/Preview.png
new file mode 100644 (file)
index 0000000..7c9480e
Binary files /dev/null and b/images/Preview.png differ
diff --git a/images/Print.png b/images/Print.png
new file mode 100644 (file)
index 0000000..d813288
Binary files /dev/null and b/images/Print.png differ
diff --git a/images/Problem.png b/images/Problem.png
new file mode 100644 (file)
index 0000000..fc9304e
Binary files /dev/null and b/images/Problem.png differ
diff --git a/images/Properties.png b/images/Properties.png
new file mode 100644 (file)
index 0000000..f5b4054
Binary files /dev/null and b/images/Properties.png differ
diff --git a/images/RGB.png b/images/RGB.png
new file mode 100644 (file)
index 0000000..2f2c88e
Binary files /dev/null and b/images/RGB.png differ
diff --git a/images/Red book.png b/images/Red book.png
new file mode 100644 (file)
index 0000000..b4ffb42
Binary files /dev/null and b/images/Red book.png differ
diff --git a/images/Red eye removing.png b/images/Red eye removing.png
new file mode 100644 (file)
index 0000000..c5b1432
Binary files /dev/null and b/images/Red eye removing.png differ
diff --git a/images/Redo.png b/images/Redo.png
new file mode 100644 (file)
index 0000000..52c35d1
Binary files /dev/null and b/images/Redo.png differ
diff --git a/images/Refresh.png b/images/Refresh.png
new file mode 100644 (file)
index 0000000..c6c72b2
Binary files /dev/null and b/images/Refresh.png differ
diff --git a/images/Registration.png b/images/Registration.png
new file mode 100644 (file)
index 0000000..f7200d9
Binary files /dev/null and b/images/Registration.png differ
diff --git a/images/Registry.png b/images/Registry.png
new file mode 100644 (file)
index 0000000..8bd36c9
Binary files /dev/null and b/images/Registry.png differ
diff --git a/images/Rename.png b/images/Rename.png
new file mode 100644 (file)
index 0000000..20d809e
Binary files /dev/null and b/images/Rename.png differ
diff --git a/images/Replace pixels.png b/images/Replace pixels.png
new file mode 100644 (file)
index 0000000..52d1472
Binary files /dev/null and b/images/Replace pixels.png differ
diff --git a/images/Resize image.png b/images/Resize image.png
new file mode 100644 (file)
index 0000000..724fdb0
Binary files /dev/null and b/images/Resize image.png differ
diff --git a/images/Restangle.png b/images/Restangle.png
new file mode 100644 (file)
index 0000000..6f8c57b
Binary files /dev/null and b/images/Restangle.png differ
diff --git a/images/Revert.png b/images/Revert.png
new file mode 100644 (file)
index 0000000..18daed4
Binary files /dev/null and b/images/Revert.png differ
diff --git a/images/Right.png b/images/Right.png
new file mode 100644 (file)
index 0000000..a59d72b
Binary files /dev/null and b/images/Right.png differ
diff --git a/images/Rotate CCW.png b/images/Rotate CCW.png
new file mode 100644 (file)
index 0000000..7c85283
Binary files /dev/null and b/images/Rotate CCW.png differ
diff --git a/images/Rotate CW.png b/images/Rotate CW.png
new file mode 100644 (file)
index 0000000..abd1bf5
Binary files /dev/null and b/images/Rotate CW.png differ
diff --git a/images/Rotate left.png b/images/Rotate left.png
new file mode 100644 (file)
index 0000000..ec27287
Binary files /dev/null and b/images/Rotate left.png differ
diff --git a/images/Rotate right.png b/images/Rotate right.png
new file mode 100644 (file)
index 0000000..f83ef25
Binary files /dev/null and b/images/Rotate right.png differ
diff --git a/images/Rotation.png b/images/Rotation.png
new file mode 100644 (file)
index 0000000..4c4c734
Binary files /dev/null and b/images/Rotation.png differ
diff --git a/images/Rounded rectangle.png b/images/Rounded rectangle.png
new file mode 100644 (file)
index 0000000..230397b
Binary files /dev/null and b/images/Rounded rectangle.png differ
diff --git a/images/Save as.png b/images/Save as.png
new file mode 100644 (file)
index 0000000..0a213db
Binary files /dev/null and b/images/Save as.png differ
diff --git a/images/Save color.png b/images/Save color.png
new file mode 100644 (file)
index 0000000..3473fce
Binary files /dev/null and b/images/Save color.png differ
diff --git a/images/Save data.png b/images/Save data.png
new file mode 100644 (file)
index 0000000..35e9fd3
Binary files /dev/null and b/images/Save data.png differ
diff --git a/images/Save image.png b/images/Save image.png
new file mode 100644 (file)
index 0000000..7b7db85
Binary files /dev/null and b/images/Save image.png differ
diff --git a/images/Save picture.png b/images/Save picture.png
new file mode 100644 (file)
index 0000000..f9d0487
Binary files /dev/null and b/images/Save picture.png differ
diff --git a/images/Save.png b/images/Save.png
new file mode 100644 (file)
index 0000000..1732110
Binary files /dev/null and b/images/Save.png differ
diff --git a/images/Scan film.png b/images/Scan film.png
new file mode 100644 (file)
index 0000000..230dbac
Binary files /dev/null and b/images/Scan film.png differ
diff --git a/images/Scan image.png b/images/Scan image.png
new file mode 100644 (file)
index 0000000..b2f8ac7
Binary files /dev/null and b/images/Scan image.png differ
diff --git a/images/Scanner.png b/images/Scanner.png
new file mode 100644 (file)
index 0000000..59c4bc0
Binary files /dev/null and b/images/Scanner.png differ
diff --git a/images/Scenario.png b/images/Scenario.png
new file mode 100644 (file)
index 0000000..bf5fafd
Binary files /dev/null and b/images/Scenario.png differ
diff --git a/images/Script.png b/images/Script.png
new file mode 100644 (file)
index 0000000..9c79ece
Binary files /dev/null and b/images/Script.png differ
diff --git a/images/Search computer.png b/images/Search computer.png
new file mode 100644 (file)
index 0000000..3c2ffe7
Binary files /dev/null and b/images/Search computer.png differ
diff --git a/images/Search folder.png b/images/Search folder.png
new file mode 100644 (file)
index 0000000..81deb74
Binary files /dev/null and b/images/Search folder.png differ
diff --git a/images/Search online.png b/images/Search online.png
new file mode 100644 (file)
index 0000000..32f22c3
Binary files /dev/null and b/images/Search online.png differ
diff --git a/images/Search text.png b/images/Search text.png
new file mode 100644 (file)
index 0000000..f03b299
Binary files /dev/null and b/images/Search text.png differ
diff --git a/images/Search.png b/images/Search.png
new file mode 100644 (file)
index 0000000..200b4cc
Binary files /dev/null and b/images/Search.png differ
diff --git a/images/Select gpadient.png b/images/Select gpadient.png
new file mode 100644 (file)
index 0000000..f07d3aa
Binary files /dev/null and b/images/Select gpadient.png differ
diff --git a/images/Selection.png b/images/Selection.png
new file mode 100644 (file)
index 0000000..e0bd014
Binary files /dev/null and b/images/Selection.png differ
diff --git a/images/Settings.png b/images/Settings.png
new file mode 100644 (file)
index 0000000..81f9d74
Binary files /dev/null and b/images/Settings.png differ
diff --git a/images/Sharpness.png b/images/Sharpness.png
new file mode 100644 (file)
index 0000000..4aaded6
Binary files /dev/null and b/images/Sharpness.png differ
diff --git a/images/Show.png b/images/Show.png
new file mode 100644 (file)
index 0000000..ca3ff94
Binary files /dev/null and b/images/Show.png differ
diff --git a/images/Sizes.png b/images/Sizes.png
new file mode 100644 (file)
index 0000000..175ccca
Binary files /dev/null and b/images/Sizes.png differ
diff --git a/images/Smooth line.png b/images/Smooth line.png
new file mode 100644 (file)
index 0000000..fb2346a
Binary files /dev/null and b/images/Smooth line.png differ
diff --git a/images/Smooth.png b/images/Smooth.png
new file mode 100644 (file)
index 0000000..06328d2
Binary files /dev/null and b/images/Smooth.png differ
diff --git a/images/Spell checking.png b/images/Spell checking.png
new file mode 100644 (file)
index 0000000..2744843
Binary files /dev/null and b/images/Spell checking.png differ
diff --git a/images/Spiral.png b/images/Spiral.png
new file mode 100644 (file)
index 0000000..2be3697
Binary files /dev/null and b/images/Spiral.png differ
diff --git a/images/Spray.png b/images/Spray.png
new file mode 100644 (file)
index 0000000..9a7a1a4
Binary files /dev/null and b/images/Spray.png differ
diff --git a/images/Square.png b/images/Square.png
new file mode 100644 (file)
index 0000000..93f29e9
Binary files /dev/null and b/images/Square.png differ
diff --git a/images/Stop playing.png b/images/Stop playing.png
new file mode 100644 (file)
index 0000000..b1c50ee
Binary files /dev/null and b/images/Stop playing.png differ
diff --git a/images/Stop.png b/images/Stop.png
new file mode 100644 (file)
index 0000000..9da38fa
Binary files /dev/null and b/images/Stop.png differ
diff --git a/images/Synchronize.png b/images/Synchronize.png
new file mode 100644 (file)
index 0000000..6680a2d
Binary files /dev/null and b/images/Synchronize.png differ
diff --git a/images/Tag.png b/images/Tag.png
new file mode 100644 (file)
index 0000000..89515d0
Binary files /dev/null and b/images/Tag.png differ
diff --git a/images/Target.png b/images/Target.png
new file mode 100644 (file)
index 0000000..bd88930
Binary files /dev/null and b/images/Target.png differ
diff --git a/images/Target1.png b/images/Target1.png
new file mode 100644 (file)
index 0000000..48d0669
Binary files /dev/null and b/images/Target1.png differ
diff --git a/images/Test line.png b/images/Test line.png
new file mode 100644 (file)
index 0000000..78183a5
Binary files /dev/null and b/images/Test line.png differ
diff --git a/images/Text color.png b/images/Text color.png
new file mode 100644 (file)
index 0000000..c790fc4
Binary files /dev/null and b/images/Text color.png differ
diff --git a/images/Text replace.png b/images/Text replace.png
new file mode 100644 (file)
index 0000000..e27155c
Binary files /dev/null and b/images/Text replace.png differ
diff --git a/images/Text tool.png b/images/Text tool.png
new file mode 100644 (file)
index 0000000..25d5b32
Binary files /dev/null and b/images/Text tool.png differ
diff --git a/images/Time.png b/images/Time.png
new file mode 100644 (file)
index 0000000..ec380e7
Binary files /dev/null and b/images/Time.png differ
diff --git a/images/Tip of the day.png b/images/Tip of the day.png
new file mode 100644 (file)
index 0000000..a412a26
Binary files /dev/null and b/images/Tip of the day.png differ
diff --git a/images/To do list.png b/images/To do list.png
new file mode 100644 (file)
index 0000000..bda151a
Binary files /dev/null and b/images/To do list.png differ
diff --git a/images/Tools.png b/images/Tools.png
new file mode 100644 (file)
index 0000000..8472939
Binary files /dev/null and b/images/Tools.png differ
diff --git a/images/Touch.png b/images/Touch.png
new file mode 100644 (file)
index 0000000..eb7696e
Binary files /dev/null and b/images/Touch.png differ
diff --git a/images/Transparency.png b/images/Transparency.png
new file mode 100644 (file)
index 0000000..d693efe
Binary files /dev/null and b/images/Transparency.png differ
diff --git a/images/Transparent background.png b/images/Transparent background.png
new file mode 100644 (file)
index 0000000..4a00df3
Binary files /dev/null and b/images/Transparent background.png differ
diff --git a/images/Transparent color.png b/images/Transparent color.png
new file mode 100644 (file)
index 0000000..7a8dd19
Binary files /dev/null and b/images/Transparent color.png differ
diff --git a/images/Triangle.png b/images/Triangle.png
new file mode 100644 (file)
index 0000000..3e2128b
Binary files /dev/null and b/images/Triangle.png differ
diff --git a/images/True color.png b/images/True color.png
new file mode 100644 (file)
index 0000000..e0adec8
Binary files /dev/null and b/images/True color.png differ
diff --git a/images/Undo.png b/images/Undo.png
new file mode 100644 (file)
index 0000000..9cd4066
Binary files /dev/null and b/images/Undo.png differ
diff --git a/images/Units.png b/images/Units.png
new file mode 100644 (file)
index 0000000..693846e
Binary files /dev/null and b/images/Units.png differ
diff --git a/images/Unlock.png b/images/Unlock.png
new file mode 100644 (file)
index 0000000..d5fae0b
Binary files /dev/null and b/images/Unlock.png differ
diff --git a/images/Up-down.png b/images/Up-down.png
new file mode 100644 (file)
index 0000000..2af6c88
Binary files /dev/null and b/images/Up-down.png differ
diff --git a/images/Up.png b/images/Up.png
new file mode 100644 (file)
index 0000000..c6c09cd
Binary files /dev/null and b/images/Up.png differ
diff --git a/images/Upload image.png b/images/Upload image.png
new file mode 100644 (file)
index 0000000..24caeec
Binary files /dev/null and b/images/Upload image.png differ
diff --git a/images/Wait.png b/images/Wait.png
new file mode 100644 (file)
index 0000000..b5ac083
Binary files /dev/null and b/images/Wait.png differ
diff --git a/images/Warning.png b/images/Warning.png
new file mode 100644 (file)
index 0000000..da3f033
Binary files /dev/null and b/images/Warning.png differ
diff --git a/images/Web designer.png b/images/Web designer.png
new file mode 100644 (file)
index 0000000..4b2c5b7
Binary files /dev/null and b/images/Web designer.png differ
diff --git a/images/Webcam.png b/images/Webcam.png
new file mode 100644 (file)
index 0000000..17a2b43
Binary files /dev/null and b/images/Webcam.png differ
diff --git a/images/Wide brush.png b/images/Wide brush.png
new file mode 100644 (file)
index 0000000..8542230
Binary files /dev/null and b/images/Wide brush.png differ
diff --git a/images/Wizard.png b/images/Wizard.png
new file mode 100644 (file)
index 0000000..2e0129c
Binary files /dev/null and b/images/Wizard.png differ
diff --git a/images/Work area.png b/images/Work area.png
new file mode 100644 (file)
index 0000000..319ee1c
Binary files /dev/null and b/images/Work area.png differ
diff --git a/images/Writing pencil.png b/images/Writing pencil.png
new file mode 100644 (file)
index 0000000..f6357db
Binary files /dev/null and b/images/Writing pencil.png differ
diff --git a/images/Wrong.png b/images/Wrong.png
new file mode 100644 (file)
index 0000000..2d3cab9
Binary files /dev/null and b/images/Wrong.png differ
diff --git a/images/YUV color space.png b/images/YUV color space.png
new file mode 100644 (file)
index 0000000..dcff1d5
Binary files /dev/null and b/images/YUV color space.png differ
diff --git a/images/Yes.png b/images/Yes.png
new file mode 100644 (file)
index 0000000..50577c9
Binary files /dev/null and b/images/Yes.png differ
diff --git a/images/Zoom auto.png b/images/Zoom auto.png
new file mode 100644 (file)
index 0000000..09422b6
Binary files /dev/null and b/images/Zoom auto.png differ
diff --git a/images/Zoom in.png b/images/Zoom in.png
new file mode 100644 (file)
index 0000000..4f3e26d
Binary files /dev/null and b/images/Zoom in.png differ
diff --git a/images/Zoom out.png b/images/Zoom out.png
new file mode 100644 (file)
index 0000000..5d9f97c
Binary files /dev/null and b/images/Zoom out.png differ
diff --git a/images/Zoom.png b/images/Zoom.png
new file mode 100644 (file)
index 0000000..36c0a98
Binary files /dev/null and b/images/Zoom.png differ
diff --git a/main.cpp b/main.cpp
new file mode 100644 (file)
index 0000000..aab39bb
--- /dev/null
+++ b/main.cpp
@@ -0,0 +1,11 @@
+#include "mainwindow.h"\r
+#include <QApplication>\r
+\r
+int main(int argc, char *argv[])\r
+{\r
+    QApplication a(argc, argv);\r
+    MainWindow w;\r
+    w.show();\r
+\r
+    return a.exec();\r
+}\r
diff --git a/mainwindow.cpp b/mainwindow.cpp
new file mode 100644 (file)
index 0000000..b016dba
--- /dev/null
@@ -0,0 +1,316 @@
+#include "mainwindow.h"\r
+#include "ui_mainwindow.h"\r
+#include <QFileSystemModel>\r
+#include <QDebug>\r
+#include <QKeyEvent>\r
+#include <QDesktopServices>\r
+\r
+MainWindow::MainWindow(QWidget *parent) :\r
+    QMainWindow(parent),\r
+    ui(new Ui::MainWindow)\r
+{\r
+    ui->setupUi(this);\r
+\r
+    // イベントフィルタを設定する\r
+    this->installEventFilter(this);\r
+\r
+    // ウィンドウタイトルを設定する\r
+    setWindowTitle(tr("げふぅ v0.00"));\r
+\r
+    // ウィンドウ初期サイズを設定する\r
+    resize(800, 600);\r
+}\r
+\r
+MainWindow::~MainWindow()\r
+{\r
+    delete ui;\r
+}\r
+\r
+bool MainWindow::eventFilter(QObject *obj, QEvent *event)\r
+{\r
+    if (event->type() == QEvent::KeyPress) {\r
+        QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);\r
+        switch (keyEvent->key()) {\r
+        case Qt::Key_Tab: {\r
+            FolderPanel *fPanel;\r
+            if (obj->parent()->objectName() == "folderPanel_L") {\r
+                fPanel = ui->folderPanel_R;\r
+            }\r
+            else if (obj->parent()->objectName() == "folderPanel_R") {\r
+                fPanel = ui->folderPanel_L;\r
+            }\r
+            else {\r
+                break;\r
+            }\r
+            fPanel->fileTable()->setFocus();\r
+            keyEvent->accept();\r
+            return true; }\r
+        }\r
+    }\r
+\r
+    return QMainWindow::eventFilter(obj, event);\r
+}\r
+\r
+FolderPanel* MainWindow::activePanel()\r
+{\r
+    if (ui->folderPanel_L->fileTable()->hasFocus()) {\r
+        return ui->folderPanel_L;\r
+    }\r
+    if (ui->folderPanel_R->fileTable()->hasFocus()) {\r
+        return ui->folderPanel_R;\r
+    }\r
+\r
+    return NULL;\r
+}\r
+\r
+FolderPanel* MainWindow::inactivePanel()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (fp == ui->folderPanel_L) {\r
+        return ui->folderPanel_R;\r
+    }\r
+    if (fp == ui->folderPanel_R) {\r
+        return ui->folderPanel_L;\r
+    }\r
+\r
+    return NULL;\r
+}\r
+\r
+void MainWindow::on_action_Quit_triggered()\r
+{\r
+    qApp->quit();\r
+}\r
+\r
+void MainWindow::on_action_Open_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (!fp) {\r
+        return;\r
+    }\r
+\r
+    int row = fp->fileTable()->currentIndex().row();\r
+    QString path = fp->fileTable()->item(row, 1)->text();\r
+    path = fp->dir()->absoluteFilePath(path);\r
+    QFileInfo info(path);\r
+\r
+    if (info.isDir()) {\r
+        fp->setCurrentFolder(path);\r
+    }\r
+}\r
+\r
+void MainWindow::on_action_Exec_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (!fp) {\r
+        return;\r
+    }\r
+\r
+    int row = fp->fileTable()->currentIndex().row();\r
+    QString path = fp->fileTable()->item(row, 1)->text();\r
+    path = fp->dir()->absoluteFilePath(path);\r
+    path = QDir::toNativeSeparators(path);\r
+    QDesktopServices::openUrl(QUrl("file:///" + path));\r
+}\r
+\r
+void MainWindow::on_view_FromOther_triggered()\r
+{\r
+    FolderPanel *fp1 = activePanel();\r
+    FolderPanel *fp2 = inactivePanel();\r
+    if (fp1 == NULL || fp2 == NULL) {\r
+        return;\r
+    }\r
+\r
+    fp1->setCurrentFolder(fp2->dir()->absolutePath());\r
+}\r
+\r
+\r
+void MainWindow::on_view_ToOther_triggered()\r
+{\r
+    FolderPanel *fp1 = activePanel();\r
+    FolderPanel *fp2 = inactivePanel();\r
+    if (fp1 == NULL || fp2 == NULL) {\r
+        return;\r
+    }\r
+\r
+    fp2->setCurrentFolder(fp1->dir()->absolutePath());\r
+}\r
+\r
+void MainWindow::on_mark_Toggle_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (fp == NULL) {\r
+        return;\r
+    }\r
+\r
+    int row = fp->fileTable()->currentIndex().row();\r
+    if (fp->fileTable()->item(row, 1)->text() == "..") {\r
+        // 何もしない\r
+    }\r
+    else if (fp->fileTable()->item(row, 0)->checkState() == Qt::Checked) {\r
+        fp->fileTable()->item(row, 0)->setCheckState(Qt::Unchecked);\r
+    }\r
+    else {\r
+        fp->fileTable()->item(row, 0)->setCheckState(Qt::Checked);\r
+    }\r
+    // 最終行でなければ、次のアイテムに移動する\r
+    if (row < fp->fileTable()->rowCount() - 1) {\r
+        QModelIndex nextIndex = fp->fileTable()->model()->index(row + 1, 1);\r
+        fp->fileTable()->setCurrentIndex(nextIndex);\r
+    }\r
+}\r
+\r
+void MainWindow::on_mark_All_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (fp == NULL) {\r
+        return;\r
+    }\r
+\r
+    int row = 0;\r
+    if (fp->fileTable()->item(row, 1)->text() == "..") {\r
+        row++;\r
+    }\r
+\r
+    for (; row < fp->fileTable()->rowCount(); row++) {\r
+        fp->fileTable()->item(row, 0)->setCheckState(Qt::Checked);\r
+    }\r
+}\r
+\r
+void MainWindow::on_mark_AllFiles_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (fp == NULL) {\r
+        return;\r
+    }\r
+\r
+    int row = 0;\r
+    if (fp->fileTable()->item(row, 1)->text() == "..") {\r
+        row++;\r
+    }\r
+\r
+    for (; row < fp->fileTable()->rowCount(); row++) {\r
+        QString path = fp->fileTable()->item(row, 1)->text();\r
+        path = fp->dir()->absoluteFilePath(path);\r
+\r
+        QFileInfo info(path);\r
+        if (info.isDir()) {\r
+            fp->fileTable()->item(row, 0)->setCheckState(Qt::Unchecked);\r
+        }\r
+        else {\r
+           fp->fileTable()->item(row, 0)->setCheckState(Qt::Checked);\r
+        }\r
+    }\r
+}\r
+\r
+///\r
+/// \brief MainWindow::on_mark_AllOff_triggered\r
+///\r
+/// すべてのマークを解除します\r
+///\r
+void MainWindow::on_mark_AllOff_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (fp == NULL) {\r
+        return;\r
+    }\r
+\r
+    int row = 0;\r
+    if (fp->fileTable()->item(row, 1)->text() == "..") {\r
+        row++;\r
+    }\r
+\r
+    for (; row < fp->fileTable()->rowCount(); row++) {\r
+        fp->fileTable()->item(row, 0)->setCheckState(Qt::Unchecked);\r
+    }\r
+}\r
+\r
+void MainWindow::on_mark_Invert_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (fp == NULL) {\r
+        return;\r
+    }\r
+\r
+    int row = 0;\r
+    if (fp->fileTable()->item(row, 1)->text() == "..") {\r
+        row++;\r
+    }\r
+\r
+    for (; row < fp->fileTable()->rowCount(); row++) {\r
+        QTableWidgetItem *item = fp->fileTable()->item(row, 0);\r
+        if (item->checkState() == Qt::Checked) {\r
+            item->setCheckState(Qt::Unchecked);\r
+        }\r
+        else {\r
+            item->setCheckState(Qt::Checked);\r
+        }\r
+    }\r
+}\r
+\r
+void MainWindow::on_view_Swap_triggered()\r
+{\r
+    FolderPanel *fp1 = activePanel();\r
+    FolderPanel *fp2 = inactivePanel();\r
+    if (fp1 == NULL || fp2 == NULL) {\r
+        return;\r
+    }\r
+\r
+    QString path1 = fp1->dir()->absolutePath();\r
+    QString path2 = fp2->dir()->absolutePath();\r
+\r
+    fp1->setCurrentFolder(path2);\r
+    fp2->setCurrentFolder(path1);\r
+}\r
+\r
+void MainWindow::on_move_Down_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (fp == NULL) {\r
+        return;\r
+    }\r
+\r
+    int row = fp->fileTable()->currentIndex().row();\r
+    if (row < fp->fileTable()->rowCount() - 1) {\r
+        QModelIndex nextIndex = fp->fileTable()->model()->index(row + 1, 1);\r
+        fp->fileTable()->setCurrentIndex(nextIndex);\r
+    }\r
+}\r
+\r
+void MainWindow::on_move_Up_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (fp == NULL) {\r
+        return;\r
+    }\r
+\r
+    int row = fp->fileTable()->currentIndex().row();\r
+    if (row > 0) {\r
+        QModelIndex nextIndex = fp->fileTable()->model()->index(row - 1, 1);\r
+        fp->fileTable()->setCurrentIndex(nextIndex);\r
+    }\r
+}\r
+\r
+void MainWindow::on_move_Parent_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (fp == NULL) {\r
+        return;\r
+    }\r
+\r
+    if (!fp->dir()->isRoot()) {\r
+        QString path = fp->dir()->absoluteFilePath("..");\r
+        fp->setCurrentFolder(path);\r
+    }\r
+}\r
+\r
+void MainWindow::on_move_Root_triggered()\r
+{\r
+    FolderPanel *fp = activePanel();\r
+    if (fp == NULL) {\r
+        return;\r
+    }\r
+\r
+    if (!fp->dir()->isRoot()) {\r
+        fp->setCurrentFolder(QDir::rootPath());\r
+    }\r
+}\r
diff --git a/mainwindow.h b/mainwindow.h
new file mode 100644 (file)
index 0000000..bf96bc0
--- /dev/null
@@ -0,0 +1,58 @@
+#ifndef MAINWINDOW_H\r
+#define MAINWINDOW_H\r
+\r
+#include <QMainWindow>\r
+class FolderPanel;\r
+\r
+namespace Ui {\r
+class MainWindow;\r
+}\r
+\r
+class MainWindow : public QMainWindow\r
+{\r
+    Q_OBJECT\r
+\r
+public:\r
+    explicit MainWindow(QWidget *parent = 0);\r
+    ~MainWindow();\r
+\r
+private slots:\r
+    void on_action_Quit_triggered();\r
+    void on_action_Open_triggered();\r
+\r
+    void on_action_Exec_triggered();\r
+\r
+    void on_view_FromOther_triggered();\r
+\r
+    void on_view_ToOther_triggered();\r
+\r
+    void on_mark_Toggle_triggered();\r
+\r
+    void on_mark_All_triggered();\r
+\r
+    void on_mark_AllFiles_triggered();\r
+\r
+    void on_mark_AllOff_triggered();\r
+\r
+    void on_mark_Invert_triggered();\r
+\r
+    void on_view_Swap_triggered();\r
+\r
+    void on_move_Down_triggered();\r
+\r
+    void on_move_Up_triggered();\r
+\r
+    void on_move_Parent_triggered();\r
+\r
+    void on_move_Root_triggered();\r
+\r
+private:\r
+    Ui::MainWindow *ui;\r
+\r
+    bool eventFilter(QObject *, QEvent *);\r
+    FolderPanel* activePanel();\r
+    FolderPanel* inactivePanel();\r
+\r
+};\r
+\r
+#endif // MAINWINDOW_H\r
diff --git a/mainwindow.ui b/mainwindow.ui
new file mode 100644 (file)
index 0000000..4edbf59
--- /dev/null
@@ -0,0 +1,505 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<ui version="4.0">\r
+ <class>MainWindow</class>\r
+ <widget class="QMainWindow" name="MainWindow">\r
+  <property name="geometry">\r
+   <rect>\r
+    <x>0</x>\r
+    <y>0</y>\r
+    <width>647</width>\r
+    <height>377</height>\r
+   </rect>\r
+  </property>\r
+  <property name="windowTitle">\r
+   <string>MainWindow</string>\r
+  </property>\r
+  <widget class="QWidget" name="centralWidget">\r
+   <layout class="QVBoxLayout" name="verticalLayout">\r
+    <property name="spacing">\r
+     <number>1</number>\r
+    </property>\r
+    <property name="leftMargin">\r
+     <number>1</number>\r
+    </property>\r
+    <property name="topMargin">\r
+     <number>1</number>\r
+    </property>\r
+    <property name="rightMargin">\r
+     <number>1</number>\r
+    </property>\r
+    <property name="bottomMargin">\r
+     <number>1</number>\r
+    </property>\r
+    <item>\r
+     <widget class="QSplitter" name="splitter">\r
+      <property name="orientation">\r
+       <enum>Qt::Horizontal</enum>\r
+      </property>\r
+      <widget class="FolderPanel" name="folderPanel_L" native="true">\r
+       <property name="sizePolicy">\r
+        <sizepolicy hsizetype="Expanding" vsizetype="Expanding">\r
+         <horstretch>0</horstretch>\r
+         <verstretch>0</verstretch>\r
+        </sizepolicy>\r
+       </property>\r
+      </widget>\r
+      <widget class="FolderPanel" name="folderPanel_R" native="true">\r
+       <property name="sizePolicy">\r
+        <sizepolicy hsizetype="Expanding" vsizetype="Expanding">\r
+         <horstretch>0</horstretch>\r
+         <verstretch>0</verstretch>\r
+        </sizepolicy>\r
+       </property>\r
+      </widget>\r
+     </widget>\r
+    </item>\r
+    <item>\r
+     <layout class="QHBoxLayout" name="horizontalLayout">\r
+      <property name="spacing">\r
+       <number>0</number>\r
+      </property>\r
+      <property name="sizeConstraint">\r
+       <enum>QLayout::SetMinimumSize</enum>\r
+      </property>\r
+      <item>\r
+       <widget class="QPushButton" name="pushButton_4">\r
+        <property name="focusPolicy">\r
+         <enum>Qt::NoFocus</enum>\r
+        </property>\r
+        <property name="text">\r
+         <string>PushButton</string>\r
+        </property>\r
+       </widget>\r
+      </item>\r
+      <item>\r
+       <widget class="QPushButton" name="pushButton_3">\r
+        <property name="focusPolicy">\r
+         <enum>Qt::NoFocus</enum>\r
+        </property>\r
+        <property name="text">\r
+         <string>PushButton</string>\r
+        </property>\r
+       </widget>\r
+      </item>\r
+      <item>\r
+       <widget class="QPushButton" name="pushButton_2">\r
+        <property name="minimumSize">\r
+         <size>\r
+          <width>1</width>\r
+          <height>0</height>\r
+         </size>\r
+        </property>\r
+        <property name="focusPolicy">\r
+         <enum>Qt::NoFocus</enum>\r
+        </property>\r
+        <property name="text">\r
+         <string>PushButton</string>\r
+        </property>\r
+       </widget>\r
+      </item>\r
+      <item>\r
+       <widget class="QPushButton" name="pushButton">\r
+        <property name="minimumSize">\r
+         <size>\r
+          <width>1</width>\r
+          <height>0</height>\r
+         </size>\r
+        </property>\r
+        <property name="focusPolicy">\r
+         <enum>Qt::NoFocus</enum>\r
+        </property>\r
+        <property name="text">\r
+         <string>PushButton</string>\r
+        </property>\r
+       </widget>\r
+      </item>\r
+     </layout>\r
+    </item>\r
+   </layout>\r
+  </widget>\r
+  <widget class="QToolBar" name="mainToolBar">\r
+   <property name="movable">\r
+    <bool>false</bool>\r
+   </property>\r
+   <property name="iconSize">\r
+    <size>\r
+     <width>16</width>\r
+     <height>16</height>\r
+    </size>\r
+   </property>\r
+   <attribute name="toolBarArea">\r
+    <enum>TopToolBarArea</enum>\r
+   </attribute>\r
+   <attribute name="toolBarBreak">\r
+    <bool>false</bool>\r
+   </attribute>\r
+   <addaction name="action_Open"/>\r
+  </widget>\r
+  <widget class="QStatusBar" name="statusBar"/>\r
+  <widget class="QMenuBar" name="menuBar">\r
+   <property name="geometry">\r
+    <rect>\r
+     <x>0</x>\r
+     <y>0</y>\r
+     <width>647</width>\r
+     <height>24</height>\r
+    </rect>\r
+   </property>\r
+   <widget class="QMenu" name="menu_File">\r
+    <property name="title">\r
+     <string>ファイル(&amp;F)</string>\r
+    </property>\r
+    <addaction name="action_Open"/>\r
+    <addaction name="action_Exec"/>\r
+    <addaction name="separator"/>\r
+    <addaction name="action_Setting"/>\r
+    <addaction name="separator"/>\r
+    <addaction name="action_Quit"/>\r
+   </widget>\r
+   <widget class="QMenu" name="menu_Mark">\r
+    <property name="title">\r
+     <string>マーク(&amp;M)</string>\r
+    </property>\r
+    <addaction name="mark_Toggle"/>\r
+    <addaction name="mark_All"/>\r
+    <addaction name="mark_AllFiles"/>\r
+    <addaction name="mark_AllOff"/>\r
+    <addaction name="mark_Invert"/>\r
+   </widget>\r
+   <widget class="QMenu" name="menu_View">\r
+    <property name="title">\r
+     <string>表示(&amp;V)</string>\r
+    </property>\r
+    <addaction name="view_FromOther"/>\r
+    <addaction name="view_ToOther"/>\r
+    <addaction name="view_Swap"/>\r
+    <addaction name="separator"/>\r
+    <addaction name="view_Hidden"/>\r
+    <addaction name="view_Sort"/>\r
+   </widget>\r
+   <widget class="QMenu" name="menu_Move">\r
+    <property name="title">\r
+     <string>移動(&amp;E)</string>\r
+    </property>\r
+    <addaction name="move_Back"/>\r
+    <addaction name="move_Forward"/>\r
+    <addaction name="move_History"/>\r
+    <addaction name="separator"/>\r
+    <addaction name="move_Parent"/>\r
+    <addaction name="move_Root"/>\r
+    <addaction name="move_Jump"/>\r
+    <addaction name="separator"/>\r
+    <addaction name="move_Down"/>\r
+    <addaction name="move_Up"/>\r
+   </widget>\r
+   <addaction name="menu_File"/>\r
+   <addaction name="menu_Mark"/>\r
+   <addaction name="menu_View"/>\r
+   <addaction name="menu_Move"/>\r
+  </widget>\r
+  <action name="action_Quit">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Exit.png</normaloff>:/images/Exit.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>Q</string>\r
+   </property>\r
+  </action>\r
+  <action name="action_Open">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Open.png</normaloff>:/images/Open.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>Return</string>\r
+   </property>\r
+  </action>\r
+  <action name="action_Exec">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Play.png</normaloff>:/images/Play.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>Ctrl+Return</string>\r
+   </property>\r
+  </action>\r
+  <action name="view_FromOther">\r
+   <property name="icon">\r
+    <iconset theme="隣のパネルと同じフォルダを表示" resource="resource.qrc">\r
+     <normaloff>:/images/Synchronize.png</normaloff>:/images/Synchronize.png</iconset>\r
+   </property>\r
+   <property name="text">\r
+    <string>隣のパネルと同じフォルダを表示</string>\r
+   </property>\r
+   <property name="shortcut">\r
+    <string>O</string>\r
+   </property>\r
+  </action>\r
+  <action name="view_ToOther">\r
+   <property name="text">\r
+    <string>隣のパネルに同じフォルダを表示</string>\r
+   </property>\r
+   <property name="toolTip">\r
+    <string>隣のパネルに同じフォルダを表示</string>\r
+   </property>\r
+   <property name="shortcut">\r
+    <string>Ctrl+O</string>\r
+   </property>\r
+  </action>\r
+  <action name="mark_Toggle">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Apply.png</normaloff>:/images/Apply.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>Space</string>\r
+   </property>\r
+  </action>\r
+  <action name="mark_All">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Check boxes.png</normaloff>:/images/Check boxes.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>Ctrl+A</string>\r
+   </property>\r
+  </action>\r
+  <action name="mark_AllFiles">\r
+   <property name="text">\r
+    <string>すべてのファイルをマーク</string>\r
+   </property>\r
+   <property name="toolTip">\r
+    <string>すべてのファイルをマーク</string>\r
+   </property>\r
+   <property name="shortcut">\r
+    <string>A</string>\r
+   </property>\r
+  </action>\r
+  <action name="mark_AllOff">\r
+   <property name="text">\r
+    <string>すべてのマークを解除</string>\r
+   </property>\r
+   <property name="toolTip">\r
+    <string>すべてのマークを解除</string>\r
+   </property>\r
+   <property name="shortcut">\r
+    <string>Shift+A</string>\r
+   </property>\r
+  </action>\r
+  <action name="mark_Invert">\r
+   <property name="text">\r
+    <string>マークを反転</string>\r
+   </property>\r
+   <property name="toolTip">\r
+    <string>マークを反転</string>\r
+   </property>\r
+   <property name="shortcut">\r
+    <string>I</string>\r
+   </property>\r
+  </action>\r
+  <action name="view_Swap">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Text replace.png</normaloff>:/images/Text replace.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>W</string>\r
+   </property>\r
+  </action>\r
+  <action name="action_Setting">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Settings.png</normaloff>:/images/Settings.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>Z</string>\r
+   </property>\r
+  </action>\r
+  <action name="view_Hidden">\r
+   <property name="checkable">\r
+    <bool>true</bool>\r
+   </property>\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Show.png</normaloff>:/images/Show.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>Ctrl+H</string>\r
+   </property>\r
+  </action>\r
+  <action name="view_Sort">\r
+   <property name="text">\r
+    <string>ソート方法...</string>\r
+   </property>\r
+   <property name="toolTip">\r
+    <string>ソート方法</string>\r
+   </property>\r
+   <property name="shortcut">\r
+    <string>S</string>\r
+   </property>\r
+  </action>\r
+  <action name="move_Down">\r
+   <property name="text">\r
+    <string>カーソルを下に</string>\r
+   </property>\r
+   <property name="toolTip">\r
+    <string>カーソルを下に</string>\r
+   </property>\r
+   <property name="shortcut">\r
+    <string>J</string>\r
+   </property>\r
+  </action>\r
+  <action name="move_Up">\r
+   <property name="text">\r
+    <string>カーソルを上に</string>\r
+   </property>\r
+   <property name="toolTip">\r
+    <string>カーソルを上に</string>\r
+   </property>\r
+   <property name="shortcut">\r
+    <string>K</string>\r
+   </property>\r
+  </action>\r
+  <action name="move_Back">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Back.png</normaloff>:/images/Back.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>Alt+Left</string>\r
+   </property>\r
+  </action>\r
+  <action name="move_Forward">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Forward.png</normaloff>:/images/Forward.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>Alt+Right</string>\r
+   </property>\r
+  </action>\r
+  <action name="move_History">\r
+   <property name="text">\r
+    <string>履歴...</string>\r
+   </property>\r
+   <property name="toolTip">\r
+    <string>履歴</string>\r
+   </property>\r
+   <property name="shortcut">\r
+    <string>H</string>\r
+   </property>\r
+  </action>\r
+  <action name="move_Parent">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Up.png</normaloff>:/images/Up.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>Backspace</string>\r
+   </property>\r
+  </action>\r
+  <action name="move_Root">\r
+   <property name="text">\r
+    <string>ルートフォルダに移動</string>\r
+   </property>\r
+   <property name="toolTip">\r
+    <string>ルートフォルダに移動</string>\r
+   </property>\r
+   <property name="shortcut">\r
+    <string>Ctrl+Backspace</string>\r
+   </property>\r
+  </action>\r
+  <action name="move_Jump">\r
+   <property name="icon">\r
+    <iconset resource="resource.qrc">\r
+     <normaloff>:/images/Folder.png</normaloff>:/images/Folder.png</iconset>\r
+   </property>\r
+   <property name="text">\r
+    <string>フォルダを選択して移動</string>\r
+   </property>\r
+   <property name="toolTip">\r
+    <string>フォルダを選択して移動</string>\r
+   </property>\r
+  </action>\r
+ </widget>\r
+ <layoutdefault spacing="6" margin="11"/>\r
+ <customwidgets>\r
+  <customwidget>\r
+   <class>FolderPanel</class>\r
+   <extends>QWidget</extends>\r
+   <header>folderpanel.h</header>\r
+   <container>1</container>\r
+  </customwidget>\r
+ </customwidgets>\r
+ <resources>\r
+  <include location="resource.qrc"/>\r
+ </resources>\r
+ <connections/>\r
+</ui>\r
diff --git a/resource.qrc b/resource.qrc
new file mode 100644 (file)
index 0000000..b35a1df
--- /dev/null
@@ -0,0 +1,250 @@
+<RCC>
+    <qresource prefix="/">
+        <file>images/3d bar chart.png</file>
+        <file>images/3d chart.png</file>
+        <file>images/3d graph.png</file>
+        <file>images/16 colors.png</file>
+        <file>images/256 colors.png</file>
+        <file>images/About.png</file>
+        <file>images/Add.png</file>
+        <file>images/Add folder.png</file>
+        <file>images/Angle.png</file>
+        <file>images/Apply.png</file>
+        <file>images/Arc.png</file>
+        <file>images/Arrow.png</file>
+        <file>images/Attach.png</file>
+        <file>images/Back.png</file>
+        <file>images/Bitmap editor.png</file>
+        <file>images/Brightness.png</file>
+        <file>images/Brush.png</file>
+        <file>images/Camera.png</file>
+        <file>images/Cancel.png</file>
+        <file>images/Chart xy.png</file>
+        <file>images/Check boxes.png</file>
+        <file>images/Circle.png</file>
+        <file>images/Clear.png</file>
+        <file>images/Clipboard.png</file>
+        <file>images/Close.png</file>
+        <file>images/Close file.png</file>
+        <file>images/Close folder.png</file>
+        <file>images/CMYK.png</file>
+        <file>images/Coffe.png</file>
+        <file>images/Coffee.png</file>
+        <file>images/Color.png</file>
+        <file>images/Color balance.png</file>
+        <file>images/Color filter.png</file>
+        <file>images/Color layers.png</file>
+        <file>images/Color palette.png</file>
+        <file>images/Color profile.png</file>
+        <file>images/Color test.png</file>
+        <file>images/Comment.png</file>
+        <file>images/Contrast.png</file>
+        <file>images/Copy.png</file>
+        <file>images/Create.png</file>
+        <file>images/Critical details.png</file>
+        <file>images/Curve.png</file>
+        <file>images/Curve points.png</file>
+        <file>images/Cut.png</file>
+        <file>images/Danger.png</file>
+        <file>images/Decrease time.png</file>
+        <file>images/Delete.png</file>
+        <file>images/Delete frame.png</file>
+        <file>images/Delete frames.png</file>
+        <file>images/Designer.png</file>
+        <file>images/Diagram.png</file>
+        <file>images/Down.png</file>
+        <file>images/Download.png</file>
+        <file>images/Download image.png</file>
+        <file>images/Dropper.png</file>
+        <file>images/Edit.png</file>
+        <file>images/Edit page.png</file>
+        <file>images/Edit text.png</file>
+        <file>images/Ellipse.png</file>
+        <file>images/E-mail.png</file>
+        <file>images/Equipment.png</file>
+        <file>images/Erase.png</file>
+        <file>images/Eraser.png</file>
+        <file>images/Error.png</file>
+        <file>images/Exit.png</file>
+        <file>images/Export.png</file>
+        <file>images/Favourites.png</file>
+        <file>images/Feather.png</file>
+        <file>images/File exetension.png</file>
+        <file>images/Fill.png</file>
+        <file>images/Find.png</file>
+        <file>images/Fine brush.png</file>
+        <file>images/Flip.png</file>
+        <file>images/Flip horizontally.png</file>
+        <file>images/Flip vertically.png</file>
+        <file>images/Flow block.png</file>
+        <file>images/Flower.png</file>
+        <file>images/Folder.png</file>
+        <file>images/Form.png</file>
+        <file>images/Forward.png</file>
+        <file>images/Frames.png</file>
+        <file>images/Funnel.png</file>
+        <file>images/Go down.png</file>
+        <file>images/Go up.png</file>
+        <file>images/Gpadient.png</file>
+        <file>images/Graphic designer.png</file>
+        <file>images/Graphic file.png</file>
+        <file>images/Graphic tools.png</file>
+        <file>images/Grid.png</file>
+        <file>images/Help.png</file>
+        <file>images/Help book.png</file>
+        <file>images/Hexagon.png</file>
+        <file>images/Hide.png</file>
+        <file>images/Hint.png</file>
+        <file>images/Hints.png</file>
+        <file>images/Home.png</file>
+        <file>images/Homepage.png</file>
+        <file>images/HSL.png</file>
+        <file>images/HSV.png</file>
+        <file>images/Ico.png</file>
+        <file>images/Icon wizard.png</file>
+        <file>images/Import.png</file>
+        <file>images/Increase time.png</file>
+        <file>images/Index.png</file>
+        <file>images/Info.png</file>
+        <file>images/Key.png</file>
+        <file>images/Knife.png</file>
+        <file>images/LAB color model.png</file>
+        <file>images/Layers.png</file>
+        <file>images/Left.png</file>
+        <file>images/Left-right.png</file>
+        <file>images/Line.png</file>
+        <file>images/List.png</file>
+        <file>images/Lock.png</file>
+        <file>images/Lock color.png</file>
+        <file>images/Lock transparency.png</file>
+        <file>images/Magic hat.png</file>
+        <file>images/Measure.png</file>
+        <file>images/Microsoft flag.png</file>
+        <file>images/Monitor.png</file>
+        <file>images/Monitors.png</file>
+        <file>images/Mouse.png</file>
+        <file>images/Mouse pointer.png</file>
+        <file>images/Move.png</file>
+        <file>images/Movie.png</file>
+        <file>images/New clip art.png</file>
+        <file>images/New file.png</file>
+        <file>images/New frame.png</file>
+        <file>images/New frame1.png</file>
+        <file>images/New image.png</file>
+        <file>images/New imagelist.png</file>
+        <file>images/New video.png</file>
+        <file>images/No.png</file>
+        <file>images/Objects.png</file>
+        <file>images/Ok.png</file>
+        <file>images/Open.png</file>
+        <file>images/Open colors.png</file>
+        <file>images/Open file.png</file>
+        <file>images/Open v2.png</file>
+        <file>images/Paint over pixels.png</file>
+        <file>images/Painter.png</file>
+        <file>images/Pantone.png</file>
+        <file>images/Paste.png</file>
+        <file>images/Pen.png</file>
+        <file>images/Pencil.png</file>
+        <file>images/Pick color.png</file>
+        <file>images/Picture.png</file>
+        <file>images/Pie chart.png</file>
+        <file>images/Pin.png</file>
+        <file>images/Pinion.png</file>
+        <file>images/Pixel editor.png</file>
+        <file>images/Pixels.png</file>
+        <file>images/Play.png</file>
+        <file>images/Preview.png</file>
+        <file>images/Print.png</file>
+        <file>images/Problem.png</file>
+        <file>images/Properties.png</file>
+        <file>images/Red book.png</file>
+        <file>images/Red eye removing.png</file>
+        <file>images/Redo.png</file>
+        <file>images/Refresh.png</file>
+        <file>images/Registration.png</file>
+        <file>images/Registry.png</file>
+        <file>images/Rename.png</file>
+        <file>images/Replace pixels.png</file>
+        <file>images/Resize image.png</file>
+        <file>images/Restangle.png</file>
+        <file>images/Revert.png</file>
+        <file>images/RGB.png</file>
+        <file>images/Right.png</file>
+        <file>images/Rotate CCW.png</file>
+        <file>images/Rotate CW.png</file>
+        <file>images/Rotate left.png</file>
+        <file>images/Rotate right.png</file>
+        <file>images/Rotation.png</file>
+        <file>images/Rounded rectangle.png</file>
+        <file>images/Save.png</file>
+        <file>images/Save as.png</file>
+        <file>images/Save color.png</file>
+        <file>images/Save data.png</file>
+        <file>images/Save image.png</file>
+        <file>images/Save picture.png</file>
+        <file>images/Scan film.png</file>
+        <file>images/Scan image.png</file>
+        <file>images/Scanner.png</file>
+        <file>images/Scenario.png</file>
+        <file>images/Script.png</file>
+        <file>images/Search.png</file>
+        <file>images/Search computer.png</file>
+        <file>images/Search folder.png</file>
+        <file>images/Search online.png</file>
+        <file>images/Search text.png</file>
+        <file>images/Select gpadient.png</file>
+        <file>images/Selection.png</file>
+        <file>images/Settings.png</file>
+        <file>images/Sharpness.png</file>
+        <file>images/Show.png</file>
+        <file>images/Sizes.png</file>
+        <file>images/Smooth.png</file>
+        <file>images/Smooth line.png</file>
+        <file>images/Spell checking.png</file>
+        <file>images/Spiral.png</file>
+        <file>images/Spray.png</file>
+        <file>images/Square.png</file>
+        <file>images/Stop.png</file>
+        <file>images/Stop playing.png</file>
+        <file>images/Synchronize.png</file>
+        <file>images/Tag.png</file>
+        <file>images/Target.png</file>
+        <file>images/Target1.png</file>
+        <file>images/Test line.png</file>
+        <file>images/Text color.png</file>
+        <file>images/Text replace.png</file>
+        <file>images/Text tool.png</file>
+        <file>images/Time.png</file>
+        <file>images/Tip of the day.png</file>
+        <file>images/To do list.png</file>
+        <file>images/Tools.png</file>
+        <file>images/Touch.png</file>
+        <file>images/Transparency.png</file>
+        <file>images/Transparent background.png</file>
+        <file>images/Transparent color.png</file>
+        <file>images/Triangle.png</file>
+        <file>images/True color.png</file>
+        <file>images/Undo.png</file>
+        <file>images/Units.png</file>
+        <file>images/Unlock.png</file>
+        <file>images/Up.png</file>
+        <file>images/Up-down.png</file>
+        <file>images/Upload image.png</file>
+        <file>images/Wait.png</file>
+        <file>images/Warning.png</file>
+        <file>images/Web designer.png</file>
+        <file>images/Webcam.png</file>
+        <file>images/Wide brush.png</file>
+        <file>images/Wizard.png</file>
+        <file>images/Work area.png</file>
+        <file>images/Writing pencil.png</file>
+        <file>images/Wrong.png</file>
+        <file>images/Yes.png</file>
+        <file>images/YUV color space.png</file>
+        <file>images/Zoom.png</file>
+        <file>images/Zoom auto.png</file>
+        <file>images/Zoom in.png</file>
+        <file>images/Zoom out.png</file>
+    </qresource>
+</RCC>