added gui configuration skeleton
This commit is contained in:
parent
2472f58b27
commit
d00dc205a3
13 changed files with 1173 additions and 0 deletions
62
gui/.cproject
Normal file
62
gui/.cproject
Normal file
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="org.eclipse.cdt.core.default.config.1736479520">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.core.defaultConfigDataProvider" id="org.eclipse.cdt.core.default.config.1736479520" moduleId="org.eclipse.cdt.core.settings" name="Configuration">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets">
|
||||
<buildTargets>
|
||||
<target name="Qt Release Build" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder">
|
||||
<buildCommand>make</buildCommand>
|
||||
<buildArguments/>
|
||||
<buildTarget>release</buildTarget>
|
||||
<stopOnError>false</stopOnError>
|
||||
<useDefaultCommand>false</useDefaultCommand>
|
||||
<runAllBuilders>true</runAllBuilders>
|
||||
</target>
|
||||
<target name="Qt Debug Build" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder">
|
||||
<buildCommand>make</buildCommand>
|
||||
<buildArguments/>
|
||||
<buildTarget>debug</buildTarget>
|
||||
<stopOnError>false</stopOnError>
|
||||
<useDefaultCommand>false</useDefaultCommand>
|
||||
<runAllBuilders>true</runAllBuilders>
|
||||
</target>
|
||||
</buildTargets>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.pathentry">
|
||||
<pathentry base-path="/usr/share/qt4/include" include="" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtScript" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtXmlPatterns" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtMultimedia" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="Qt" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtScriptTools" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtSql" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtSvg" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtHelp" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtWebKit" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtNetwork" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="Qt3Support" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtCore" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtDesigner" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtUiTools" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtOpenGL" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtDBus" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtGui" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtXml" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtAssistant" kind="inc" path="" system="true"/>
|
||||
<pathentry base-path="/usr/share/qt4/include" include="QtTest" kind="inc" path="" system="true"/>
|
||||
</storageModule>
|
||||
</cproject>
|
88
gui/.project
Normal file
88
gui/.project
Normal file
|
@ -0,0 +1,88 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>hidekey-gui</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>com.trolltech.qtcppproject.QtMakefileGenerator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.make.core.makeBuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.core.errorOutputParser</key>
|
||||
<value>org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.VCErrorParser;org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.MakeErrorParser;</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.append_environment</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.build.arguments</key>
|
||||
<value></value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.build.command</key>
|
||||
<value>make</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.build.target.auto</key>
|
||||
<value>debug</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.build.target.clean</key>
|
||||
<value>clean</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.build.target.inc</key>
|
||||
<value>debug</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
|
||||
<value>false</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.enabledIncrementalBuild</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.environment</key>
|
||||
<value>PATH=/usr/bin:${env_var:PATH}|</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.stopOnError</key>
|
||||
<value>false</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
|
||||
<value>false</value>
|
||||
</dictionary>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.make.core.ScannerConfigBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>org.eclipse.cdt.make.core.makeNature</nature>
|
||||
<nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature>
|
||||
<nature>com.trolltech.qtcppproject.QtNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
139
gui/Makefile
Normal file
139
gui/Makefile
Normal file
|
@ -0,0 +1,139 @@
|
|||
#############################################################################
|
||||
# Makefile for building: hidekey_gui
|
||||
# Generated by qmake (2.01a) (Qt 4.6.3) on: Do. Jan 26 23:43:20 2012
|
||||
# Project: hidekey_gui.pro
|
||||
# Template: app
|
||||
# Command: /usr/bin/qmake -unix CONFIG+=debug_and_release -o Makefile hidekey_gui.pro
|
||||
#############################################################################
|
||||
|
||||
first: release
|
||||
install: release-install
|
||||
uninstall: release-uninstall
|
||||
MAKEFILE = Makefile
|
||||
QMAKE = /usr/bin/qmake
|
||||
DEL_FILE = rm -f
|
||||
CHK_DIR_EXISTS= test -d
|
||||
MKDIR = mkdir -p
|
||||
COPY = cp -f
|
||||
COPY_FILE = $(COPY)
|
||||
COPY_DIR = $(COPY) -r
|
||||
INSTALL_FILE = install -m 644 -p
|
||||
INSTALL_PROGRAM = install -m 755 -p
|
||||
INSTALL_DIR = $(COPY_DIR)
|
||||
DEL_FILE = rm -f
|
||||
SYMLINK = ln -f -s
|
||||
DEL_DIR = rmdir
|
||||
MOVE = mv -f
|
||||
CHK_DIR_EXISTS= test -d
|
||||
MKDIR = mkdir -p
|
||||
SUBTARGETS = \
|
||||
release \
|
||||
debug
|
||||
|
||||
release: $(MAKEFILE).Release FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-make_default: $(MAKEFILE).Release FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-make_first: $(MAKEFILE).Release FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release first
|
||||
release-all: $(MAKEFILE).Release FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release all
|
||||
release-clean: $(MAKEFILE).Release FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release clean
|
||||
release-distclean: $(MAKEFILE).Release FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release distclean
|
||||
release-install: $(MAKEFILE).Release FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release install
|
||||
release-uninstall: $(MAKEFILE).Release FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release uninstall
|
||||
debug: $(MAKEFILE).Debug FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-make_default: $(MAKEFILE).Debug FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-make_first: $(MAKEFILE).Debug FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug first
|
||||
debug-all: $(MAKEFILE).Debug FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug all
|
||||
debug-clean: $(MAKEFILE).Debug FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug clean
|
||||
debug-distclean: $(MAKEFILE).Debug FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug distclean
|
||||
debug-install: $(MAKEFILE).Debug FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug install
|
||||
debug-uninstall: $(MAKEFILE).Debug FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug uninstall
|
||||
|
||||
Makefile: hidekey_gui.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
|
||||
/usr/share/qt4/mkspecs/common/unix.conf \
|
||||
/usr/share/qt4/mkspecs/common/linux.conf \
|
||||
/usr/share/qt4/mkspecs/qconfig.pri \
|
||||
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
||||
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
||||
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
||||
/usr/share/qt4/mkspecs/features/release.prf \
|
||||
/usr/share/qt4/mkspecs/features/debug_and_release.prf \
|
||||
/usr/share/qt4/mkspecs/features/default_post.prf \
|
||||
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
||||
/usr/share/qt4/mkspecs/features/qt.prf \
|
||||
/usr/share/qt4/mkspecs/features/unix/thread.prf \
|
||||
/usr/share/qt4/mkspecs/features/moc.prf \
|
||||
/usr/share/qt4/mkspecs/features/resources.prf \
|
||||
/usr/share/qt4/mkspecs/features/uic.prf \
|
||||
/usr/share/qt4/mkspecs/features/yacc.prf \
|
||||
/usr/share/qt4/mkspecs/features/lex.prf \
|
||||
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
||||
/usr/lib/libQtGui.prl \
|
||||
/usr/lib/libQtCore.prl
|
||||
$(QMAKE) -unix CONFIG+=debug_and_release -o Makefile hidekey_gui.pro
|
||||
/usr/share/qt4/mkspecs/common/g++.conf:
|
||||
/usr/share/qt4/mkspecs/common/unix.conf:
|
||||
/usr/share/qt4/mkspecs/common/linux.conf:
|
||||
/usr/share/qt4/mkspecs/qconfig.pri:
|
||||
/usr/share/qt4/mkspecs/features/qt_functions.prf:
|
||||
/usr/share/qt4/mkspecs/features/qt_config.prf:
|
||||
/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
|
||||
/usr/share/qt4/mkspecs/features/default_pre.prf:
|
||||
/usr/share/qt4/mkspecs/features/release.prf:
|
||||
/usr/share/qt4/mkspecs/features/debug_and_release.prf:
|
||||
/usr/share/qt4/mkspecs/features/default_post.prf:
|
||||
/usr/share/qt4/mkspecs/features/warn_on.prf:
|
||||
/usr/share/qt4/mkspecs/features/qt.prf:
|
||||
/usr/share/qt4/mkspecs/features/unix/thread.prf:
|
||||
/usr/share/qt4/mkspecs/features/moc.prf:
|
||||
/usr/share/qt4/mkspecs/features/resources.prf:
|
||||
/usr/share/qt4/mkspecs/features/uic.prf:
|
||||
/usr/share/qt4/mkspecs/features/yacc.prf:
|
||||
/usr/share/qt4/mkspecs/features/lex.prf:
|
||||
/usr/share/qt4/mkspecs/features/include_source_dir.prf:
|
||||
/usr/lib/libQtGui.prl:
|
||||
/usr/lib/libQtCore.prl:
|
||||
qmake: qmake_all FORCE
|
||||
@$(QMAKE) -unix CONFIG+=debug_and_release -o Makefile hidekey_gui.pro
|
||||
|
||||
qmake_all: FORCE
|
||||
|
||||
make_default: release-make_default debug-make_default FORCE
|
||||
make_first: release-make_first debug-make_first FORCE
|
||||
all: release-all debug-all FORCE
|
||||
clean: release-clean debug-clean FORCE
|
||||
distclean: release-distclean debug-distclean FORCE
|
||||
-$(DEL_FILE) Makefile
|
||||
|
||||
check: first
|
||||
|
||||
release-mocclean: $(MAKEFILE).Release
|
||||
$(MAKE) -f $(MAKEFILE).Release mocclean
|
||||
debug-mocclean: $(MAKEFILE).Debug
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocclean
|
||||
mocclean: release-mocclean debug-mocclean
|
||||
|
||||
release-mocables: $(MAKEFILE).Release
|
||||
$(MAKE) -f $(MAKEFILE).Release mocables
|
||||
debug-mocables: $(MAKEFILE).Debug
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocables
|
||||
mocables: release-mocables debug-mocables
|
||||
FORCE:
|
||||
|
||||
$(MAKEFILE).Release: Makefile
|
||||
$(MAKEFILE).Debug: Makefile
|
177
gui/Makefile.Debug
Normal file
177
gui/Makefile.Debug
Normal file
|
@ -0,0 +1,177 @@
|
|||
#############################################################################
|
||||
# Makefile for building: hidekey_gui
|
||||
# Generated by qmake (2.01a) (Qt 4.6.3) on: Do. Jan 26 23:43:20 2012
|
||||
# Project: hidekey_gui.pro
|
||||
# Template: app
|
||||
#############################################################################
|
||||
|
||||
####### Compiler, tools and options
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
|
||||
CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
|
||||
CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
|
||||
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Idebug -I.
|
||||
LINK = g++
|
||||
LFLAGS =
|
||||
LIBS = $(SUBLIBS) -L/usr/lib -lQtGui -lQtCore -lpthread
|
||||
AR = ar cqs
|
||||
RANLIB =
|
||||
QMAKE = /usr/bin/qmake
|
||||
TAR = tar -cf
|
||||
COMPRESS = gzip -9f
|
||||
COPY = cp -f
|
||||
SED = sed
|
||||
COPY_FILE = $(COPY)
|
||||
COPY_DIR = $(COPY) -r
|
||||
STRIP = strip
|
||||
INSTALL_FILE = install -m 644 -p
|
||||
INSTALL_DIR = $(COPY_DIR)
|
||||
INSTALL_PROGRAM = install -m 755 -p
|
||||
DEL_FILE = rm -f
|
||||
SYMLINK = ln -f -s
|
||||
DEL_DIR = rmdir
|
||||
MOVE = mv -f
|
||||
CHK_DIR_EXISTS= test -d
|
||||
MKDIR = mkdir -p
|
||||
|
||||
####### Output directory
|
||||
|
||||
OBJECTS_DIR = debug/
|
||||
|
||||
####### Files
|
||||
|
||||
SOURCES = main.cpp \
|
||||
hidekey.cpp debug/moc_hidekey.cpp
|
||||
OBJECTS = debug/main.o \
|
||||
debug/hidekey.o \
|
||||
debug/moc_hidekey.o
|
||||
DIST = /usr/share/qt4/mkspecs/common/g++.conf \
|
||||
/usr/share/qt4/mkspecs/common/unix.conf \
|
||||
/usr/share/qt4/mkspecs/common/linux.conf \
|
||||
/usr/share/qt4/mkspecs/qconfig.pri \
|
||||
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
||||
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
||||
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
||||
/usr/share/qt4/mkspecs/features/debug.prf \
|
||||
/usr/share/qt4/mkspecs/features/debug_and_release.prf \
|
||||
/usr/share/qt4/mkspecs/features/default_post.prf \
|
||||
/usr/share/qt4/mkspecs/features/build_pass.prf \
|
||||
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
||||
/usr/share/qt4/mkspecs/features/qt.prf \
|
||||
/usr/share/qt4/mkspecs/features/unix/thread.prf \
|
||||
/usr/share/qt4/mkspecs/features/moc.prf \
|
||||
/usr/share/qt4/mkspecs/features/resources.prf \
|
||||
/usr/share/qt4/mkspecs/features/uic.prf \
|
||||
/usr/share/qt4/mkspecs/features/yacc.prf \
|
||||
/usr/share/qt4/mkspecs/features/lex.prf \
|
||||
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
||||
hidekey_gui.pro
|
||||
QMAKE_TARGET = hidekey_gui
|
||||
DESTDIR =
|
||||
TARGET = hidekey_gui
|
||||
|
||||
first: all
|
||||
####### Implicit rules
|
||||
|
||||
.SUFFIXES: .o .c .cpp .cc .cxx .C
|
||||
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.cc.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.cxx.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.C.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
####### Build rules
|
||||
|
||||
all: Makefile.Debug $(TARGET)
|
||||
|
||||
$(TARGET): ui_hidekey.h $(OBJECTS)
|
||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -unix CONFIG+=debug_and_release -o Makefile.Debug hidekey_gui.pro
|
||||
|
||||
dist:
|
||||
@$(CHK_DIR_EXISTS) debug/hidekey_gui1.0.0 || $(MKDIR) debug/hidekey_gui1.0.0
|
||||
$(COPY_FILE) --parents $(SOURCES) $(DIST) debug/hidekey_gui1.0.0/ && $(COPY_FILE) --parents hidekey.h debug/hidekey_gui1.0.0/ && $(COPY_FILE) --parents main.cpp hidekey.cpp debug/hidekey_gui1.0.0/ && $(COPY_FILE) --parents hidekey.ui debug/hidekey_gui1.0.0/ && (cd `dirname debug/hidekey_gui1.0.0` && $(TAR) hidekey_gui1.0.0.tar hidekey_gui1.0.0 && $(COMPRESS) hidekey_gui1.0.0.tar) && $(MOVE) `dirname debug/hidekey_gui1.0.0`/hidekey_gui1.0.0.tar.gz . && $(DEL_FILE) -r debug/hidekey_gui1.0.0
|
||||
|
||||
|
||||
clean:compiler_clean
|
||||
-$(DEL_FILE) $(OBJECTS)
|
||||
-$(DEL_FILE) *~ core *.core
|
||||
|
||||
|
||||
####### Sub-libraries
|
||||
|
||||
distclean: clean
|
||||
-$(DEL_FILE) $(TARGET)
|
||||
-$(DEL_FILE) Makefile.Debug
|
||||
|
||||
|
||||
check: first
|
||||
|
||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
||||
|
||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
||||
|
||||
compiler_moc_header_make_all: debug/moc_hidekey.cpp
|
||||
compiler_moc_header_clean:
|
||||
-$(DEL_FILE) debug/moc_hidekey.cpp
|
||||
debug/moc_hidekey.cpp: ui_hidekey.h \
|
||||
hidekey.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) hidekey.h -o debug/moc_hidekey.cpp
|
||||
|
||||
compiler_rcc_make_all:
|
||||
compiler_rcc_clean:
|
||||
compiler_image_collection_make_all: qmake_image_collection.cpp
|
||||
compiler_image_collection_clean:
|
||||
-$(DEL_FILE) qmake_image_collection.cpp
|
||||
compiler_moc_source_make_all:
|
||||
compiler_moc_source_clean:
|
||||
compiler_uic_make_all: ui_hidekey.h
|
||||
compiler_uic_clean:
|
||||
-$(DEL_FILE) ui_hidekey.h
|
||||
ui_hidekey.h: hidekey.ui
|
||||
/usr/bin/uic-qt4 hidekey.ui -o ui_hidekey.h
|
||||
|
||||
compiler_yacc_decl_make_all:
|
||||
compiler_yacc_decl_clean:
|
||||
compiler_yacc_impl_make_all:
|
||||
compiler_yacc_impl_clean:
|
||||
compiler_lex_make_all:
|
||||
compiler_lex_clean:
|
||||
compiler_clean: compiler_moc_header_clean compiler_uic_clean
|
||||
|
||||
####### Compile
|
||||
|
||||
debug/main.o: main.cpp hidekey.h \
|
||||
ui_hidekey.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/main.o main.cpp
|
||||
|
||||
debug/hidekey.o: hidekey.cpp hidekey.h \
|
||||
ui_hidekey.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/hidekey.o hidekey.cpp
|
||||
|
||||
debug/moc_hidekey.o: debug/moc_hidekey.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_hidekey.o debug/moc_hidekey.cpp
|
||||
|
||||
####### Install
|
||||
|
||||
install: FORCE
|
||||
|
||||
uninstall: FORCE
|
||||
|
||||
FORCE:
|
||||
|
177
gui/Makefile.Release
Normal file
177
gui/Makefile.Release
Normal file
|
@ -0,0 +1,177 @@
|
|||
#############################################################################
|
||||
# Makefile for building: hidekey_gui
|
||||
# Generated by qmake (2.01a) (Qt 4.6.3) on: Do. Jan 26 23:43:20 2012
|
||||
# Project: hidekey_gui.pro
|
||||
# Template: app
|
||||
#############################################################################
|
||||
|
||||
####### Compiler, tools and options
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
|
||||
CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
||||
CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
||||
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Irelease -I.
|
||||
LINK = g++
|
||||
LFLAGS = -Wl,-O1
|
||||
LIBS = $(SUBLIBS) -L/usr/lib -lQtGui -lQtCore -lpthread
|
||||
AR = ar cqs
|
||||
RANLIB =
|
||||
QMAKE = /usr/bin/qmake
|
||||
TAR = tar -cf
|
||||
COMPRESS = gzip -9f
|
||||
COPY = cp -f
|
||||
SED = sed
|
||||
COPY_FILE = $(COPY)
|
||||
COPY_DIR = $(COPY) -r
|
||||
STRIP = strip
|
||||
INSTALL_FILE = install -m 644 -p
|
||||
INSTALL_DIR = $(COPY_DIR)
|
||||
INSTALL_PROGRAM = install -m 755 -p
|
||||
DEL_FILE = rm -f
|
||||
SYMLINK = ln -f -s
|
||||
DEL_DIR = rmdir
|
||||
MOVE = mv -f
|
||||
CHK_DIR_EXISTS= test -d
|
||||
MKDIR = mkdir -p
|
||||
|
||||
####### Output directory
|
||||
|
||||
OBJECTS_DIR = release/
|
||||
|
||||
####### Files
|
||||
|
||||
SOURCES = main.cpp \
|
||||
hidekey.cpp release/moc_hidekey.cpp
|
||||
OBJECTS = release/main.o \
|
||||
release/hidekey.o \
|
||||
release/moc_hidekey.o
|
||||
DIST = /usr/share/qt4/mkspecs/common/g++.conf \
|
||||
/usr/share/qt4/mkspecs/common/unix.conf \
|
||||
/usr/share/qt4/mkspecs/common/linux.conf \
|
||||
/usr/share/qt4/mkspecs/qconfig.pri \
|
||||
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
||||
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
||||
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
||||
/usr/share/qt4/mkspecs/features/release.prf \
|
||||
/usr/share/qt4/mkspecs/features/debug_and_release.prf \
|
||||
/usr/share/qt4/mkspecs/features/default_post.prf \
|
||||
/usr/share/qt4/mkspecs/features/build_pass.prf \
|
||||
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
||||
/usr/share/qt4/mkspecs/features/qt.prf \
|
||||
/usr/share/qt4/mkspecs/features/unix/thread.prf \
|
||||
/usr/share/qt4/mkspecs/features/moc.prf \
|
||||
/usr/share/qt4/mkspecs/features/resources.prf \
|
||||
/usr/share/qt4/mkspecs/features/uic.prf \
|
||||
/usr/share/qt4/mkspecs/features/yacc.prf \
|
||||
/usr/share/qt4/mkspecs/features/lex.prf \
|
||||
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
||||
hidekey_gui.pro
|
||||
QMAKE_TARGET = hidekey_gui
|
||||
DESTDIR =
|
||||
TARGET = hidekey_gui
|
||||
|
||||
first: all
|
||||
####### Implicit rules
|
||||
|
||||
.SUFFIXES: .o .c .cpp .cc .cxx .C
|
||||
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.cc.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.cxx.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.C.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
####### Build rules
|
||||
|
||||
all: Makefile.Release $(TARGET)
|
||||
|
||||
$(TARGET): ui_hidekey.h $(OBJECTS)
|
||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -unix CONFIG+=debug_and_release -o Makefile.Release hidekey_gui.pro
|
||||
|
||||
dist:
|
||||
@$(CHK_DIR_EXISTS) release/hidekey_gui1.0.0 || $(MKDIR) release/hidekey_gui1.0.0
|
||||
$(COPY_FILE) --parents $(SOURCES) $(DIST) release/hidekey_gui1.0.0/ && $(COPY_FILE) --parents hidekey.h release/hidekey_gui1.0.0/ && $(COPY_FILE) --parents main.cpp hidekey.cpp release/hidekey_gui1.0.0/ && $(COPY_FILE) --parents hidekey.ui release/hidekey_gui1.0.0/ && (cd `dirname release/hidekey_gui1.0.0` && $(TAR) hidekey_gui1.0.0.tar hidekey_gui1.0.0 && $(COMPRESS) hidekey_gui1.0.0.tar) && $(MOVE) `dirname release/hidekey_gui1.0.0`/hidekey_gui1.0.0.tar.gz . && $(DEL_FILE) -r release/hidekey_gui1.0.0
|
||||
|
||||
|
||||
clean:compiler_clean
|
||||
-$(DEL_FILE) $(OBJECTS)
|
||||
-$(DEL_FILE) *~ core *.core
|
||||
|
||||
|
||||
####### Sub-libraries
|
||||
|
||||
distclean: clean
|
||||
-$(DEL_FILE) $(TARGET)
|
||||
-$(DEL_FILE) Makefile.Release
|
||||
|
||||
|
||||
check: first
|
||||
|
||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
||||
|
||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
||||
|
||||
compiler_moc_header_make_all: release/moc_hidekey.cpp
|
||||
compiler_moc_header_clean:
|
||||
-$(DEL_FILE) release/moc_hidekey.cpp
|
||||
release/moc_hidekey.cpp: ui_hidekey.h \
|
||||
hidekey.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) hidekey.h -o release/moc_hidekey.cpp
|
||||
|
||||
compiler_rcc_make_all:
|
||||
compiler_rcc_clean:
|
||||
compiler_image_collection_make_all: qmake_image_collection.cpp
|
||||
compiler_image_collection_clean:
|
||||
-$(DEL_FILE) qmake_image_collection.cpp
|
||||
compiler_moc_source_make_all:
|
||||
compiler_moc_source_clean:
|
||||
compiler_uic_make_all: ui_hidekey.h
|
||||
compiler_uic_clean:
|
||||
-$(DEL_FILE) ui_hidekey.h
|
||||
ui_hidekey.h: hidekey.ui
|
||||
/usr/bin/uic-qt4 hidekey.ui -o ui_hidekey.h
|
||||
|
||||
compiler_yacc_decl_make_all:
|
||||
compiler_yacc_decl_clean:
|
||||
compiler_yacc_impl_make_all:
|
||||
compiler_yacc_impl_clean:
|
||||
compiler_lex_make_all:
|
||||
compiler_lex_clean:
|
||||
compiler_clean: compiler_moc_header_clean compiler_uic_clean
|
||||
|
||||
####### Compile
|
||||
|
||||
release/main.o: main.cpp hidekey.h \
|
||||
ui_hidekey.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/main.o main.cpp
|
||||
|
||||
release/hidekey.o: hidekey.cpp hidekey.h \
|
||||
ui_hidekey.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/hidekey.o hidekey.cpp
|
||||
|
||||
release/moc_hidekey.o: release/moc_hidekey.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_hidekey.o release/moc_hidekey.cpp
|
||||
|
||||
####### Install
|
||||
|
||||
install: FORCE
|
||||
|
||||
uninstall: FORCE
|
||||
|
||||
FORCE:
|
||||
|
69
gui/debug/moc_hidekey.cpp
Normal file
69
gui/debug/moc_hidekey.cpp
Normal file
|
@ -0,0 +1,69 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'hidekey.h'
|
||||
**
|
||||
** Created: Fri Jan 27 00:49:04 2012
|
||||
** by: The Qt Meta Object Compiler version 62 (Qt 4.6.3)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../hidekey.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'hidekey.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 62
|
||||
#error "This file was generated using the moc from 4.6.3. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_hidekey[] = {
|
||||
|
||||
// content:
|
||||
4, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_hidekey[] = {
|
||||
"hidekey\0"
|
||||
};
|
||||
|
||||
const QMetaObject hidekey::staticMetaObject = {
|
||||
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_hidekey,
|
||||
qt_meta_data_hidekey, 0 }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &hidekey::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *hidekey::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *hidekey::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_hidekey))
|
||||
return static_cast<void*>(const_cast< hidekey*>(this));
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int hidekey::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
12
gui/hidekey.cpp
Normal file
12
gui/hidekey.cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "hidekey.h"
|
||||
|
||||
hidekey::hidekey(QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
{
|
||||
ui.setupUi(this);
|
||||
}
|
||||
|
||||
hidekey::~hidekey()
|
||||
{
|
||||
|
||||
}
|
19
gui/hidekey.h
Normal file
19
gui/hidekey.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef HIDEKEY_H
|
||||
#define HIDEKEY_H
|
||||
|
||||
#include <QtGui/QMainWindow>
|
||||
#include "ui_hidekey.h"
|
||||
|
||||
class hidekey : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
hidekey(QWidget *parent = 0);
|
||||
~hidekey();
|
||||
|
||||
private:
|
||||
Ui::hidekeyClass ui;
|
||||
};
|
||||
|
||||
#endif // HIDEKEY_H
|
212
gui/hidekey.ui
Normal file
212
gui/hidekey.ui
Normal file
|
@ -0,0 +1,212 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>hidekeyClass</class>
|
||||
<widget class="QMainWindow" name="hidekeyClass">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>624</width>
|
||||
<height>338</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>HIDeKey Configuration</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QListView" name="listView">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>150</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<layout class="QFormLayout" name="formLayout_2">
|
||||
<property name="fieldGrowthPolicy">
|
||||
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Typ</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>comboBox</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="comboBox">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Empty</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>String</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>One Time Password</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Random</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Random generated</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>User</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>lineEdit</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit"/>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>Password</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>lineEdit_2</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit_2"/>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>5000</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Reset|QDialogButtonBox::Save</set>
|
||||
</property>
|
||||
<property name="centerButtons">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menubar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>624</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuMenu">
|
||||
<property name="title">
|
||||
<string>Menu</string>
|
||||
</property>
|
||||
<addaction name="actionQuit"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menu">
|
||||
<property name="title">
|
||||
<string>?</string>
|
||||
</property>
|
||||
<addaction name="actionHelp"/>
|
||||
<addaction name="actionAbout"/>
|
||||
</widget>
|
||||
<addaction name="menuMenu"/>
|
||||
<addaction name="menu"/>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusbar"/>
|
||||
<action name="actionAbout">
|
||||
<property name="text">
|
||||
<string>About</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionHelp">
|
||||
<property name="text">
|
||||
<string>Help</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionQuit">
|
||||
<property name="text">
|
||||
<string>Quit</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>actionQuit</sender>
|
||||
<signal>activated()</signal>
|
||||
<receiver>centralwidget</receiver>
|
||||
<slot>close()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>311</x>
|
||||
<y>170</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
BIN
gui/hidekey_gui
Executable file
BIN
gui/hidekey_gui
Executable file
Binary file not shown.
10
gui/hidekey_gui.pro
Normal file
10
gui/hidekey_gui.pro
Normal file
|
@ -0,0 +1,10 @@
|
|||
TEMPLATE = app
|
||||
TARGET = hidekey_gui
|
||||
|
||||
QT += core gui
|
||||
|
||||
HEADERS += hidekey.h
|
||||
SOURCES += main.cpp \
|
||||
hidekey.cpp
|
||||
FORMS += hidekey.ui
|
||||
RESOURCES +=
|
12
gui/main.cpp
Normal file
12
gui/main.cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "hidekey.h"
|
||||
|
||||
#include <QtGui>
|
||||
#include <QApplication>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
hidekey w;
|
||||
w.show();
|
||||
return a.exec();
|
||||
}
|
196
gui/ui_hidekey.h
Normal file
196
gui/ui_hidekey.h
Normal file
|
@ -0,0 +1,196 @@
|
|||
/********************************************************************************
|
||||
** Form generated from reading UI file 'hidekey.ui'
|
||||
**
|
||||
** Created: Fri Jan 27 00:48:57 2012
|
||||
** by: Qt User Interface Compiler version 4.6.3
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_HIDEKEY_H
|
||||
#define UI_HIDEKEY_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QComboBox>
|
||||
#include <QtGui/QDialogButtonBox>
|
||||
#include <QtGui/QFormLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QHBoxLayout>
|
||||
#include <QtGui/QHeaderView>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QListView>
|
||||
#include <QtGui/QMainWindow>
|
||||
#include <QtGui/QMenu>
|
||||
#include <QtGui/QMenuBar>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QStatusBar>
|
||||
#include <QtGui/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_hidekeyClass
|
||||
{
|
||||
public:
|
||||
QAction *actionAbout;
|
||||
QAction *actionHelp;
|
||||
QAction *actionQuit;
|
||||
QWidget *centralwidget;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QListView *listView;
|
||||
QGroupBox *groupBox;
|
||||
QFormLayout *formLayout_2;
|
||||
QLabel *label;
|
||||
QComboBox *comboBox;
|
||||
QLabel *label_2;
|
||||
QLineEdit *lineEdit;
|
||||
QLabel *label_3;
|
||||
QLineEdit *lineEdit_2;
|
||||
QDialogButtonBox *buttonBox;
|
||||
QSpacerItem *verticalSpacer;
|
||||
QMenuBar *menubar;
|
||||
QMenu *menuMenu;
|
||||
QMenu *menu;
|
||||
QStatusBar *statusbar;
|
||||
|
||||
void setupUi(QMainWindow *hidekeyClass)
|
||||
{
|
||||
if (hidekeyClass->objectName().isEmpty())
|
||||
hidekeyClass->setObjectName(QString::fromUtf8("hidekeyClass"));
|
||||
hidekeyClass->resize(624, 338);
|
||||
actionAbout = new QAction(hidekeyClass);
|
||||
actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
|
||||
actionHelp = new QAction(hidekeyClass);
|
||||
actionHelp->setObjectName(QString::fromUtf8("actionHelp"));
|
||||
actionQuit = new QAction(hidekeyClass);
|
||||
actionQuit->setObjectName(QString::fromUtf8("actionQuit"));
|
||||
centralwidget = new QWidget(hidekeyClass);
|
||||
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
|
||||
horizontalLayout = new QHBoxLayout(centralwidget);
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
listView = new QListView(centralwidget);
|
||||
listView->setObjectName(QString::fromUtf8("listView"));
|
||||
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(listView->sizePolicy().hasHeightForWidth());
|
||||
listView->setSizePolicy(sizePolicy);
|
||||
listView->setMaximumSize(QSize(150, 16777215));
|
||||
|
||||
horizontalLayout->addWidget(listView);
|
||||
|
||||
groupBox = new QGroupBox(centralwidget);
|
||||
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
||||
groupBox->setEnabled(true);
|
||||
groupBox->setFlat(false);
|
||||
groupBox->setCheckable(false);
|
||||
formLayout_2 = new QFormLayout(groupBox);
|
||||
formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
|
||||
formLayout_2->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
|
||||
label = new QLabel(groupBox);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
|
||||
formLayout_2->setWidget(0, QFormLayout::LabelRole, label);
|
||||
|
||||
comboBox = new QComboBox(groupBox);
|
||||
comboBox->setObjectName(QString::fromUtf8("comboBox"));
|
||||
|
||||
formLayout_2->setWidget(0, QFormLayout::FieldRole, comboBox);
|
||||
|
||||
label_2 = new QLabel(groupBox);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
|
||||
formLayout_2->setWidget(1, QFormLayout::LabelRole, label_2);
|
||||
|
||||
lineEdit = new QLineEdit(groupBox);
|
||||
lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
|
||||
|
||||
formLayout_2->setWidget(1, QFormLayout::FieldRole, lineEdit);
|
||||
|
||||
label_3 = new QLabel(groupBox);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
|
||||
formLayout_2->setWidget(2, QFormLayout::LabelRole, label_3);
|
||||
|
||||
lineEdit_2 = new QLineEdit(groupBox);
|
||||
lineEdit_2->setObjectName(QString::fromUtf8("lineEdit_2"));
|
||||
|
||||
formLayout_2->setWidget(2, QFormLayout::FieldRole, lineEdit_2);
|
||||
|
||||
buttonBox = new QDialogButtonBox(groupBox);
|
||||
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
||||
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
||||
|
||||
formLayout_2->setWidget(4, QFormLayout::FieldRole, buttonBox);
|
||||
|
||||
verticalSpacer = new QSpacerItem(20, 5000, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||
|
||||
formLayout_2->setItem(3, QFormLayout::FieldRole, verticalSpacer);
|
||||
|
||||
|
||||
horizontalLayout->addWidget(groupBox);
|
||||
|
||||
hidekeyClass->setCentralWidget(centralwidget);
|
||||
menubar = new QMenuBar(hidekeyClass);
|
||||
menubar->setObjectName(QString::fromUtf8("menubar"));
|
||||
menubar->setGeometry(QRect(0, 0, 624, 25));
|
||||
menuMenu = new QMenu(menubar);
|
||||
menuMenu->setObjectName(QString::fromUtf8("menuMenu"));
|
||||
menu = new QMenu(menubar);
|
||||
menu->setObjectName(QString::fromUtf8("menu"));
|
||||
hidekeyClass->setMenuBar(menubar);
|
||||
statusbar = new QStatusBar(hidekeyClass);
|
||||
statusbar->setObjectName(QString::fromUtf8("statusbar"));
|
||||
hidekeyClass->setStatusBar(statusbar);
|
||||
#ifndef QT_NO_SHORTCUT
|
||||
label->setBuddy(comboBox);
|
||||
label_2->setBuddy(lineEdit);
|
||||
label_3->setBuddy(lineEdit_2);
|
||||
#endif // QT_NO_SHORTCUT
|
||||
|
||||
menubar->addAction(menuMenu->menuAction());
|
||||
menubar->addAction(menu->menuAction());
|
||||
menuMenu->addAction(actionQuit);
|
||||
menu->addAction(actionHelp);
|
||||
menu->addAction(actionAbout);
|
||||
|
||||
retranslateUi(hidekeyClass);
|
||||
QObject::connect(actionQuit, SIGNAL(activated()), centralwidget, SLOT(close()));
|
||||
|
||||
QMetaObject::connectSlotsByName(hidekeyClass);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *hidekeyClass)
|
||||
{
|
||||
hidekeyClass->setWindowTitle(QApplication::translate("hidekeyClass", "MainWindow", 0, QApplication::UnicodeUTF8));
|
||||
actionAbout->setText(QApplication::translate("hidekeyClass", "About", 0, QApplication::UnicodeUTF8));
|
||||
actionHelp->setText(QApplication::translate("hidekeyClass", "Help", 0, QApplication::UnicodeUTF8));
|
||||
actionQuit->setText(QApplication::translate("hidekeyClass", "Quit", 0, QApplication::UnicodeUTF8));
|
||||
groupBox->setTitle(QString());
|
||||
label->setText(QApplication::translate("hidekeyClass", "Typ", 0, QApplication::UnicodeUTF8));
|
||||
comboBox->clear();
|
||||
comboBox->insertItems(0, QStringList()
|
||||
<< QApplication::translate("hidekeyClass", "Empty", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("hidekeyClass", "String", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("hidekeyClass", "One Time Password", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("hidekeyClass", "Random", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("hidekeyClass", "Random generated", 0, QApplication::UnicodeUTF8)
|
||||
);
|
||||
label_2->setText(QApplication::translate("hidekeyClass", "User", 0, QApplication::UnicodeUTF8));
|
||||
label_3->setText(QApplication::translate("hidekeyClass", "Password", 0, QApplication::UnicodeUTF8));
|
||||
menuMenu->setTitle(QApplication::translate("hidekeyClass", "Menu", 0, QApplication::UnicodeUTF8));
|
||||
menu->setTitle(QApplication::translate("hidekeyClass", "?", 0, QApplication::UnicodeUTF8));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class hidekeyClass: public Ui_hidekeyClass {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_HIDEKEY_H
|
Loading…
Add table
Reference in a new issue