diff --git a/gui/.cproject b/gui/.cproject new file mode 100644 index 0000000..1791de9 --- /dev/null +++ b/gui/.cproject @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + make + + release + false + false + true + + + make + + debug + false + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gui/.project b/gui/.project new file mode 100644 index 0000000..53690c4 --- /dev/null +++ b/gui/.project @@ -0,0 +1,88 @@ + + + hidekey-gui + + + + + + com.trolltech.qtcppproject.QtMakefileGenerator + + + + + org.eclipse.cdt.make.core.makeBuilder + clean,full,incremental, + + + org.eclipse.cdt.core.errorOutputParser + 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; + + + org.eclipse.cdt.make.core.append_environment + true + + + org.eclipse.cdt.make.core.build.arguments + + + + org.eclipse.cdt.make.core.build.command + make + + + org.eclipse.cdt.make.core.build.target.auto + debug + + + org.eclipse.cdt.make.core.build.target.clean + clean + + + org.eclipse.cdt.make.core.build.target.inc + debug + + + org.eclipse.cdt.make.core.enableAutoBuild + false + + + org.eclipse.cdt.make.core.enableCleanBuild + true + + + org.eclipse.cdt.make.core.enableFullBuild + true + + + org.eclipse.cdt.make.core.enabledIncrementalBuild + true + + + org.eclipse.cdt.make.core.environment + PATH=/usr/bin:${env_var:PATH}| + + + org.eclipse.cdt.make.core.stopOnError + false + + + org.eclipse.cdt.make.core.useDefaultBuildCmd + false + + + + + org.eclipse.cdt.make.core.ScannerConfigBuilder + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.make.core.makeNature + org.eclipse.cdt.make.core.ScannerConfigNature + com.trolltech.qtcppproject.QtNature + + diff --git a/gui/Makefile b/gui/Makefile new file mode 100644 index 0000000..c98ebd1 --- /dev/null +++ b/gui/Makefile @@ -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 diff --git a/gui/Makefile.Debug b/gui/Makefile.Debug new file mode 100644 index 0000000..b926f72 --- /dev/null +++ b/gui/Makefile.Debug @@ -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: + diff --git a/gui/Makefile.Release b/gui/Makefile.Release new file mode 100644 index 0000000..b728ffb --- /dev/null +++ b/gui/Makefile.Release @@ -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: + diff --git a/gui/debug/moc_hidekey.cpp b/gui/debug/moc_hidekey.cpp new file mode 100644 index 0000000..ae440c4 --- /dev/null +++ b/gui/debug/moc_hidekey.cpp @@ -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 ." +#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(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 diff --git a/gui/hidekey.cpp b/gui/hidekey.cpp new file mode 100644 index 0000000..09b9728 --- /dev/null +++ b/gui/hidekey.cpp @@ -0,0 +1,12 @@ +#include "hidekey.h" + +hidekey::hidekey(QWidget *parent) + : QMainWindow(parent) +{ + ui.setupUi(this); +} + +hidekey::~hidekey() +{ + +} diff --git a/gui/hidekey.h b/gui/hidekey.h new file mode 100644 index 0000000..a85686a --- /dev/null +++ b/gui/hidekey.h @@ -0,0 +1,19 @@ +#ifndef HIDEKEY_H +#define HIDEKEY_H + +#include +#include "ui_hidekey.h" + +class hidekey : public QMainWindow +{ + Q_OBJECT + +public: + hidekey(QWidget *parent = 0); + ~hidekey(); + +private: + Ui::hidekeyClass ui; +}; + +#endif // HIDEKEY_H diff --git a/gui/hidekey.ui b/gui/hidekey.ui new file mode 100644 index 0000000..c2917ad --- /dev/null +++ b/gui/hidekey.ui @@ -0,0 +1,212 @@ + + + hidekeyClass + + + + 0 + 0 + 624 + 338 + + + + HIDeKey Configuration + + + + + + + + 0 + 0 + + + + + 150 + 16777215 + + + + + + + + true + + + + + + false + + + false + + + + QFormLayout::AllNonFixedFieldsGrow + + + + + Typ + + + comboBox + + + + + + + + Empty + + + + + String + + + + + One Time Password + + + + + Random + + + + + Random generated + + + + + + + + User + + + lineEdit + + + + + + + + + + Password + + + lineEdit_2 + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 20 + 5000 + + + + + + + + Qt::Vertical + + + QDialogButtonBox::Reset|QDialogButtonBox::Save + + + false + + + + + + + + + + + + 0 + 0 + 624 + 25 + + + + + Menu + + + + + + ? + + + + + + + + + + + About + + + + + Help + + + + + Quit + + + + + + + actionQuit + activated() + centralwidget + close() + + + -1 + -1 + + + 311 + 170 + + + + + diff --git a/gui/hidekey_gui b/gui/hidekey_gui new file mode 100755 index 0000000..e6ab443 Binary files /dev/null and b/gui/hidekey_gui differ diff --git a/gui/hidekey_gui.pro b/gui/hidekey_gui.pro new file mode 100644 index 0000000..4a41d99 --- /dev/null +++ b/gui/hidekey_gui.pro @@ -0,0 +1,10 @@ +TEMPLATE = app +TARGET = hidekey_gui + +QT += core gui + +HEADERS += hidekey.h +SOURCES += main.cpp \ + hidekey.cpp +FORMS += hidekey.ui +RESOURCES += diff --git a/gui/main.cpp b/gui/main.cpp new file mode 100644 index 0000000..aa5711d --- /dev/null +++ b/gui/main.cpp @@ -0,0 +1,12 @@ +#include "hidekey.h" + +#include +#include + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + hidekey w; + w.show(); + return a.exec(); +} diff --git a/gui/ui_hidekey.h b/gui/ui_hidekey.h new file mode 100644 index 0000000..479e545 --- /dev/null +++ b/gui/ui_hidekey.h @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +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