sshfs-mapper: Added basic UI files.

git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1660 eaee96b3-f302-0410-b096-c6cfd47f7835
This commit is contained in:
Glenn Y. Rolland 2011-03-08 00:20:47 +00:00
parent 3b1083df73
commit 22fae53132
3 changed files with 82 additions and 3 deletions

View file

@ -5,11 +5,10 @@ MANDIR=$(DESTDIR)/usr/share/man
DOCDIR=$(DESTDIR)/usr/share/doc/sshfs-mapper DOCDIR=$(DESTDIR)/usr/share/doc/sshfs-mapper
all: all:
racc -v -o mapparser.rb mapparser.y $(MAKE) -C sshfs-mapper
cat mapparser.output
clean: clean:
rm -f mapparser.rb $(MAKE) -C sshfs-mapper clean
install: install:
mkdir -p $(BINDIR) mkdir -p $(BINDIR)

11
sshfs-mapper/Makefile Normal file
View file

@ -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)

69
sshfs-mapper/map_view.ui Normal file
View file

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MapViewUI</class>
<widget class="QWidget" name="MapViewUI">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>200</width>
<height>212</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>60</x>
<y>50</y>
<width>111</width>
<height>131</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGraphicsView" name="icon">
<property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="title">
<property name="maximumSize">
<size>
<width>128</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">text-align: center;</string>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>