From 22fae53132d9203813379b698ad18116657d175c Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Tue, 8 Mar 2011 00:20:47 +0000 Subject: [PATCH] sshfs-mapper: Added basic UI files. git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1660 eaee96b3-f302-0410-b096-c6cfd47f7835 --- Makefile | 5 ++- sshfs-mapper/Makefile | 11 +++++++ sshfs-mapper/map_view.ui | 69 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 sshfs-mapper/Makefile create mode 100644 sshfs-mapper/map_view.ui diff --git a/Makefile b/Makefile index 0a62853..f406a86 100644 --- a/Makefile +++ b/Makefile @@ -5,11 +5,10 @@ MANDIR=$(DESTDIR)/usr/share/man DOCDIR=$(DESTDIR)/usr/share/doc/sshfs-mapper all: - racc -v -o mapparser.rb mapparser.y - cat mapparser.output + $(MAKE) -C sshfs-mapper clean: - rm -f mapparser.rb + $(MAKE) -C sshfs-mapper clean install: mkdir -p $(BINDIR) diff --git a/sshfs-mapper/Makefile b/sshfs-mapper/Makefile new file mode 100644 index 0000000..bffd657 --- /dev/null +++ b/sshfs-mapper/Makefile @@ -0,0 +1,11 @@ + +UIFILES=$(wildcard *.ui) +RB_UIFILES=$(patsubst %.ui,%_ui.rb,$(UIFILES)) + +all: $(RB_UIFILES) + +%_ui.rb: %.ui + rbuic4 $< -o $@ + +clean: + rm -f $(RB_UIFILES) diff --git a/sshfs-mapper/map_view.ui b/sshfs-mapper/map_view.ui new file mode 100644 index 0000000..b051106 --- /dev/null +++ b/sshfs-mapper/map_view.ui @@ -0,0 +1,69 @@ + + + MapViewUI + + + + 0 + 0 + 200 + 212 + + + + + 400 + 16777215 + + + + Form + + + + + 60 + 50 + 111 + 131 + + + + + + + + 32 + 32 + + + + + 64 + 64 + + + + + + + + + 128 + 16777215 + + + + text-align: center; + + + TextLabel + + + + + + + + +