# HG changeset patch
# User larspson
# Date 1286993736 -7200
# Node ID f0b8582ef9ac1a617eb8079b8052359ae1c9335d
# Parent 05075131dd6aabc4cc5d4996853da376637a4481
Started some basic UI stuff
diff -r 05075131dd6a -r f0b8582ef9ac podcatcher_qt/forms/podcatcherwin.ui
--- a/podcatcher_qt/forms/podcatcherwin.ui Wed Oct 13 20:14:00 2010 +0200
+++ b/podcatcher_qt/forms/podcatcherwin.ui Wed Oct 13 20:15:36 2010 +0200
@@ -1,7 +1,8 @@
+
PodcatcherWin
-
-
+
+
0
0
@@ -9,13 +10,71 @@
640
-
+
PodcatcherWin
-
+
+
+
+
+
+ -
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+
+ 0
+ 0
+
+
+
+ Add
+
+
+
+
+
+ 0
+ 0
+
+
+
+ Update
+
+
+
+
+
+ 0
+ 0
+
+
+
+ Settings
+
+
+
+
+
+
+
-
-
+
diff -r 05075131dd6a -r f0b8582ef9ac podcatcher_qt/inc/podcatcherwin.h
--- a/podcatcher_qt/inc/podcatcherwin.h Wed Oct 13 20:14:00 2010 +0200
+++ b/podcatcher_qt/inc/podcatcherwin.h Wed Oct 13 20:15:36 2010 +0200
@@ -2,7 +2,7 @@
#define PODCATCHERWIN_H
#include
-
+#include
namespace Ui {
class PodcatcherWin;
}
@@ -17,6 +17,14 @@
private:
Ui::PodcatcherWin *ui;
+
+private slots:
+ void on_Settings_clicked();
+ void on_Update_clicked();
+ void on_Add_clicked();
+ void on_Add_clicked(bool checked);
+ void on_listView_clicked(QModelIndex index);
+ void on_listView_customContextMenuRequested(QPoint pos);
};
#endif // PODCATCHERWIN_H
diff -r 05075131dd6a -r f0b8582ef9ac podcatcher_qt/src/podcatcherwin.cpp
--- a/podcatcher_qt/src/podcatcherwin.cpp Wed Oct 13 20:14:00 2010 +0200
+++ b/podcatcher_qt/src/podcatcherwin.cpp Wed Oct 13 20:15:36 2010 +0200
@@ -1,14 +1,41 @@
#include "podcatcherwin.h"
-#include "ui_podcatcherwin.h"
+#include "ui/ui_podcatcherwin.h"
+#include
PodcatcherWin::PodcatcherWin(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::PodcatcherWin)
{
- ui->setupUi(this);
+ ui->setupUi(this);
}
PodcatcherWin::~PodcatcherWin()
{
delete ui;
}
+
+void PodcatcherWin::on_listView_customContextMenuRequested(QPoint pos)
+{
+
+}
+
+void PodcatcherWin::on_listView_clicked(QModelIndex index)
+{
+
+}
+
+
+void PodcatcherWin::on_Add_clicked()
+{
+
+}
+
+void PodcatcherWin::on_Update_clicked()
+{
+
+}
+
+void PodcatcherWin::on_Settings_clicked()
+{
+
+}