mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 12:26:59 +00:00
formskdepatchthingie
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1486 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8ccdbef7a0
commit
f6aaac088c
@ -1,3 +1,11 @@
|
|||||||
|
2001-02-12 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
|
* forms/include_form.fd:
|
||||||
|
* forms/bibforms.fd:
|
||||||
|
* forms/bibforms.h.patch: deleted
|
||||||
|
|
||||||
|
* forms/lyx.fd: remove splash form
|
||||||
|
|
||||||
2001-02-08 John Levon <moz@compsoc.man.ac.uk>
|
2001-02-08 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
* INSTALL: mention RH7.0 workaround with kde f.e.
|
* INSTALL: mention RH7.0 workaround with kde f.e.
|
||||||
|
@ -50,10 +50,11 @@ bindist:
|
|||||||
@echo "*** $(bindistfile) has been created."
|
@echo "*** $(bindistfile) has been created."
|
||||||
|
|
||||||
|
|
||||||
sourcedoc:
|
sourcedoc:
|
||||||
mkdir sourcedoc
|
cd sourcedoc; \
|
||||||
cd sourcedoc ; \
|
doxygen ./Doxyfile
|
||||||
doc++ -p `find ../$(top_srcdir)/src -name \*.h`
|
|
||||||
|
|
||||||
lgbtags:
|
lgbtags:
|
||||||
etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
|
etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
|
||||||
|
|
||||||
|
.PHONY: sourcedoc
|
||||||
|
41
autogen.sh
41
autogen.sh
@ -22,7 +22,7 @@ fi
|
|||||||
|
|
||||||
# Generate acinclude.m4
|
# Generate acinclude.m4
|
||||||
echo -n "Generate acinclude.m4... "
|
echo -n "Generate acinclude.m4... "
|
||||||
rm -f acinclude.m4 sigc++/acinclude.m4
|
rm -f acinclude.m4 sigc++/acinclude.m4 boost/acinclude.m4
|
||||||
touch acinclude.m4
|
touch acinclude.m4
|
||||||
for fil in config/lyxinclude.m4 config/libtool.m4 config/gettext.m4 config/lcmessage.m4 config/progtest.m4 config/sigc++.m4 config/kde.m4 config/qt2.m4 config/gtk--.m4 config/gnome--.m4 config/gnome.m4 config/pspell.m4; do
|
for fil in config/lyxinclude.m4 config/libtool.m4 config/gettext.m4 config/lcmessage.m4 config/progtest.m4 config/sigc++.m4 config/kde.m4 config/qt2.m4 config/gtk--.m4 config/gnome--.m4 config/gnome.m4 config/pspell.m4; do
|
||||||
cat $fil >> acinclude.m4
|
cat $fil >> acinclude.m4
|
||||||
@ -31,12 +31,21 @@ touch sigc++/acinclude.m4
|
|||||||
for fil in config/libtool.m4 ; do
|
for fil in config/libtool.m4 ; do
|
||||||
cat $fil >> sigc++/acinclude.m4
|
cat $fil >> sigc++/acinclude.m4
|
||||||
done
|
done
|
||||||
|
touch boost/acinclude.m4
|
||||||
|
for fil in config/boost.m4 ; do
|
||||||
|
cat $fil >> boost/acinclude.m4
|
||||||
|
done
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
# Generate the Makefiles and configure files
|
# Generate the Makefiles and configure files
|
||||||
if ( aclocal --version ) </dev/null > /dev/null 2>&1; then
|
if ( aclocal --version ) </dev/null > /dev/null 2>&1; then
|
||||||
echo -n "Building macros... "
|
echo "Building macros..."
|
||||||
$ACLOCAL ; ( cd lib/reLyX; $ACLOCAL ) ; ( cd sigc++; $ACLOCAL )
|
for dir in . lib/reLyX sigc++ boost ; do
|
||||||
|
echo -e "\t$dir"
|
||||||
|
( cd $dir ; $ACLOCAL )
|
||||||
|
done
|
||||||
|
# $ACLOCAL ; ( cd lib/reLyX; $ACLOCAL ) ; ( cd sigc++; $ACLOCAL )
|
||||||
|
# ( cd boost; $ACLOCAL )
|
||||||
echo "done."
|
echo "done."
|
||||||
else
|
else
|
||||||
echo "aclocal not found -- aborting"
|
echo "aclocal not found -- aborting"
|
||||||
@ -44,8 +53,12 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ( autoheader --version ) </dev/null > /dev/null 2>&1; then
|
if ( autoheader --version ) </dev/null > /dev/null 2>&1; then
|
||||||
echo -n "Building config header template... "
|
echo "Building config header template..."
|
||||||
$AUTOHEADER ; ( cd sigc++; $AUTOHEADER )
|
for dir in . sigc++ boost ; do
|
||||||
|
echo -e "\t$dir"
|
||||||
|
( cd $dir ; $AUTOHEADER )
|
||||||
|
done
|
||||||
|
# $AUTOHEADER ; ( cd sigc++; $AUTOHEADER ) ; ( cd boost; $AUTOHEADER )
|
||||||
echo "done."
|
echo "done."
|
||||||
else
|
else
|
||||||
echo "autoheader not found -- aborting"
|
echo "autoheader not found -- aborting"
|
||||||
@ -53,8 +66,13 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ( $AUTOMAKE --version ) </dev/null > /dev/null 2>&1; then
|
if ( $AUTOMAKE --version ) </dev/null > /dev/null 2>&1; then
|
||||||
echo -n "Building Makefile templates... "
|
echo "Building Makefile templates..."
|
||||||
$AUTOMAKE ; ( cd lib/reLyX ; $AUTOMAKE ) ; ( cd sigc++; $AUTOMAKE )
|
for dir in . lib/reLyX sigc++ boost ; do
|
||||||
|
echo -e "\t$dir"
|
||||||
|
( cd $dir ; $AUTOMAKE )
|
||||||
|
done
|
||||||
|
# $AUTOMAKE ; ( cd lib/reLyX ; $AUTOMAKE ) ; ( cd sigc++; $AUTOMAKE )
|
||||||
|
# ( cd boost; $AUTOMAKE )
|
||||||
echo "done."
|
echo "done."
|
||||||
else
|
else
|
||||||
echo "automake not found -- aborting"
|
echo "automake not found -- aborting"
|
||||||
@ -62,8 +80,13 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ( $AUTOCONF --version ) </dev/null > /dev/null 2>&1; then
|
if ( $AUTOCONF --version ) </dev/null > /dev/null 2>&1; then
|
||||||
echo -n "Building configure... "
|
echo "Building configure..."
|
||||||
$AUTOCONF ; ( cd lib/reLyX ; $AUTOCONF ) ; ( cd sigc++; $AUTOCONF )
|
for dir in . lib/reLyX sigc++ boost ; do
|
||||||
|
echo -e "\t$dir"
|
||||||
|
( cd $dir ; $AUTOCONF )
|
||||||
|
done
|
||||||
|
# $AUTOCONF ; ( cd lib/reLyX ; $AUTOCONF ) ; ( cd sigc++; $AUTOCONF )
|
||||||
|
# ( cd boost; $AUTOCONF )
|
||||||
echo "done."
|
echo "done."
|
||||||
else
|
else
|
||||||
echo "autoconf not found -- aborting"
|
echo "autoconf not found -- aborting"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign
|
AUTOMAKE_OPTIONS = foreign
|
||||||
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
||||||
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
|
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
|
||||||
# SUBDIRS = libs boost
|
SUBDIRS = libs
|
||||||
ETAGS_ARGS = --lang=c++
|
ETAGS_ARGS = --lang=c++
|
||||||
|
|
||||||
EXTRA_DIST = boost libs
|
EXTRA_DIST = boost
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
* This software is provided "as is" without express or implied
|
* This software is provided "as is" without express or implied
|
||||||
* warranty, and with no claim as to its suitability for any purpose.
|
* warranty, and with no claim as to its suitability for any purpose.
|
||||||
*
|
*
|
||||||
* Jul 31, 2000
|
* 20 Jan 2001 - STLport fix (Beman Dawes)
|
||||||
|
* 29 Sep 2000 - Initial Revision (Nico Josuttis)
|
||||||
*/
|
*/
|
||||||
#ifndef BOOST_ARRAY_HPP
|
#ifndef BOOST_ARRAY_HPP
|
||||||
#define BOOST_ARRAY_HPP
|
#define BOOST_ARRAY_HPP
|
||||||
@ -21,9 +22,7 @@
|
|||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
// BUG-FIX for compilers that don't support
|
// FIXES for broken compilers
|
||||||
// std::size_t and std::ptrdiff_t yet
|
|
||||||
// (such as gcc)
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
// LGB
|
// LGB
|
||||||
@ -51,14 +50,14 @@
|
|||||||
const_iterator end() const { return elems+N; }
|
const_iterator end() const { return elems+N; }
|
||||||
|
|
||||||
// reverse iterator support
|
// reverse iterator support
|
||||||
# if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_MSVC_STD_ITERATOR)
|
||||||
typedef std::reverse_iterator<iterator> reverse_iterator;
|
typedef std::reverse_iterator<iterator> reverse_iterator;
|
||||||
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
|
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
|
||||||
# else
|
#else
|
||||||
// workaround for broken reverse_iterator implementations due to no partial specialization
|
// workaround for broken reverse_iterator implementations
|
||||||
typedef std::reverse_iterator<iterator,T> reverse_iterator;
|
typedef std::reverse_iterator<iterator,T> reverse_iterator;
|
||||||
typedef std::reverse_iterator<const_iterator,T> const_reverse_iterator;
|
typedef std::reverse_iterator<const_iterator,T> const_reverse_iterator;
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
reverse_iterator rbegin() { return reverse_iterator(end()); }
|
reverse_iterator rbegin() { return reverse_iterator(end()); }
|
||||||
const_reverse_iterator rbegin() const {
|
const_reverse_iterator rbegin() const {
|
||||||
@ -89,7 +88,6 @@
|
|||||||
static size_type max_size() { return N; }
|
static size_type max_size() { return N; }
|
||||||
enum { static_size = N };
|
enum { static_size = N };
|
||||||
|
|
||||||
public:
|
|
||||||
// swap (note: linear complexity)
|
// swap (note: linear complexity)
|
||||||
void swap (array<T,N>& y) {
|
void swap (array<T,N>& y) {
|
||||||
std::swap_ranges(begin(),end(),y.begin());
|
std::swap_ranges(begin(),end(),y.begin());
|
||||||
@ -111,10 +109,10 @@
|
|||||||
std::fill_n(begin(),size(),value);
|
std::fill_n(begin(),size(),value);
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifndef BOOST_NO_PRIVATE_IN_AGGREGATE
|
#ifndef BOOST_NO_PRIVATE_IN_AGGREGATE
|
||||||
private:
|
private:
|
||||||
# endif
|
#endif
|
||||||
// private member functions are allowed in aggregates [ISO 8.5.1]
|
// check range (may be private because it is static)
|
||||||
static void rangecheck (size_type i) {
|
static void rangecheck (size_type i) {
|
||||||
if (i >= size()) { throw std::range_error("array"); }
|
if (i >= size()) { throw std::range_error("array"); }
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,15 @@
|
|||||||
// http://www.boost.org/libs/config
|
// http://www.boost.org/libs/config
|
||||||
|
|
||||||
// Revision History (excluding minor changes for specific compilers)
|
// Revision History (excluding minor changes for specific compilers)
|
||||||
|
// 20 Jan 01 BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS moved here from
|
||||||
|
// cast.hpp. Added missing BOOST_NO_STRINGSTREAM which some
|
||||||
|
// boost code seemed to depend on. (Dave Abrahams)
|
||||||
|
// 13 Jan 01 SGI MIPSpro and Compaq Tru64 Unix compiler support added
|
||||||
|
// (Jens Maurer)
|
||||||
|
// 13 Jan 01 BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP (Jens Maurer)
|
||||||
|
// 17 Nov 00 BOOST_NO_AUTO_PTR (John Maddock)
|
||||||
|
// 4 Oct 00 BOOST_NO_STD_MIN_MAX (Jeremy Siek)
|
||||||
|
// 29 Sep 00 BOOST_NO_INTEGRAL_INT64_T (Jens Maurer)
|
||||||
// 25 Sep 00 BOOST_NO_STD_ALLOCATOR (Jeremy Siek)
|
// 25 Sep 00 BOOST_NO_STD_ALLOCATOR (Jeremy Siek)
|
||||||
// 18 SEP 00 BOOST_NO_SLIST, BOOST_NO_HASH,
|
// 18 SEP 00 BOOST_NO_SLIST, BOOST_NO_HASH,
|
||||||
// BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
// BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
||||||
@ -50,12 +59,25 @@
|
|||||||
// burden where it should be, on non-conforming compilers. In the future,
|
// burden where it should be, on non-conforming compilers. In the future,
|
||||||
// hopefully, less rather than more conformance flags will have to be defined.
|
// hopefully, less rather than more conformance flags will have to be defined.
|
||||||
|
|
||||||
|
// BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP: Compiler does not implement
|
||||||
|
// argument-dependent lookup (also named Koenig lookup); see std::3.4.2
|
||||||
|
// [basic.koenig.lookup]
|
||||||
|
|
||||||
// BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS: Template value
|
// BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS: Template value
|
||||||
// parameters cannot have a dependent type, for example
|
// parameters cannot have a dependent type, for example
|
||||||
// "template<class T, typename T::type value> class X { ... };"
|
// "template<class T, typename T::type value> class X { ... };"
|
||||||
|
|
||||||
// BOOST_NO_INCLASS_MEMBER_INITIALIZATION: Compiler violates std::9.4.2/4.
|
// BOOST_NO_INCLASS_MEMBER_INITIALIZATION: Compiler violates std::9.4.2/4.
|
||||||
|
|
||||||
|
// BOOST_NO_INT64_T: <boost/cstdint.hpp> does not support 64-bit integer
|
||||||
|
// types. (Set by <boost/cstdint.hpp> rather than <boost/config.hpp>).
|
||||||
|
|
||||||
|
// BOOST_NO_INTEGRAL_INT64_T: int64_t as defined by <boost/cstdint.hpp> is
|
||||||
|
// not an integral type.
|
||||||
|
|
||||||
|
// BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS: constants such as
|
||||||
|
// numeric_limits<T>::is_signed are not available for use at compile-time.
|
||||||
|
|
||||||
// BOOST_NO_MEMBER_TEMPLATES: Member template functions not fully supported.
|
// BOOST_NO_MEMBER_TEMPLATES: Member template functions not fully supported.
|
||||||
// Also see BOOST_MSVC6_MEMBER_TEMPLATES in the Compiler Control section below.
|
// Also see BOOST_MSVC6_MEMBER_TEMPLATES in the Compiler Control section below.
|
||||||
|
|
||||||
@ -99,6 +121,9 @@
|
|||||||
// that imports a template from the global namespace into a named namespace.
|
// that imports a template from the global namespace into a named namespace.
|
||||||
// Probably Borland specific.
|
// Probably Borland specific.
|
||||||
|
|
||||||
|
// BOOST_NO_AUTO_PTR: If the compiler / library supplies non-standard or broken
|
||||||
|
// std::auto_ptr.
|
||||||
|
|
||||||
// Compiler Control or Information Macros ----------------------------------//
|
// Compiler Control or Information Macros ----------------------------------//
|
||||||
//
|
//
|
||||||
// Compilers often supply features outside of the C++ Standard which need to be
|
// Compilers often supply features outside of the C++ Standard which need to be
|
||||||
@ -107,12 +132,19 @@
|
|||||||
|
|
||||||
// BOOST_DECL: Certain compilers for Microsoft operating systems require
|
// BOOST_DECL: Certain compilers for Microsoft operating systems require
|
||||||
// non-standard class and function decoration if dynamic load library linking
|
// non-standard class and function decoration if dynamic load library linking
|
||||||
// is desired. BOOST_DECL supplies that decoration, defaulting to a nul string
|
// is desired. BOOST_DECL supplies that decoration. Boost does not require
|
||||||
// so that it is harmless when not required. Boost does not encourage the use
|
// use of BOOST_DECL - it is non-standard and to be avoided if practical to do
|
||||||
// of BOOST_DECL - it is non-standard and to be avoided if practical to do so.
|
// so. Even compilers requiring it for DLL's only require it in certain cases.
|
||||||
|
//
|
||||||
// BOOST_DECL_EXPORTS: User defined, BOOST_DECL_EXPORTS causes BOOST_DECL to
|
// BOOST_DECL_EXPORTS: User defined, usually via command line or IDE,
|
||||||
// be defined as __declspec(dllexport) rather than __declspec(dllimport).
|
// it causes BOOST_DECL to be defined as __declspec(dllexport).
|
||||||
|
//
|
||||||
|
// BOOST_DECL_IMPORTS: User defined, usually via command line or IDE,
|
||||||
|
// it causes BOOST_DECL to be defined as __declspec(dllimport).
|
||||||
|
//
|
||||||
|
// If neither BOOST_DECL_EXPORTS nor BOOST_DECL_IMPORTS is defined, or if
|
||||||
|
// the compiler does not require __declspec() decoration, BOOST_DECL is
|
||||||
|
// defined as a null string.
|
||||||
|
|
||||||
// BOOST_MSVC6_MEMBER_TEMPLATES: Microsoft Visual C++ 6.0 has enough member
|
// BOOST_MSVC6_MEMBER_TEMPLATES: Microsoft Visual C++ 6.0 has enough member
|
||||||
// template idiosyncrasies (being polite) that BOOST_NO_MEMBER_TEMPLATES is
|
// template idiosyncrasies (being polite) that BOOST_NO_MEMBER_TEMPLATES is
|
||||||
@ -138,9 +170,14 @@
|
|||||||
|
|
||||||
// BOOST_NO_SLIST: The C++ implementation does not provide the slist class.
|
// BOOST_NO_SLIST: The C++ implementation does not provide the slist class.
|
||||||
|
|
||||||
|
// BOOST_NO_STRINGSTREAM: The C++ implementation does not provide the <sstream> header.
|
||||||
|
|
||||||
// BOOST_NO_HASH: The C++ implementation does not provide the hash_set
|
// BOOST_NO_HASH: The C++ implementation does not provide the hash_set
|
||||||
// or hash_map classes.
|
// or hash_map classes.
|
||||||
|
|
||||||
|
// BOOST_STD_EXTENSION_NAMESPACE: The name of the namespace in which the slist,
|
||||||
|
// hash_set and/or hash_map templates are defined in this implementation (if any).
|
||||||
|
|
||||||
// BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS: The standard library does not provide
|
// BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS: The standard library does not provide
|
||||||
// templated iterator constructors for its containers.
|
// templated iterator constructors for its containers.
|
||||||
|
|
||||||
@ -154,33 +191,71 @@
|
|||||||
// BOOST_NO_STD_ALLOCATOR: The C++ standard library does not provide
|
// BOOST_NO_STD_ALLOCATOR: The C++ standard library does not provide
|
||||||
// a standards conforming std::allocator.
|
// a standards conforming std::allocator.
|
||||||
|
|
||||||
|
// BOOST_NO_STD_MIN_MAX: The C++ standard library does not provide
|
||||||
|
// the min() and max() template functions that should be in <algorithm>.
|
||||||
|
|
||||||
// Compilers are listed in alphabetic order (except VC++ last - see below)---//
|
// Compilers are listed in alphabetic order (except VC++ last - see below)---//
|
||||||
|
|
||||||
// GNU CC (also known as GCC and G++) --------------------------------------//
|
// GNU CC (also known as GCC and G++) --------------------------------------//
|
||||||
|
|
||||||
# if defined __GNUC__
|
# if defined __GNUC__
|
||||||
|
# if __GNUC__ == 2 && __GNUC_MINOR__ == 91
|
||||||
|
// egcs 1.1 won't parse smart_ptr.hpp without this:
|
||||||
|
# define BOOST_NO_AUTO_PTR
|
||||||
|
# endif
|
||||||
# if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
|
# if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
|
||||||
# include <iterator> // not sure this is the right way to do this -JGS
|
# include <iterator> // not sure this is the right way to do this -JGS
|
||||||
# if !defined(_CXXRT_STD) && !defined(__SGI_STL) // need to ask Dietmar about this -JGS
|
# if !defined(_CXXRT_STD) && !defined(__SGI_STL) // need to ask Dietmar about this -JGS
|
||||||
# define BOOST_NO_STD_ITERATOR
|
# define BOOST_NO_STD_ITERATOR
|
||||||
# define BOOST_NO_LIMITS
|
# define BOOST_NO_LIMITS
|
||||||
# endif
|
# endif
|
||||||
|
# if !defined(_CXXRT_STD) && !defined(__SGI_STL_OWN_IOSTREAMS)
|
||||||
|
# define BOOST_NO_STRINGSTREAM
|
||||||
|
# endif
|
||||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||||
# define BOOST_NO_OPERATORS_IN_NAMESPACE
|
# define BOOST_NO_OPERATORS_IN_NAMESPACE
|
||||||
# endif
|
# endif
|
||||||
# if __GNUC__ == 2 && __GNUC_MINOR__ <= 8
|
# if __GNUC__ == 2 && __GNUC_MINOR__ <= 8
|
||||||
# define BOOST_NO_MEMBER_TEMPLATES
|
# define BOOST_NO_MEMBER_TEMPLATES
|
||||||
# endif
|
# endif
|
||||||
// LGB
|
# if (__GNUC__ == 2 && __GNUC_MINOR__ > 95) || __GNUC__ > 2
|
||||||
# if __GNUC__ == 2 && __GNUC_MINOR__ == 97
|
// upcoming gcc 3.0
|
||||||
# define BOOST_NO_STDC_NAMESPACE
|
# include <iterator>
|
||||||
|
# if defined(__GLIBCPP__)
|
||||||
|
// The new GNU C++ library has slist, hash_map, hash_set headers
|
||||||
|
// in <ext/*>, but client code assumes they're in <*> --- Jens M.
|
||||||
|
# define BOOST_NO_SLIST
|
||||||
|
# define BOOST_NO_HASH
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
// Kai C++ ------------------------------------------------------------------//
|
// Kai C++ ------------------------------------------------------------------//
|
||||||
|
|
||||||
#elif defined __KCC
|
#elif defined __KCC
|
||||||
# define BOOST_NO_SLIST
|
# define BOOST_NO_SLIST
|
||||||
# define BOOST_NO_HASH
|
# define BOOST_NO_HASH
|
||||||
|
|
||||||
|
# if __KCC_VERSION <= 4001
|
||||||
|
// at least on Sun, the contents of <cwchar> is not in namespace std
|
||||||
|
# define BOOST_NO_STDC_NAMESPACE
|
||||||
|
# endif
|
||||||
|
|
||||||
|
// SGI MIPSpro C++ --------------------------------------------------------
|
||||||
|
|
||||||
|
#elif defined __sgi
|
||||||
|
|
||||||
|
# if defined(__EDG_VERSION__) && __EDG_VERSION__ <= 240
|
||||||
|
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
||||||
|
# endif
|
||||||
|
|
||||||
|
// Compaq Tru64 Unix cxx ---------------------------------------------------
|
||||||
|
|
||||||
|
#elif defined __DECCXX
|
||||||
|
|
||||||
|
# if defined(__EDG_VERSION__) && __EDG_VERSION__ <= 240
|
||||||
|
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
||||||
|
# endif
|
||||||
|
|
||||||
// Greenhills C++ -----------------------------------------------------------//
|
// Greenhills C++ -----------------------------------------------------------//
|
||||||
|
|
||||||
#elif defined __ghs
|
#elif defined __ghs
|
||||||
@ -190,7 +265,10 @@
|
|||||||
// Borland ------------------------------------------------------------------//
|
// Borland ------------------------------------------------------------------//
|
||||||
|
|
||||||
#elif defined __BORLANDC__
|
#elif defined __BORLANDC__
|
||||||
|
# define BOOST_NO_SLIST
|
||||||
|
# define BOOST_NO_HASH
|
||||||
# if __BORLANDC__ <= 0x0551
|
# if __BORLANDC__ <= 0x0551
|
||||||
|
# define BOOST_NO_INTEGRAL_INT64_T
|
||||||
# define BOOST_NO_PRIVATE_IN_AGGREGATE
|
# define BOOST_NO_PRIVATE_IN_AGGREGATE
|
||||||
# endif
|
# endif
|
||||||
# if __BORLANDC__ <= 0x0550
|
# if __BORLANDC__ <= 0x0550
|
||||||
@ -203,9 +281,14 @@
|
|||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# if defined BOOST_DECL_EXPORTS
|
# if defined BOOST_DECL_EXPORTS
|
||||||
|
# if defined BOOST_DECL_IMPORTS
|
||||||
|
# error Not valid to define both BOOST_DECL_EXPORTS and BOOST_DECL_IMPORTS
|
||||||
|
# endif
|
||||||
# define BOOST_DECL __declspec(dllexport)
|
# define BOOST_DECL __declspec(dllexport)
|
||||||
# else
|
# elif defined BOOST_DECL_IMPORTS
|
||||||
# define BOOST_DECL __declspec(dllimport)
|
# define BOOST_DECL __declspec(dllimport)
|
||||||
|
# else
|
||||||
|
# define BOOST_DECL
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
// Intel -------------------------------------------------------------------//
|
// Intel -------------------------------------------------------------------//
|
||||||
@ -224,6 +307,7 @@
|
|||||||
# define BOOST_NO_HASH
|
# define BOOST_NO_HASH
|
||||||
# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
||||||
# define BOOST_NO_STD_ALLOCATOR
|
# define BOOST_NO_STD_ALLOCATOR
|
||||||
|
# define BOOST_NO_STD_MIN_MAX
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
@ -240,14 +324,26 @@
|
|||||||
# define BOOST_SYSTEM_HAS_STDINT_H
|
# define BOOST_SYSTEM_HAS_STDINT_H
|
||||||
# endif
|
# endif
|
||||||
# if defined BOOST_DECL_EXPORTS
|
# if defined BOOST_DECL_EXPORTS
|
||||||
|
# if defined BOOST_DECL_IMPORTS
|
||||||
|
# error Not valid to define both BOOST_DECL_EXPORTS and BOOST_DECL_IMPORTS
|
||||||
|
# endif
|
||||||
# define BOOST_DECL __declspec(dllexport)
|
# define BOOST_DECL __declspec(dllexport)
|
||||||
# else
|
# elif defined BOOST_DECL_IMPORTS
|
||||||
# define BOOST_DECL __declspec(dllimport)
|
# define BOOST_DECL __declspec(dllimport)
|
||||||
|
# else
|
||||||
|
# define BOOST_DECL
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
# define BOOST_STD_EXTENSION_NAMESPACE Metrowerks
|
||||||
|
|
||||||
// Sun Workshop Compiler C++ ------------------------------------------------//
|
// Sun Workshop Compiler C++ ------------------------------------------------//
|
||||||
|
|
||||||
# elif defined __SUNPRO_CC
|
# elif defined __SUNPRO_CC
|
||||||
|
# if __SUNPRO_CC <= 0x520
|
||||||
|
# define BOOST_NO_SLIST
|
||||||
|
# define BOOST_NO_HASH
|
||||||
|
# define BOOST_NO_STD_ITERATOR_TRAITS
|
||||||
|
# endif
|
||||||
# if __SUNPRO_CC <= 0x500
|
# if __SUNPRO_CC <= 0x500
|
||||||
# define BOOST_NO_MEMBER_TEMPLATES
|
# define BOOST_NO_MEMBER_TEMPLATES
|
||||||
# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
@ -268,7 +364,9 @@
|
|||||||
# if _MSC_VER <= 1200 // 1200 == VC++ 6.0
|
# if _MSC_VER <= 1200 // 1200 == VC++ 6.0
|
||||||
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||||
# define BOOST_NO_PRIVATE_IN_AGGREGATE
|
# define BOOST_NO_PRIVATE_IN_AGGREGATE
|
||||||
|
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
||||||
|
|
||||||
|
# define BOOST_NO_INTEGRAL_INT64_T
|
||||||
# define BOOST_NO_INTRINSIC_WCHAR_T
|
# define BOOST_NO_INTRINSIC_WCHAR_T
|
||||||
|
|
||||||
// VC++ 6.0 has member templates but they have numerous problems including
|
// VC++ 6.0 has member templates but they have numerous problems including
|
||||||
@ -292,6 +390,17 @@
|
|||||||
# define BOOST_NO_HASH
|
# define BOOST_NO_HASH
|
||||||
# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
||||||
# define BOOST_NO_STD_ALLOCATOR
|
# define BOOST_NO_STD_ALLOCATOR
|
||||||
|
# ifndef _CPPLIB_VER
|
||||||
|
// Updated Dinkum library defines this, and provides
|
||||||
|
// its own min and max definitions.
|
||||||
|
# define BOOST_NO_STD_MIN_MAX
|
||||||
|
# undef min
|
||||||
|
# undef max
|
||||||
|
# endif
|
||||||
|
# ifndef NOMINMAX
|
||||||
|
// avoid spurious NOMINMAX redefinition warning
|
||||||
|
# define NOMINMAX
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# define BOOST_NO_STD_ITERATOR_TRAITS
|
# define BOOST_NO_STD_ITERATOR_TRAITS
|
||||||
|
|
||||||
@ -303,16 +412,21 @@
|
|||||||
|
|
||||||
// Determine if the standard library implementation is already pulling names
|
// Determine if the standard library implementation is already pulling names
|
||||||
// into std. STLport defines the following if so. (Ed Brey 5 Jun 00)
|
// into std. STLport defines the following if so. (Ed Brey 5 Jun 00)
|
||||||
# ifndef __STL_IMPORT_VENDOR_CSTD
|
# if !defined( __STL_IMPORT_VENDOR_CSTD ) || defined( __STL_NO_CSTD_FUNCTION_IMPORTS )
|
||||||
# define BOOST_NO_STDC_NAMESPACE
|
# define BOOST_NO_STDC_NAMESPACE
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if defined BOOST_DECL_EXPORTS
|
# if defined BOOST_DECL_EXPORTS
|
||||||
|
# if defined BOOST_DECL_IMPORTS
|
||||||
|
# error Not valid to define both BOOST_DECL_EXPORTS and BOOST_DECL_IMPORTS
|
||||||
|
# endif
|
||||||
# define BOOST_DECL __declspec(dllexport)
|
# define BOOST_DECL __declspec(dllexport)
|
||||||
# else
|
# elif defined BOOST_DECL_IMPORTS
|
||||||
# define BOOST_DECL __declspec(dllimport)
|
# define BOOST_DECL __declspec(dllimport)
|
||||||
|
# else
|
||||||
|
# define BOOST_DECL
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# endif // Microsoft (excluding Intel/EDG frontend)
|
# endif // Microsoft (excluding Intel/EDG frontend)
|
||||||
@ -323,6 +437,23 @@
|
|||||||
|
|
||||||
// end of compiler specific portion ----------------------------------------//
|
// end of compiler specific portion ----------------------------------------//
|
||||||
|
|
||||||
|
#if defined(BOOST_NO_LIMITS) || \
|
||||||
|
(defined(_RWSTD_VER) && _RWSTD_VER < 0x0203) || \
|
||||||
|
(defined(__SGI_STL_PORT) && __SGI_STL_PORT <= 0x410 && __STL_STATIC_CONST_INIT_BUG)
|
||||||
|
// STLPort 4.0 doesn't define the static constants in numeric_limits<> so that they
|
||||||
|
// can be used at compile time if the compiler bug indicated by
|
||||||
|
// __STL_STATIC_CONST_INIT_BUG is present.
|
||||||
|
|
||||||
|
// Rogue wave STL (C++ Builder) also has broken numeric_limits
|
||||||
|
// with default template defining members out of line.
|
||||||
|
// However, Compaq C++ also uses RogueWave (version 2.03) and it's ok.
|
||||||
|
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef BOOST_STD_EXTENSION_NAMESPACE
|
||||||
|
# define BOOST_STD_EXTENSION_NAMESPACE std
|
||||||
|
#endif
|
||||||
|
|
||||||
// Check for old name "BOOST_NMEMBER_TEMPLATES" for compatibility -----------//
|
// Check for old name "BOOST_NMEMBER_TEMPLATES" for compatibility -----------//
|
||||||
// Don't use BOOST_NMEMBER_TEMPLATES. It is deprecated and will be removed soon.
|
// Don't use BOOST_NMEMBER_TEMPLATES. It is deprecated and will be removed soon.
|
||||||
#if defined( BOOST_NMEMBER_TEMPLATES ) && !defined( BOOST_NO_MEMBER_TEMPLATES )
|
#if defined( BOOST_NMEMBER_TEMPLATES ) && !defined( BOOST_NO_MEMBER_TEMPLATES )
|
||||||
@ -345,5 +476,26 @@
|
|||||||
// using ::wchar_t; removed since wchar_t is a C++ built-in type (Ed Brey)
|
// using ::wchar_t; removed since wchar_t is a C++ built-in type (Ed Brey)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
#ifdef BOOST_NO_STD_MIN_MAX
|
||||||
|
namespace std {
|
||||||
|
template <class _Tp>
|
||||||
|
inline const _Tp& min(const _Tp& __a, const _Tp& __b) {
|
||||||
|
return __b < __a ? __b : __a;
|
||||||
|
}
|
||||||
|
template <class _Tp>
|
||||||
|
inline const _Tp& max(const _Tp& __a, const _Tp& __b) {
|
||||||
|
return __a < __b ? __b : __a;
|
||||||
|
}
|
||||||
|
#ifdef BOOST_MSVC
|
||||||
|
inline long min(long __a, long __b) {
|
||||||
|
return __b < __a ? __b : __a;
|
||||||
|
}
|
||||||
|
inline long max(long __a, long __b) {
|
||||||
|
return __a < __b ? __b : __a;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // BOOST_CONFIG_HPP
|
#endif // BOOST_CONFIG_HPP
|
||||||
|
|
||||||
|
@ -83,6 +83,17 @@ AC_DEFUN(QT2_FIND_PATH,
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
dnl ------------------------------------------------------------------------
|
||||||
|
dnl Find the UIC compiler if available
|
||||||
|
dnl ------------------------------------------------------------------------
|
||||||
|
AC_DEFUN(QT2_AC_PATH_UIC,
|
||||||
|
[
|
||||||
|
QT2_FIND_PATH(uic, UIC, [$ac_qt2_bindir $QTDIR/bin \
|
||||||
|
/usr/bin /usr/X11R6/bin /usr/lib/qt2/bin \
|
||||||
|
/usr/local/qt2/bin /usr/local/qt/bin /usr/lib/qt/bin], )
|
||||||
|
AC_SUBST(UIC)
|
||||||
|
])
|
||||||
|
|
||||||
dnl ------------------------------------------------------------------------
|
dnl ------------------------------------------------------------------------
|
||||||
dnl Find the meta object compiler in the PATH, in $QTDIR/bin, and some
|
dnl Find the meta object compiler in the PATH, in $QTDIR/bin, and some
|
||||||
dnl more usual places
|
dnl more usual places
|
||||||
@ -184,6 +195,7 @@ AC_MSG_CHECKING([for Qt 2])
|
|||||||
ac_qt2_includes=NO ac_qt2_libraries=NO ac_qt2_bindir=NO
|
ac_qt2_includes=NO ac_qt2_libraries=NO ac_qt2_bindir=NO
|
||||||
qt2_libraries=""
|
qt2_libraries=""
|
||||||
qt2_includes=""
|
qt2_includes=""
|
||||||
|
|
||||||
AC_ARG_WITH(qt2-dir,
|
AC_ARG_WITH(qt2-dir,
|
||||||
[ --with-qt2-dir where the root of Qt2 is installed ],
|
[ --with-qt2-dir where the root of Qt2 is installed ],
|
||||||
[ ac_qt2_includes="$withval"/include
|
[ ac_qt2_includes="$withval"/include
|
||||||
@ -294,7 +306,6 @@ QT2_CHECK_DIRECT(qt2_libraries= ,[])
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dnl check it is Qt2
|
dnl check it is Qt2
|
||||||
dnl FIXME: what minor version do we require ???
|
|
||||||
|
|
||||||
SAVE_CXXFLAGS="$CXXFLAGS"
|
SAVE_CXXFLAGS="$CXXFLAGS"
|
||||||
CXXFLAGS="$CXXFLAGS -I$qt2_includes -L$qt2_libraries"
|
CXXFLAGS="$CXXFLAGS -I$qt2_includes -L$qt2_libraries"
|
||||||
@ -304,7 +315,7 @@ AC_TRY_COMPILE([
|
|||||||
#include <qglobal.h>
|
#include <qglobal.h>
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
#if (QT_VERSION < 200)
|
#if (QT_VERSION < 223)
|
||||||
break_me_(\\\);
|
break_me_(\\\);
|
||||||
#endif
|
#endif
|
||||||
],
|
],
|
||||||
@ -337,6 +348,7 @@ AC_SUBST(QT2_INCLUDES)
|
|||||||
AC_SUBST(QT2_LDFLAGS)
|
AC_SUBST(QT2_LDFLAGS)
|
||||||
AC_SUBST(QT2_LIBS)
|
AC_SUBST(QT2_LIBS)
|
||||||
QT2_AC_PATH_MOC
|
QT2_AC_PATH_MOC
|
||||||
|
QT2_AC_PATH_UIC
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_DEFUN(QT2_DO_IT_ALL,
|
AC_DEFUN(QT2_DO_IT_ALL,
|
||||||
|
@ -294,13 +294,13 @@ if test "x$enable_assertions" = xyes ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
### Finish the work.
|
### Finish the work.
|
||||||
AC_CONFIG_SUBDIRS(sigc++ lib lib/reLyX)
|
AC_CONFIG_SUBDIRS(boost sigc++ lib lib/reLyX)
|
||||||
AC_OUTPUT([Makefile \
|
AC_OUTPUT([Makefile \
|
||||||
development/lyx.spec \
|
development/lyx.spec \
|
||||||
lib/Makefile \
|
lib/Makefile \
|
||||||
intl/Makefile \
|
intl/Makefile \
|
||||||
po/Makefile.in \
|
po/Makefile.in \
|
||||||
boost/Makefile \
|
sourcedoc/Doxyfile \
|
||||||
src/Makefile \
|
src/Makefile \
|
||||||
src/mathed/Makefile \
|
src/mathed/Makefile \
|
||||||
src/graphics/Makefile \
|
src/graphics/Makefile \
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
--- bibforms.h Tue Oct 7 21:30:55 1997
|
|
||||||
+++ ../src/bibforms.h Tue Oct 7 19:57:53 1997
|
|
||||||
@@ -2,12 +2,6 @@
|
|
||||||
#define FD_citation_form_h_
|
|
||||||
/* Header file generated with fdesign. */
|
|
||||||
|
|
||||||
-/**** Callback routines ****/
|
|
||||||
-
|
|
||||||
-extern void bibitem_cb(FL_OBJECT *, long);
|
|
||||||
-
|
|
||||||
-extern void bibitem_cb(FL_OBJECT *, long);
|
|
||||||
-
|
|
||||||
|
|
||||||
/**** Forms and Objects ****/
|
|
||||||
|
|
||||||
@@ -19,7 +13,7 @@
|
|
||||||
FL_OBJECT *label;
|
|
||||||
} FD_citation_form;
|
|
||||||
|
|
||||||
-extern FD_citation_form * create_form_citation_form(void);
|
|
||||||
+
|
|
||||||
typedef struct {
|
|
||||||
FL_FORM *bibitem_form;
|
|
||||||
void *vdata;
|
|
||||||
@@ -27,7 +21,5 @@
|
|
||||||
FL_OBJECT *key;
|
|
||||||
FL_OBJECT *label;
|
|
||||||
} FD_bibitem_form;
|
|
||||||
-
|
|
||||||
-extern FD_bibitem_form * create_form_bibitem_form(void);
|
|
||||||
|
|
||||||
#endif /* FD_citation_form_h_ */
|
|
44
forms/lyx.fd
44
forms/lyx.fd
@ -3,51 +3,9 @@ Magic: 13000
|
|||||||
Internal Form Definition File
|
Internal Form Definition File
|
||||||
(do not change)
|
(do not change)
|
||||||
|
|
||||||
Number of forms: 3
|
Number of forms: 2
|
||||||
Unit of measure: FL_COORD_PIXEL
|
Unit of measure: FL_COORD_PIXEL
|
||||||
|
|
||||||
=============== FORM ===============
|
|
||||||
Name: form_title
|
|
||||||
Width: 420
|
|
||||||
Height: 290
|
|
||||||
Number of Objects: 2
|
|
||||||
|
|
||||||
--------------------
|
|
||||||
class: FL_BOX
|
|
||||||
type: UP_BOX
|
|
||||||
box: 0 0 420 290
|
|
||||||
boxtype: FL_UP_BOX
|
|
||||||
colors: FL_BLACK FL_TOP_BCOL
|
|
||||||
alignment: FL_ALIGN_CENTER
|
|
||||||
style: FL_NORMAL_STYLE
|
|
||||||
size: FL_DEFAULT_SIZE
|
|
||||||
lcol: FL_BLACK
|
|
||||||
label:
|
|
||||||
shortcut:
|
|
||||||
resize: FL_RESIZE_ALL
|
|
||||||
gravity: FL_NoGravity FL_NoGravity
|
|
||||||
name:
|
|
||||||
callback:
|
|
||||||
argument:
|
|
||||||
|
|
||||||
--------------------
|
|
||||||
class: FL_TIMER
|
|
||||||
type: HIDDEN_TIMER
|
|
||||||
box: 110 170 190 60
|
|
||||||
boxtype: FL_DOWN_BOX
|
|
||||||
colors: FL_COL1 FL_RED
|
|
||||||
alignment: FL_ALIGN_CENTER
|
|
||||||
style: FL_NORMAL_STYLE
|
|
||||||
size: FL_DEFAULT_SIZE
|
|
||||||
lcol: FL_BLACK
|
|
||||||
label:
|
|
||||||
shortcut:
|
|
||||||
resize: FL_RESIZE_ALL
|
|
||||||
gravity: FL_NoGravity FL_NoGravity
|
|
||||||
name: timer_title
|
|
||||||
callback: TimerCB
|
|
||||||
argument: 0
|
|
||||||
|
|
||||||
=============== FORM ===============
|
=============== FORM ===============
|
||||||
Name: form_figure
|
Name: form_figure
|
||||||
Width: 340
|
Width: 340
|
||||||
|
@ -34,6 +34,7 @@ src/frontends/kde/dlg/doclanguagedlgdata.C
|
|||||||
src/frontends/kde/dlg/docsettingsdlgdata.C
|
src/frontends/kde/dlg/docsettingsdlgdata.C
|
||||||
src/frontends/kde/dlg/indexdlgdata.C
|
src/frontends/kde/dlg/indexdlgdata.C
|
||||||
src/frontends/kde/dlg/lengthentry.C
|
src/frontends/kde/dlg/lengthentry.C
|
||||||
|
src/frontends/kde/dlg/logdlgdata.C
|
||||||
src/frontends/kde/dlg/paraabovedlgdata.C
|
src/frontends/kde/dlg/paraabovedlgdata.C
|
||||||
src/frontends/kde/dlg/parabelowdlgdata.C
|
src/frontends/kde/dlg/parabelowdlgdata.C
|
||||||
src/frontends/kde/dlg/paradlgdata.C
|
src/frontends/kde/dlg/paradlgdata.C
|
||||||
@ -46,12 +47,14 @@ src/frontends/kde/FormCitation.C
|
|||||||
src/frontends/kde/FormCopyright.C
|
src/frontends/kde/FormCopyright.C
|
||||||
src/frontends/kde/FormDocument.C
|
src/frontends/kde/FormDocument.C
|
||||||
src/frontends/kde/FormIndex.C
|
src/frontends/kde/FormIndex.C
|
||||||
|
src/frontends/kde/FormLog.C
|
||||||
src/frontends/kde/FormParagraph.C
|
src/frontends/kde/FormParagraph.C
|
||||||
src/frontends/kde/FormPrint.C
|
src/frontends/kde/FormPrint.C
|
||||||
src/frontends/kde/FormRef.C
|
src/frontends/kde/FormRef.C
|
||||||
src/frontends/kde/FormTabularCreate.C
|
src/frontends/kde/FormTabularCreate.C
|
||||||
src/frontends/kde/FormToc.C
|
src/frontends/kde/FormToc.C
|
||||||
src/frontends/kde/FormUrl.C
|
src/frontends/kde/FormUrl.C
|
||||||
|
src/frontends/kde/FormVCLog.C
|
||||||
src/frontends/kde/indexdlg.C
|
src/frontends/kde/indexdlg.C
|
||||||
src/frontends/kde/paradlg.C
|
src/frontends/kde/paradlg.C
|
||||||
src/frontends/kde/paraextradlg.C
|
src/frontends/kde/paraextradlg.C
|
||||||
@ -62,38 +65,47 @@ src/frontends/kde/tabcreatedlg.C
|
|||||||
src/frontends/kde/tocdlg.C
|
src/frontends/kde/tocdlg.C
|
||||||
src/frontends/kde/urldlg.C
|
src/frontends/kde/urldlg.C
|
||||||
src/frontends/qt2/FormCopyright.C
|
src/frontends/qt2/FormCopyright.C
|
||||||
|
src/frontends/qt2/FormParagraph.C
|
||||||
|
src/frontends/qt2/FormPrint.C
|
||||||
|
src/frontends/qt2/FormTabularCreate.C
|
||||||
|
src/frontends/qt2/paragraphdlgimpl.C
|
||||||
|
src/frontends/qt2/tabularcreatedlgimpl.C
|
||||||
src/frontends/xforms/FormBase.h
|
src/frontends/xforms/FormBase.h
|
||||||
|
src/frontends/xforms/FormBibitem.C
|
||||||
|
src/frontends/xforms/form_bibitem.C
|
||||||
|
src/frontends/xforms/FormBibtex.C
|
||||||
|
src/frontends/xforms/form_bibtex.C
|
||||||
src/frontends/xforms/form_browser.C
|
src/frontends/xforms/form_browser.C
|
||||||
src/frontends/xforms/FormCitation.C
|
|
||||||
src/frontends/xforms/form_citation.C
|
src/frontends/xforms/form_citation.C
|
||||||
src/frontends/xforms/FormCopyright.C
|
src/frontends/xforms/FormCitation.C
|
||||||
src/frontends/xforms/form_copyright.C
|
src/frontends/xforms/form_copyright.C
|
||||||
src/frontends/xforms/FormDocument.C
|
src/frontends/xforms/FormCopyright.C
|
||||||
src/frontends/xforms/form_document.C
|
src/frontends/xforms/form_document.C
|
||||||
src/frontends/xforms/FormError.C
|
src/frontends/xforms/FormDocument.C
|
||||||
src/frontends/xforms/form_error.C
|
src/frontends/xforms/form_error.C
|
||||||
src/frontends/xforms/FormGraphics.C
|
src/frontends/xforms/FormError.C
|
||||||
src/frontends/xforms/form_graphics.C
|
src/frontends/xforms/form_graphics.C
|
||||||
src/frontends/xforms/FormIndex.C
|
src/frontends/xforms/FormGraphics.C
|
||||||
src/frontends/xforms/form_index.C
|
src/frontends/xforms/form_index.C
|
||||||
|
src/frontends/xforms/FormIndex.C
|
||||||
src/frontends/xforms/FormInset.h
|
src/frontends/xforms/FormInset.h
|
||||||
src/frontends/xforms/FormLog.C
|
src/frontends/xforms/FormLog.C
|
||||||
src/frontends/xforms/FormParagraph.C
|
|
||||||
src/frontends/xforms/form_paragraph.C
|
src/frontends/xforms/form_paragraph.C
|
||||||
src/frontends/xforms/FormPreferences.C
|
src/frontends/xforms/FormParagraph.C
|
||||||
src/frontends/xforms/form_preferences.C
|
src/frontends/xforms/form_preferences.C
|
||||||
src/frontends/xforms/FormPrint.C
|
src/frontends/xforms/FormPreferences.C
|
||||||
src/frontends/xforms/form_print.C
|
src/frontends/xforms/form_print.C
|
||||||
src/frontends/xforms/FormRef.C
|
src/frontends/xforms/FormPrint.C
|
||||||
src/frontends/xforms/form_ref.C
|
src/frontends/xforms/form_ref.C
|
||||||
src/frontends/xforms/FormTabular.C
|
src/frontends/xforms/FormRef.C
|
||||||
src/frontends/xforms/form_tabular.C
|
src/frontends/xforms/form_tabular.C
|
||||||
src/frontends/xforms/FormTabularCreate.C
|
src/frontends/xforms/FormTabular.C
|
||||||
src/frontends/xforms/form_tabular_create.C
|
src/frontends/xforms/form_tabular_create.C
|
||||||
src/frontends/xforms/FormToc.C
|
src/frontends/xforms/FormTabularCreate.C
|
||||||
src/frontends/xforms/form_toc.C
|
src/frontends/xforms/form_toc.C
|
||||||
src/frontends/xforms/FormUrl.C
|
src/frontends/xforms/FormToc.C
|
||||||
src/frontends/xforms/form_url.C
|
src/frontends/xforms/form_url.C
|
||||||
|
src/frontends/xforms/FormUrl.C
|
||||||
src/frontends/xforms/FormVCLog.C
|
src/frontends/xforms/FormVCLog.C
|
||||||
src/frontends/xforms/input_validators.C
|
src/frontends/xforms/input_validators.C
|
||||||
src/frontends/xforms/Menubar_pimpl.C
|
src/frontends/xforms/Menubar_pimpl.C
|
||||||
|
@ -43,7 +43,6 @@ bool selection_possible = false;
|
|||||||
extern BufferList bufferlist;
|
extern BufferList bufferlist;
|
||||||
extern char ascii_type;
|
extern char ascii_type;
|
||||||
|
|
||||||
extern "C" void TimerCB(FL_OBJECT *, long);
|
|
||||||
extern void sigchldhandler(pid_t pid, int * status);
|
extern void sigchldhandler(pid_t pid, int * status);
|
||||||
extern int bibitemMaxWidth(BufferView *, LyXFont const &);
|
extern int bibitemMaxWidth(BufferView *, LyXFont const &);
|
||||||
|
|
||||||
@ -312,9 +311,8 @@ int BufferView::Pimpl::resizeCurrentBuffer()
|
|||||||
bv_->setState();
|
bv_->setState();
|
||||||
AllowInput(bv_);
|
AllowInput(bv_);
|
||||||
|
|
||||||
// Now if the title form still exist kill it
|
owner_->getDialogs()->hideSplash();
|
||||||
TimerCB(0, 0);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,29 @@
|
|||||||
|
2001-02-12 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
|
* BufferView_pimpl.C: call hideSplash()
|
||||||
|
|
||||||
|
* LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
|
||||||
|
|
||||||
|
* include_form.h:
|
||||||
|
* bibforms.h: remove
|
||||||
|
|
||||||
|
* lyxfunc.C:
|
||||||
|
* src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
|
||||||
|
add LFUN_CHILD_CREATE
|
||||||
|
|
||||||
|
* counters.h: fix tiny typo
|
||||||
|
|
||||||
|
* lyx_cb.C:
|
||||||
|
* lyx.h:
|
||||||
|
* lyx_gui.C:
|
||||||
|
* lyx.C: move splash to frontends/xforms/
|
||||||
|
|
||||||
|
* lyx_gui_misc.C: move Include and Bibform to frontends
|
||||||
|
|
||||||
|
* lyxvc.h: clarify comment
|
||||||
|
|
||||||
|
* vspace.C: tiny housekeeping
|
||||||
|
|
||||||
2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
|
2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
|
||||||
|
|
||||||
* text.C (PrepareToPrint): RTL Fix.
|
* text.C (PrepareToPrint): RTL Fix.
|
||||||
|
@ -119,7 +119,7 @@ void LyXAction::init()
|
|||||||
N_("Go to beginning of document"), ReadOnly },
|
N_("Go to beginning of document"), ReadOnly },
|
||||||
{ LFUN_BEGINNINGBUFSEL, "buffer-begin-select",
|
{ LFUN_BEGINNINGBUFSEL, "buffer-begin-select",
|
||||||
N_("Select to beginning of document"), ReadOnly },
|
N_("Select to beginning of document"), ReadOnly },
|
||||||
{ LFUN_CHILDINSERT, "buffer-child-insert", "", Noop },
|
{ LFUN_CHILD_CREATE, "buffer-child-insert", "", Noop },
|
||||||
{ LFUN_CHILDOPEN, "buffer-child-open", "", ReadOnly },
|
{ LFUN_CHILDOPEN, "buffer-child-open", "", ReadOnly },
|
||||||
{ LFUN_RUNCHKTEX, "buffer-chktex", N_("Check TeX"), ReadOnly },
|
{ LFUN_RUNCHKTEX, "buffer-chktex", N_("Check TeX"), ReadOnly },
|
||||||
{ LFUN_CLOSEBUFFER, "buffer-close", N_("Close"), ReadOnly },
|
{ LFUN_CLOSEBUFFER, "buffer-close", N_("Close"), ReadOnly },
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
#ifndef FD_bibitem_form_h_
|
|
||||||
#define FD_bibitem_form_h_
|
|
||||||
/* Header file generated with fdesign. */
|
|
||||||
|
|
||||||
|
|
||||||
/**** Forms and Objects ****/
|
|
||||||
|
|
||||||
struct FD_bibitem_form {
|
|
||||||
FL_FORM *bibitem_form;
|
|
||||||
void *vdata;
|
|
||||||
long ldata;
|
|
||||||
FL_OBJECT *key;
|
|
||||||
FL_OBJECT *label;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif /* FD_bibitem_form_h_ */
|
|
@ -202,7 +202,7 @@ enum kb_action {
|
|||||||
LFUN_LAYOUT_COPY, // Asger 1997-05-04
|
LFUN_LAYOUT_COPY, // Asger 1997-05-04
|
||||||
LFUN_LAYOUT_PASTE, // Asger 1997-05-04
|
LFUN_LAYOUT_PASTE, // Asger 1997-05-04
|
||||||
LFUN_TABINSERT, // 180 // Ale 970515
|
LFUN_TABINSERT, // 180 // Ale 970515
|
||||||
LFUN_CHILDINSERT, // Ale 970521
|
LFUN_CHILD_INSERT, // Ale 970521
|
||||||
LFUN_CHILDOPEN, // Ale 970528
|
LFUN_CHILDOPEN, // Ale 970528
|
||||||
LFUN_TOC_INSERT, // Lgb 97-05-27
|
LFUN_TOC_INSERT, // Lgb 97-05-27
|
||||||
LFUN_LOA_INSERT, // Bernhard 97-08-07
|
LFUN_LOA_INSERT, // Bernhard 97-08-07
|
||||||
@ -276,6 +276,7 @@ enum kb_action {
|
|||||||
LFUN_REFERENCE_GOTO, // Dekel 20010114
|
LFUN_REFERENCE_GOTO, // Dekel 20010114
|
||||||
LFUN_BOOKMARK_SAVE, // Dekel 20010127
|
LFUN_BOOKMARK_SAVE, // Dekel 20010127
|
||||||
LFUN_BOOKMARK_GOTO, // Dekel 20010127
|
LFUN_BOOKMARK_GOTO, // Dekel 20010127
|
||||||
|
LFUN_CHILD_CREATE, // Levon 20010207
|
||||||
LFUN_LASTACTION /* this marks the end of the table */
|
LFUN_LASTACTION /* this marks the end of the table */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifndef COUNTERS_H
|
#ifndef COUNTERS_H
|
||||||
#define COUTNERS_H
|
#define COUNTERS_H
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma interface
|
#pragma interface
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2001-02-12 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
|
* DialogBase.C: add close(), non-pure. This is
|
||||||
|
useful for logdlg.C in the KDE frontend.
|
||||||
|
|
||||||
|
* Dialogs.h: splash, include, and bib forms
|
||||||
|
|
||||||
2001-02-07 John Levon <moz@compsoc.man.ac.uk>
|
2001-02-07 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
* ButtonPolicies.C:
|
* ButtonPolicies.C:
|
||||||
|
@ -52,6 +52,8 @@ public:
|
|||||||
virtual void hide() = 0;
|
virtual void hide() = 0;
|
||||||
///
|
///
|
||||||
virtual void update() {};
|
virtual void update() {};
|
||||||
|
///
|
||||||
|
virtual void close() {};
|
||||||
//@}
|
//@}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -84,10 +84,10 @@ public:
|
|||||||
//@{
|
//@{
|
||||||
/// Do we really have to push this?
|
/// Do we really have to push this?
|
||||||
Signal1<void, vector<string> const &> SetDocumentClassChoice;
|
Signal1<void, vector<string> const &> SetDocumentClassChoice;
|
||||||
///
|
/// show the key and label of a bibliography entry
|
||||||
Signal1<void, InsetBibKey *> showBibkey;
|
Signal1<void, InsetCommand *> showBibitem;
|
||||||
///
|
/// show the bibtex dialog
|
||||||
Signal1<void, InsetBibtex *> showBibtex;
|
Signal1<void, InsetCommand *> showBibtex;
|
||||||
///
|
///
|
||||||
Signal0<void> showCharacter;
|
Signal0<void> showCharacter;
|
||||||
///
|
///
|
||||||
@ -102,8 +102,10 @@ public:
|
|||||||
Signal1<void, InsetError *> showError;
|
Signal1<void, InsetError *> showError;
|
||||||
///
|
///
|
||||||
Signal1<void, InsetGraphics *> showGraphics;
|
Signal1<void, InsetGraphics *> showGraphics;
|
||||||
///
|
/// show the details of a LyX file include inset
|
||||||
Signal1<void, InsetInclude *> showInclude;
|
Signal1<void, InsetCommand *> showInclude;
|
||||||
|
/// create a LyX file include inset
|
||||||
|
Signal1<void, string const &> createInclude;
|
||||||
///
|
///
|
||||||
Signal1<void, InsetCommand *> showIndex;
|
Signal1<void, InsetCommand *> showIndex;
|
||||||
///
|
///
|
||||||
@ -128,6 +130,10 @@ public:
|
|||||||
Signal1<void, InsetCommand *> showRef;
|
Signal1<void, InsetCommand *> showRef;
|
||||||
///
|
///
|
||||||
Signal1<void, string const &> createRef;
|
Signal1<void, string const &> createRef;
|
||||||
|
/// pop up the splash
|
||||||
|
Signal0<void> showSplash;
|
||||||
|
/// hide the splash immediately
|
||||||
|
Signal0<void> hideSplash;
|
||||||
///
|
///
|
||||||
Signal1<void, InsetTabular *> showTabular;
|
Signal1<void, InsetTabular *> showTabular;
|
||||||
///
|
///
|
||||||
|
@ -1,3 +1,28 @@
|
|||||||
|
2001-02-12 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
|
* <various>: move to house style
|
||||||
|
|
||||||
|
* Dialogs.C: add bib, splash, include, logs
|
||||||
|
|
||||||
|
* dlg/README: update
|
||||||
|
|
||||||
|
* Makefile.am:
|
||||||
|
* FormLog.C:
|
||||||
|
* FormLog.h:
|
||||||
|
* FormVCLog.C:
|
||||||
|
* FormVCLog.h:
|
||||||
|
* logdlg.C:
|
||||||
|
* logdlg.h:
|
||||||
|
* dlg/logdlgdata.C:
|
||||||
|
* dlg/logdlgdata.h:
|
||||||
|
* dlg/dialogs/log.dlg: new Log and VCLog dialogs
|
||||||
|
|
||||||
|
* dlg/dialogs/para*.dlg: fix tab order
|
||||||
|
|
||||||
|
* docdlg.C:
|
||||||
|
* docdlg.h:
|
||||||
|
* dlg/dialogs/doc*.dlg: tab order, UI improvements
|
||||||
|
|
||||||
2001-02-07 John Levon <moz@compsoc.man.ac.uk>
|
2001-02-07 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
* Timeout_pimpl.h:
|
* Timeout_pimpl.h:
|
||||||
|
@ -1,21 +1,36 @@
|
|||||||
|
/**
|
||||||
|
* \file Dialogs.C
|
||||||
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author Jürgen Vigna
|
||||||
|
* \author John Levon
|
||||||
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include FORMS_H_LOCATION
|
#include FORMS_H_LOCATION
|
||||||
|
|
||||||
#include "Dialogs.h"
|
#include "Dialogs.h"
|
||||||
|
#include "FormBibitem.h"
|
||||||
|
#include "FormBibtex.h"
|
||||||
#include "FormCitation.h"
|
#include "FormCitation.h"
|
||||||
#include "FormCopyright.h"
|
#include "FormCopyright.h"
|
||||||
#include "FormDocument.h"
|
#include "FormDocument.h"
|
||||||
#include "FormError.h"
|
#include "FormError.h"
|
||||||
#include "FormGraphics.h"
|
#include "FormGraphics.h"
|
||||||
|
#include "FormInclude.h"
|
||||||
#include "FormIndex.h"
|
#include "FormIndex.h"
|
||||||
|
#include "FormLog.h"
|
||||||
#include "FormParagraph.h"
|
#include "FormParagraph.h"
|
||||||
#include "FormPreferences.h"
|
#include "FormPreferences.h"
|
||||||
#include "FormPrint.h"
|
#include "FormPrint.h"
|
||||||
#include "FormRef.h"
|
#include "FormRef.h"
|
||||||
|
#include "FormSplash.h"
|
||||||
#include "FormTabular.h"
|
#include "FormTabular.h"
|
||||||
#include "FormTabularCreate.h"
|
#include "FormTabularCreate.h"
|
||||||
#include "FormToc.h"
|
#include "FormToc.h"
|
||||||
#include "FormUrl.h"
|
#include "FormUrl.h"
|
||||||
|
#include "FormVCLog.h"
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma implementation
|
#pragma implementation
|
||||||
@ -24,27 +39,33 @@
|
|||||||
// temporary till ported
|
// temporary till ported
|
||||||
extern void ShowCredits();
|
extern void ShowCredits();
|
||||||
|
|
||||||
// Signal enabling all visible popups to be redrawn if so desired.
|
/* We don't implement this, but it's needed whilst we
|
||||||
// E.g., when the GUI colours have been remapped. This will probably
|
* still rely on xforms
|
||||||
// work out different when xforms is gone
|
*/
|
||||||
Signal0<void> Dialogs::redrawGUI;
|
Signal0<void> Dialogs::redrawGUI;
|
||||||
|
|
||||||
Dialogs::Dialogs(LyXView * lv)
|
Dialogs::Dialogs(LyXView * lv)
|
||||||
{
|
{
|
||||||
|
dialogs_.push_back(new FormBibitem(lv, this));
|
||||||
|
dialogs_.push_back(new FormBibtex(lv, this));
|
||||||
dialogs_.push_back(new FormCitation(lv, this));
|
dialogs_.push_back(new FormCitation(lv, this));
|
||||||
dialogs_.push_back(new FormCopyright(lv, this));
|
dialogs_.push_back(new FormCopyright(lv, this));
|
||||||
dialogs_.push_back(new FormDocument(lv, this));
|
dialogs_.push_back(new FormDocument(lv, this));
|
||||||
dialogs_.push_back(new FormError(lv, this));
|
dialogs_.push_back(new FormError(lv, this));
|
||||||
dialogs_.push_back(new FormGraphics(lv, this));
|
dialogs_.push_back(new FormGraphics(lv, this));
|
||||||
|
dialogs_.push_back(new FormInclude(lv, this));
|
||||||
dialogs_.push_back(new FormIndex(lv, this));
|
dialogs_.push_back(new FormIndex(lv, this));
|
||||||
|
dialogs_.push_back(new FormLog(lv, this));
|
||||||
dialogs_.push_back(new FormParagraph(lv, this));
|
dialogs_.push_back(new FormParagraph(lv, this));
|
||||||
dialogs_.push_back(new FormPreferences(lv, this));
|
dialogs_.push_back(new FormPreferences(lv, this));
|
||||||
dialogs_.push_back(new FormPrint(lv, this));
|
dialogs_.push_back(new FormPrint(lv, this));
|
||||||
dialogs_.push_back(new FormRef(lv, this));
|
dialogs_.push_back(new FormRef(lv, this));
|
||||||
|
dialogs_.push_back(new FormSplash(lv, this));
|
||||||
dialogs_.push_back(new FormTabular(lv, this));
|
dialogs_.push_back(new FormTabular(lv, this));
|
||||||
dialogs_.push_back(new FormTabularCreate(lv, this));
|
dialogs_.push_back(new FormTabularCreate(lv, this));
|
||||||
dialogs_.push_back(new FormToc(lv, this));
|
dialogs_.push_back(new FormToc(lv, this));
|
||||||
dialogs_.push_back(new FormUrl(lv, this));
|
dialogs_.push_back(new FormUrl(lv, this));
|
||||||
|
dialogs_.push_back(new FormVCLog(lv, this));
|
||||||
|
|
||||||
showCredits.connect(slot(ShowCredits));
|
showCredits.connect(slot(ShowCredits));
|
||||||
|
|
||||||
@ -53,6 +74,7 @@ Dialogs::Dialogs(LyXView * lv)
|
|||||||
hideAll.connect(hideBufferDependent.slot());
|
hideAll.connect(hideBufferDependent.slot());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Dialogs::~Dialogs()
|
Dialogs::~Dialogs()
|
||||||
{
|
{
|
||||||
for (vector<DialogBase *>::iterator iter = dialogs_.begin();
|
for (vector<DialogBase *>::iterator iter = dialogs_.begin();
|
||||||
@ -61,80 +83,3 @@ Dialogs::~Dialogs()
|
|||||||
delete *iter;
|
delete *iter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
|
|
||||||
Q. WHY does Dialogs::Dialogs pass `this' to dialog constructors?
|
|
||||||
|
|
||||||
A. To avoid a segfault.
|
|
||||||
The dialog constructors need to connect to their
|
|
||||||
respective showSomeDialog signal(*) but in order to do
|
|
||||||
that they need to get the address of the Dialogs instance
|
|
||||||
from LyXView::getDialogs(). However, since the Dialogs
|
|
||||||
instance is still being constructed at that time
|
|
||||||
LyXView::getDialogs() will *not* return the correct
|
|
||||||
address because it hasn't finished being constructed.
|
|
||||||
A Catch-22 situation (or is that the chicken and the egg...).
|
|
||||||
So to get around the problem we pass the address of
|
|
||||||
the newly created Dialogs instance using `this'.
|
|
||||||
|
|
||||||
(*) -- I'm using signals exclusively to guarantee that the gui code
|
|
||||||
remains hidden from the rest of the system. In fact the only
|
|
||||||
header related to dialogs that anything in the non-gui-specific
|
|
||||||
code gets to see is Dialogs.h! Even Dialogs.h doesn't know what a
|
|
||||||
FormCopyright class looks like or that its even going to be used!
|
|
||||||
|
|
||||||
No other gui dialog headers are seen outside of the gui-specific
|
|
||||||
directories! This ensures that the gui is completely separate from
|
|
||||||
the rest of LyX. All this through the use of a few simple signals.
|
|
||||||
BUT, the price is that during construction we need to connect the
|
|
||||||
implementations show() method to the showSomeDialog signal and this
|
|
||||||
requires that we have an instance of Dialogs and the problem mentioned
|
|
||||||
above.
|
|
||||||
|
|
||||||
Almost all other dialogs should be able to operate using the same style
|
|
||||||
of signalling used for Copyright. Exceptions should be handled
|
|
||||||
by adding a specific show or update signal. For example, spellchecker
|
|
||||||
needs to set the next suspect word and its options/replacements so we
|
|
||||||
need a:
|
|
||||||
Signal0<void> updateSpellChecker;
|
|
||||||
|
|
||||||
Since we would have to have a
|
|
||||||
Signal0<void> showSpellChecker;
|
|
||||||
|
|
||||||
in order to just see the spellchecker and let the user push the [Start]
|
|
||||||
button then the updateSpellChecker signal will make the SpellChecker
|
|
||||||
dialog get the new word and replacements list from LyX. If you really,
|
|
||||||
really wanted to you could define a signal that would pass the new
|
|
||||||
word and replacements:
|
|
||||||
Signal2<void, string, vector<string> > updateSpellChecker;
|
|
||||||
|
|
||||||
(or something similar) but, why bother when the spellchecker can get
|
|
||||||
it anyway with a LyXFunc call or two. Besides if someone extends
|
|
||||||
what a dialog does then they also have to change code in the rest of
|
|
||||||
LyX to pass more parameters or get the extra info via a function
|
|
||||||
call anyway. Thus reducing the independence of the two code bases.
|
|
||||||
|
|
||||||
We don't need a separate update signal for each dialog because most of
|
|
||||||
them will be changed only when the buffer is changed (either by closing
|
|
||||||
the current open buffer or switching to another buffer in the current
|
|
||||||
LyXView -- different BufferView same LyXView or same BufferView same
|
|
||||||
LyXView).
|
|
||||||
|
|
||||||
So we minimise signals but maximise independence and programming
|
|
||||||
simplicity, understandability and maintainability. It's also
|
|
||||||
extremely easy to add support for Qt or gtk-- because they use
|
|
||||||
signals already. Guis that use callbacks, like xforms, must have their
|
|
||||||
code wrapped up like that in the form_copyright.[Ch] which is awkward
|
|
||||||
but will at least allow multiple instances of the same dialog.
|
|
||||||
|
|
||||||
Signals will also be a great help in controlling the splashscreen --
|
|
||||||
once signalled to hide it can disconnect from the signal and remove
|
|
||||||
itself from memory.
|
|
||||||
|
|
||||||
LyXFuncs will be used for requesting/setting LyX internal info. This
|
|
||||||
will ensure that scripts or LyXServer-connected applications can all
|
|
||||||
have access to the same calls as the internal user-interface.
|
|
||||||
|
|
||||||
******************************************************************************/
|
|
||||||
|
@ -1,21 +1,14 @@
|
|||||||
/*
|
/**
|
||||||
* FormCitation.C
|
* \file FormCitation.C
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#include "Dialogs.h"
|
#include "Dialogs.h"
|
||||||
#include "FormCitation.h"
|
#include "FormCitation.h"
|
||||||
@ -24,27 +17,26 @@
|
|||||||
#include "LyXView.h"
|
#include "LyXView.h"
|
||||||
#include "lyxfunc.h"
|
#include "lyxfunc.h"
|
||||||
#include "citationdlg.h"
|
#include "citationdlg.h"
|
||||||
|
|
||||||
using std::vector;
|
using std::vector;
|
||||||
using std::pair;
|
using std::pair;
|
||||||
using std::find;
|
using std::find;
|
||||||
|
|
||||||
FormCitation::FormCitation(LyXView *v, Dialogs *d)
|
FormCitation::FormCitation(LyXView *v, Dialogs *d)
|
||||||
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
|
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
|
||||||
keys(0), chosenkeys(0)
|
keys(0), chosenkeys(0)
|
||||||
{
|
{
|
||||||
// let the dialog be shown
|
|
||||||
// This is a permanent connection so we won't bother
|
|
||||||
// storing a copy because we won't be disconnecting.
|
|
||||||
d->showCitation.connect(slot(this, &FormCitation::showCitation));
|
d->showCitation.connect(slot(this, &FormCitation::showCitation));
|
||||||
d->createCitation.connect(slot(this, &FormCitation::createCitation));
|
d->createCitation.connect(slot(this, &FormCitation::createCitation));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FormCitation::~FormCitation()
|
FormCitation::~FormCitation()
|
||||||
{
|
{
|
||||||
delete dialog_;
|
delete dialog_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormCitation::showCitation(InsetCommand * const inset)
|
void FormCitation::showCitation(InsetCommand * const inset)
|
||||||
{
|
{
|
||||||
// FIXME: when could inset be 0 here ?
|
// FIXME: when could inset be 0 here ?
|
||||||
@ -59,6 +51,7 @@ void FormCitation::showCitation(InsetCommand * const inset)
|
|||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormCitation::createCitation(string const & arg)
|
void FormCitation::createCitation(string const & arg)
|
||||||
{
|
{
|
||||||
// we could already be showing stuff, clear it out
|
// we could already be showing stuff, clear it out
|
||||||
@ -70,8 +63,9 @@ void FormCitation::createCitation(string const & arg)
|
|||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormCitation::updateButtons()
|
void FormCitation::updateButtons()
|
||||||
{
|
{
|
||||||
if (readonly) {
|
if (readonly) {
|
||||||
dialog_->add->setEnabled(false);
|
dialog_->add->setEnabled(false);
|
||||||
dialog_->remove->setEnabled(false);
|
dialog_->remove->setEnabled(false);
|
||||||
@ -81,8 +75,8 @@ void FormCitation::updateButtons()
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool ischosenkey = !selectedChosenKey.empty();
|
bool ischosenkey = !selectedChosenKey.empty();
|
||||||
|
|
||||||
vector<string>::const_iterator iter =
|
vector<string>::const_iterator iter =
|
||||||
find(chosenkeys.begin(), chosenkeys.end(), selectedKey);
|
find(chosenkeys.begin(), chosenkeys.end(), selectedKey);
|
||||||
|
|
||||||
dialog_->add->setEnabled(!selectedKey.empty() && iter == chosenkeys.end());
|
dialog_->add->setEnabled(!selectedKey.empty() && iter == chosenkeys.end());
|
||||||
@ -90,7 +84,8 @@ void FormCitation::updateButtons()
|
|||||||
dialog_->up->setEnabled(ischosenkey);
|
dialog_->up->setEnabled(ischosenkey);
|
||||||
dialog_->down->setEnabled(ischosenkey);
|
dialog_->down->setEnabled(ischosenkey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormCitation::updateChosenList()
|
void FormCitation::updateChosenList()
|
||||||
{
|
{
|
||||||
dialog_->chosen->setAutoUpdate(false);
|
dialog_->chosen->setAutoUpdate(false);
|
||||||
@ -104,6 +99,7 @@ void FormCitation::updateChosenList()
|
|||||||
dialog_->chosen->update();
|
dialog_->chosen->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormCitation::updateAvailableList()
|
void FormCitation::updateAvailableList()
|
||||||
{
|
{
|
||||||
dialog_->keys->setAutoUpdate(false);
|
dialog_->keys->setAutoUpdate(false);
|
||||||
@ -116,25 +112,25 @@ void FormCitation::updateAvailableList()
|
|||||||
dialog_->keys->setAutoUpdate(true);
|
dialog_->keys->setAutoUpdate(true);
|
||||||
dialog_->keys->update();
|
dialog_->keys->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// we can safely ignore the parameter because we can always update
|
// we can safely ignore the parameter because we can always update
|
||||||
void FormCitation::update(bool)
|
void FormCitation::update(bool)
|
||||||
{
|
{
|
||||||
keys.clear();
|
keys.clear();
|
||||||
|
|
||||||
vector < pair<string,string> > ckeys = lv_->buffer()->getBibkeyList();
|
vector < pair<string,string> > const ckeys = lv_->buffer()->getBibkeyList();
|
||||||
|
|
||||||
for (vector< pair<string,string> >::const_iterator iter = ckeys.begin();
|
for (vector< pair<string,string> >::const_iterator iter = ckeys.begin();
|
||||||
iter != ckeys.end(); ++iter) {
|
iter != ckeys.end(); ++iter) {
|
||||||
keys.push_back(*iter);
|
keys.push_back(*iter);
|
||||||
}
|
}
|
||||||
|
|
||||||
updateAvailableList();
|
updateAvailableList();
|
||||||
selectedKey.erase();
|
selectedKey.erase();
|
||||||
|
|
||||||
chosenkeys.clear();
|
chosenkeys.clear();
|
||||||
|
|
||||||
string tmp, paramkeys(params.getContents());
|
string tmp, paramkeys(params.getContents());
|
||||||
paramkeys = frontStrip(split(paramkeys, tmp, ','));
|
paramkeys = frontStrip(split(paramkeys, tmp, ','));
|
||||||
|
|
||||||
@ -145,13 +141,13 @@ void FormCitation::update(bool)
|
|||||||
|
|
||||||
updateChosenList();
|
updateChosenList();
|
||||||
selectedChosenKey.erase();
|
selectedChosenKey.erase();
|
||||||
|
|
||||||
dialog_->entry->setText("");
|
dialog_->entry->setText("");
|
||||||
|
|
||||||
dialog_->after->setText(params.getOptions().c_str());
|
dialog_->after->setText(params.getOptions().c_str());
|
||||||
|
|
||||||
updateButtons();
|
updateButtons();
|
||||||
|
|
||||||
if (readonly) {
|
if (readonly) {
|
||||||
dialog_->keys->setFocusPolicy(QWidget::NoFocus);
|
dialog_->keys->setFocusPolicy(QWidget::NoFocus);
|
||||||
dialog_->chosen->setFocusPolicy(QWidget::NoFocus);
|
dialog_->chosen->setFocusPolicy(QWidget::NoFocus);
|
||||||
@ -183,7 +179,7 @@ void FormCitation::apply()
|
|||||||
|
|
||||||
params.setContents(contents);
|
params.setContents(contents);
|
||||||
params.setOptions(dialog_->after->text());
|
params.setOptions(dialog_->after->text());
|
||||||
|
|
||||||
if (inset_ != 0) {
|
if (inset_ != 0) {
|
||||||
if (params != inset_->params()) {
|
if (params != inset_->params()) {
|
||||||
inset_->setParams(params);
|
inset_->setParams(params);
|
||||||
@ -234,20 +230,20 @@ void FormCitation::selectChosen()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FormCitation::add()
|
void FormCitation::add()
|
||||||
{
|
{
|
||||||
if (selectedKey.empty())
|
if (selectedKey.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (vector< pair<string,string> >::const_iterator iter = keys.begin();
|
for (vector< pair<string,string> >::const_iterator iter = keys.begin();
|
||||||
iter != keys.end(); ++iter) {
|
iter != keys.end(); ++iter) {
|
||||||
if (iter->first == selectedKey) {
|
if (iter->first == selectedKey) {
|
||||||
chosenkeys.push_back(iter->first);
|
chosenkeys.push_back(iter->first);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
selectedChosenKey.erase();
|
selectedChosenKey.erase();
|
||||||
updateChosenList();
|
updateChosenList();
|
||||||
updateButtons();
|
updateButtons();
|
||||||
@ -256,7 +252,7 @@ void FormCitation::add()
|
|||||||
void FormCitation::remove()
|
void FormCitation::remove()
|
||||||
{
|
{
|
||||||
if (selectedChosenKey.empty())
|
if (selectedChosenKey.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (vector< string >::iterator iter = chosenkeys.begin();
|
for (vector< string >::iterator iter = chosenkeys.begin();
|
||||||
iter != chosenkeys.end(); ++iter) {
|
iter != chosenkeys.end(); ++iter) {
|
||||||
@ -275,9 +271,9 @@ void FormCitation::up()
|
|||||||
if (selectedChosenKey.empty())
|
if (selectedChosenKey.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Qt will select the first one on redo, so we need this
|
// Qt will select the first one on redo, so we need this
|
||||||
string tmp = selectedChosenKey;
|
string tmp = selectedChosenKey;
|
||||||
|
|
||||||
vector< string >::iterator iter = chosenkeys.begin();
|
vector< string >::iterator iter = chosenkeys.begin();
|
||||||
|
|
||||||
for (; iter != chosenkeys.end(); ++iter) {
|
for (; iter != chosenkeys.end(); ++iter) {
|
||||||
@ -290,47 +286,49 @@ void FormCitation::up()
|
|||||||
}
|
}
|
||||||
if (iter==chosenkeys.end())
|
if (iter==chosenkeys.end())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
updateChosenList();
|
updateChosenList();
|
||||||
selectedChosenKey=tmp;
|
selectedChosenKey=tmp;
|
||||||
selectChosen();
|
selectChosen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormCitation::down()
|
void FormCitation::down()
|
||||||
{
|
{
|
||||||
if (selectedChosenKey.empty())
|
if (selectedChosenKey.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Qt will select the first one on redo, so we need this
|
// Qt will select the first one on redo, so we need this
|
||||||
string tmp = selectedChosenKey;
|
string tmp = selectedChosenKey;
|
||||||
|
|
||||||
vector< string >::iterator iter = chosenkeys.begin();
|
vector< string >::iterator iter = chosenkeys.begin();
|
||||||
|
|
||||||
for (; iter != chosenkeys.end(); ++iter) {
|
for (; iter != chosenkeys.end(); ++iter) {
|
||||||
if (*iter==selectedChosenKey && (iter+1)!=chosenkeys.end()) {
|
if (*iter == selectedChosenKey && (iter+1)!=chosenkeys.end()) {
|
||||||
string tmp = *iter;
|
string tmp = *iter;
|
||||||
chosenkeys.erase(iter);
|
chosenkeys.erase(iter);
|
||||||
chosenkeys.insert(iter+1, tmp);
|
chosenkeys.insert(iter+1, tmp);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (iter==chosenkeys.end())
|
if (iter == chosenkeys.end())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
updateChosenList();
|
updateChosenList();
|
||||||
selectedChosenKey=tmp;
|
selectedChosenKey=tmp;
|
||||||
selectChosen();
|
selectChosen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormCitation::select_key(const char *key)
|
void FormCitation::select_key(char const * key)
|
||||||
{
|
{
|
||||||
if (readonly)
|
if (readonly)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
vector<string>::const_iterator iter =
|
vector<string>::const_iterator iter =
|
||||||
find(chosenkeys.begin(), chosenkeys.end(), key);
|
find(chosenkeys.begin(), chosenkeys.end(), key);
|
||||||
|
|
||||||
if (iter!=chosenkeys.end())
|
if (iter != chosenkeys.end())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
selectedKey.erase();
|
selectedKey.erase();
|
||||||
@ -338,8 +336,9 @@ void FormCitation::select_key(const char *key)
|
|||||||
|
|
||||||
add();
|
add();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormCitation::highlight_key(const char *key)
|
void FormCitation::highlight_key(char const * key)
|
||||||
{
|
{
|
||||||
if (readonly)
|
if (readonly)
|
||||||
return;
|
return;
|
||||||
@ -348,7 +347,7 @@ void FormCitation::highlight_key(const char *key)
|
|||||||
selectedKey = key;
|
selectedKey = key;
|
||||||
|
|
||||||
for (unsigned int i=0; i < keys.size(); i++) {
|
for (unsigned int i=0; i < keys.size(); i++) {
|
||||||
if (keys[i].first==key) {
|
if (keys[i].first == key) {
|
||||||
dialog_->entry->setText(keys[i].second.c_str());
|
dialog_->entry->setText(keys[i].second.c_str());
|
||||||
dialog_->chosen->clearFocus();
|
dialog_->chosen->clearFocus();
|
||||||
dialog_->chosen->clearSelection();
|
dialog_->chosen->clearSelection();
|
||||||
@ -360,15 +359,16 @@ void FormCitation::highlight_key(const char *key)
|
|||||||
updateButtons();
|
updateButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FormCitation::highlight_chosen(const char *key)
|
|
||||||
|
void FormCitation::highlight_chosen(char const * key)
|
||||||
{
|
{
|
||||||
selectedChosenKey.erase();
|
selectedChosenKey.erase();
|
||||||
selectedChosenKey = key;
|
selectedChosenKey = key;
|
||||||
|
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
for (i=0; i < keys.size(); i++) {
|
for (i=0; i < keys.size(); i++) {
|
||||||
if (keys[i].first==key) {
|
if (keys[i].first == key) {
|
||||||
if (keys[i].second.compare(dialog_->entry->text()))
|
if (keys[i].second.compare(dialog_->entry->text()))
|
||||||
dialog_->entry->setText(keys[i].second.c_str());
|
dialog_->entry->setText(keys[i].second.c_str());
|
||||||
dialog_->keys->clearFocus();
|
dialog_->keys->clearFocus();
|
||||||
@ -378,8 +378,8 @@ void FormCitation::highlight_chosen(const char *key)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i==keys.size())
|
if (i == keys.size())
|
||||||
dialog_->entry->setText(_("Key not found in references."));
|
dialog_->entry->setText(_("Key not found in references."));
|
||||||
|
|
||||||
updateButtons();
|
updateButtons();
|
||||||
}
|
}
|
||||||
|
@ -1,40 +1,30 @@
|
|||||||
/* FormCitation.h
|
/**
|
||||||
* (C) 2000 LyX Team
|
* \file FormCitation.h
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FORMCITATION_H
|
#ifndef FORMCITATION_H
|
||||||
#define FORMCITATION_H
|
#define FORMCITATION_H
|
||||||
|
|
||||||
#include "DialogBase.h"
|
#include "DialogBase.h"
|
||||||
#include "support/lstrings.h"
|
#include "support/lstrings.h"
|
||||||
#include "boost/utility.hpp"
|
#include "boost/utility.hpp"
|
||||||
#include "insets/insetcommand.h"
|
#include "insets/insetcommand.h"
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
class Dialogs;
|
class Dialogs;
|
||||||
class LyXView;
|
class LyXView;
|
||||||
class CitationDialog;
|
class CitationDialog;
|
||||||
|
|
||||||
class FormCitation : public DialogBase, public noncopyable {
|
class FormCitation : public DialogBase, public noncopyable {
|
||||||
public:
|
public:
|
||||||
/**@name Constructors and Destructors */
|
|
||||||
//@{
|
|
||||||
///
|
|
||||||
FormCitation(LyXView *, Dialogs *);
|
FormCitation(LyXView *, Dialogs *);
|
||||||
///
|
|
||||||
~FormCitation();
|
~FormCitation();
|
||||||
//@}
|
|
||||||
|
|
||||||
/// Apply changes
|
/// Apply changes
|
||||||
void apply();
|
void apply();
|
||||||
@ -47,15 +37,15 @@ public:
|
|||||||
/// move a key up
|
/// move a key up
|
||||||
void up();
|
void up();
|
||||||
/// move a key down
|
/// move a key down
|
||||||
void down();
|
void down();
|
||||||
/// a key has been highlighted
|
/// a key has been highlighted
|
||||||
void highlight_key(const char *key);
|
void highlight_key(char const * key);
|
||||||
/// a chosen key has been highlighted
|
/// a chosen key has been highlighted
|
||||||
void highlight_chosen(const char *key);
|
void highlight_chosen(char const * key);
|
||||||
/// a key has been double-clicked
|
/// a key has been double-clicked
|
||||||
void select_key(const char *key);
|
void select_key(char const * key);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// Create the dialog if necessary, update it and display it.
|
/// Create the dialog if necessary, update it and display it.
|
||||||
void show();
|
void show();
|
||||||
/// Hide the dialog.
|
/// Hide the dialog.
|
||||||
@ -67,22 +57,22 @@ private:
|
|||||||
void createCitation(string const &);
|
void createCitation(string const &);
|
||||||
/// edit a Citation inset
|
/// edit a Citation inset
|
||||||
void showCitation(InsetCommand * const);
|
void showCitation(InsetCommand * const);
|
||||||
|
|
||||||
/// update add,remove,up,down
|
/// update add,remove,up,down
|
||||||
void updateButtons();
|
void updateButtons();
|
||||||
/// update the available keys list
|
/// update the available keys list
|
||||||
void updateAvailableList();
|
void updateAvailableList();
|
||||||
/// update the chosen keys list
|
/// update the chosen keys list
|
||||||
void updateChosenList();
|
void updateChosenList();
|
||||||
/// select the currently chosen key
|
/// select the currently chosen key
|
||||||
void selectChosen();
|
void selectChosen();
|
||||||
|
|
||||||
/// Real GUI implementation.
|
/// Real GUI implementation.
|
||||||
CitationDialog * dialog_;
|
CitationDialog * dialog_;
|
||||||
|
|
||||||
/// the LyXView we belong to
|
/// the LyXView we belong to
|
||||||
LyXView * lv_;
|
LyXView * lv_;
|
||||||
|
|
||||||
/** Which Dialogs do we belong to?
|
/** Which Dialogs do we belong to?
|
||||||
Used so we can get at the signals we have to connect to.
|
Used so we can get at the signals we have to connect to.
|
||||||
*/
|
*/
|
||||||
@ -105,7 +95,7 @@ private:
|
|||||||
std::vector<std::pair<string, string> > keys;
|
std::vector<std::pair<string, string> > keys;
|
||||||
/// chosen citation keys
|
/// chosen citation keys
|
||||||
std::vector<string> chosenkeys;
|
std::vector<string> chosenkeys;
|
||||||
|
|
||||||
/// currently selected key
|
/// currently selected key
|
||||||
string selectedKey;
|
string selectedKey;
|
||||||
|
|
||||||
@ -113,4 +103,4 @@ private:
|
|||||||
string selectedChosenKey;
|
string selectedChosenKey;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // FORMCITATION_H
|
||||||
|
@ -1,20 +1,10 @@
|
|||||||
/***************************************************************************
|
/**
|
||||||
formcopyright.cpp - description
|
* \file FormCopyright.C
|
||||||
-------------------
|
* Copyright 2001 the LyX Team
|
||||||
begin : Thu Feb 3 2000
|
* Read the file COPYING
|
||||||
copyright : (C) 2000 by Jürgen Vigna
|
*
|
||||||
email : jug@sad.it
|
* \author Jürgen Vigna
|
||||||
***************************************************************************/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include "Dialogs.h"
|
#include "Dialogs.h"
|
||||||
@ -25,17 +15,16 @@
|
|||||||
FormCopyright::FormCopyright(LyXView *v, Dialogs *d)
|
FormCopyright::FormCopyright(LyXView *v, Dialogs *d)
|
||||||
: dialog_(0), lv_(v), d_(d), h_(0)
|
: dialog_(0), lv_(v), d_(d), h_(0)
|
||||||
{
|
{
|
||||||
// let the dialog be shown
|
|
||||||
// This is a permanent connection so we won't bother
|
|
||||||
// storing a copy because we won't be disconnecting.
|
|
||||||
d->showCopyright.connect(slot(this, &FormCopyright::show));
|
d->showCopyright.connect(slot(this, &FormCopyright::show));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FormCopyright::~FormCopyright()
|
FormCopyright::~FormCopyright()
|
||||||
{
|
{
|
||||||
delete dialog_;
|
delete dialog_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormCopyright::show()
|
void FormCopyright::show()
|
||||||
{
|
{
|
||||||
if (!dialog_)
|
if (!dialog_)
|
||||||
@ -43,9 +32,11 @@ void FormCopyright::show()
|
|||||||
|
|
||||||
if (!dialog_->isVisible())
|
if (!dialog_->isVisible())
|
||||||
h_ = d_->hideAll.connect(slot(this, &FormCopyright::hide));
|
h_ = d_->hideAll.connect(slot(this, &FormCopyright::hide));
|
||||||
|
|
||||||
dialog_->show();
|
dialog_->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormCopyright::hide()
|
void FormCopyright::hide()
|
||||||
{
|
{
|
||||||
dialog_->hide();
|
dialog_->hide();
|
||||||
|
@ -1,20 +1,10 @@
|
|||||||
/***************************************************************************
|
/**
|
||||||
formcopyright.h - description
|
* \file FormCopyright.h
|
||||||
-------------------
|
* Copyright 2001 the LyX Team
|
||||||
begin : Thu Feb 3 2000
|
* Read the file COPYING
|
||||||
copyright : (C) 2000 by Jürgen Vigna
|
*
|
||||||
email : jug@sad.it
|
* \author Jürgen Vigna
|
||||||
***************************************************************************/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FORMCOPYRIGHT_H
|
#ifndef FORMCOPYRIGHT_H
|
||||||
#define FORMCOPYRIGHT_H
|
#define FORMCOPYRIGHT_H
|
||||||
|
|
||||||
@ -25,35 +15,28 @@ class Dialogs;
|
|||||||
class LyXView;
|
class LyXView;
|
||||||
class CopyrightDialog;
|
class CopyrightDialog;
|
||||||
|
|
||||||
/**
|
|
||||||
@author Jürgen Vigna
|
|
||||||
*/
|
|
||||||
class FormCopyright : public DialogBase, public noncopyable {
|
class FormCopyright : public DialogBase, public noncopyable {
|
||||||
public:
|
public:
|
||||||
FormCopyright(LyXView *, Dialogs *);
|
FormCopyright(LyXView *, Dialogs *);
|
||||||
|
|
||||||
~FormCopyright();
|
~FormCopyright();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// Create the dialog if necessary, update it and display it.
|
/// Create the dialog if necessary, update it and display it
|
||||||
void show();
|
void show();
|
||||||
/// Hide the dialog.
|
/// Hide the dialog
|
||||||
void hide();
|
void hide();
|
||||||
/// Not used but we've got to implement it.
|
/// Not used but we've got to implement it
|
||||||
void update(bool) {}
|
void update(bool) {}
|
||||||
|
|
||||||
/// Real GUI implementation.
|
/// Real GUI implementation
|
||||||
CopyrightDialog * dialog_;
|
CopyrightDialog * dialog_;
|
||||||
/** Which LyXFunc do we use?
|
/// Which LyXFunc do we use ?
|
||||||
We could modify Dialogs to have a visible LyXFunc* instead and
|
|
||||||
save a couple of bytes per dialog.
|
|
||||||
*/
|
|
||||||
LyXView * lv_;
|
LyXView * lv_;
|
||||||
/** Which Dialogs do we belong to?
|
/// dialogs object
|
||||||
Used so we can get at the signals we have to connect to.
|
|
||||||
*/
|
|
||||||
Dialogs * d_;
|
Dialogs * d_;
|
||||||
/// Hide connection.
|
/// Hide connection.
|
||||||
Connection h_;
|
Connection h_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // FORMCOPYRIGHT_H
|
||||||
|
@ -1,18 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* FormDocument.C
|
* \file FormDocument.C
|
||||||
* (C) 2001 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include "docdlg.h"
|
#include "docdlg.h"
|
||||||
@ -34,24 +27,18 @@ using Liason::setMinibuffer;
|
|||||||
FormDocument::FormDocument(LyXView *v, Dialogs *d)
|
FormDocument::FormDocument(LyXView *v, Dialogs *d)
|
||||||
: dialog_(0), lv_(v), d_(d), h_(0)
|
: dialog_(0), lv_(v), d_(d), h_(0)
|
||||||
{
|
{
|
||||||
// let the dialog be shown
|
|
||||||
// This is a permanent connection so we won't bother
|
|
||||||
// storing a copy because we won't be disconnecting.
|
|
||||||
d->showLayoutDocument.connect(slot(this, &FormDocument::show));
|
d->showLayoutDocument.connect(slot(this, &FormDocument::show));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FormDocument::~FormDocument()
|
FormDocument::~FormDocument()
|
||||||
{
|
{
|
||||||
delete dialog_;
|
delete dialog_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FormDocument::update(bool switched)
|
|
||||||
|
void FormDocument::update(bool)
|
||||||
{
|
{
|
||||||
if (switched) {
|
|
||||||
hide();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!lv_->view()->available())
|
if (!lv_->view()->available())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -65,6 +52,7 @@ void FormDocument::update(bool switched)
|
|||||||
dialog_->setFromParams(buf->params);
|
dialog_->setFromParams(buf->params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormDocument::apply()
|
void FormDocument::apply()
|
||||||
{
|
{
|
||||||
if (readonly)
|
if (readonly)
|
||||||
@ -81,6 +69,7 @@ void FormDocument::apply()
|
|||||||
lv_->buffer()->markDirty();
|
lv_->buffer()->markDirty();
|
||||||
setMinibuffer(lv_, _("Document layout set"));
|
setMinibuffer(lv_, _("Document layout set"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormDocument::show()
|
void FormDocument::show()
|
||||||
{
|
{
|
||||||
@ -98,6 +87,7 @@ void FormDocument::show()
|
|||||||
dialog_->show();
|
dialog_->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool FormDocument::changeClass(BufferParams & params, int new_class)
|
bool FormDocument::changeClass(BufferParams & params, int new_class)
|
||||||
{
|
{
|
||||||
if (textclasslist.Load(new_class)) {
|
if (textclasslist.Load(new_class)) {
|
||||||
@ -118,12 +108,14 @@ bool FormDocument::changeClass(BufferParams & params, int new_class)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormDocument::close()
|
void FormDocument::close()
|
||||||
{
|
{
|
||||||
h_.disconnect();
|
h_.disconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormDocument::hide()
|
void FormDocument::hide()
|
||||||
{
|
{
|
||||||
dialog_->hide();
|
dialog_->hide();
|
||||||
|
@ -1,17 +1,10 @@
|
|||||||
/* FormDocument.h
|
/**
|
||||||
* (C) 2001 LyX Team
|
* \file FormDocument.h
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FORMDOCUMENT_H
|
#ifndef FORMDOCUMENT_H
|
||||||
#define FORMDOCUMENT_H
|
#define FORMDOCUMENT_H
|
||||||
|
|
||||||
@ -31,13 +24,9 @@ class BufferParams;
|
|||||||
*/
|
*/
|
||||||
class FormDocument : public DialogBase, public noncopyable {
|
class FormDocument : public DialogBase, public noncopyable {
|
||||||
public:
|
public:
|
||||||
/**@name Constructors and Destructors */
|
|
||||||
//@{
|
|
||||||
///
|
|
||||||
FormDocument(LyXView *, Dialogs *);
|
FormDocument(LyXView *, Dialogs *);
|
||||||
///
|
|
||||||
~FormDocument();
|
~FormDocument();
|
||||||
//@}
|
|
||||||
|
|
||||||
/// Apply changes
|
/// Apply changes
|
||||||
void apply();
|
void apply();
|
||||||
@ -70,4 +59,4 @@ private:
|
|||||||
bool readonly;
|
bool readonly;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // FORMDOCUMENT_H
|
||||||
|
@ -1,17 +1,10 @@
|
|||||||
/*
|
/**
|
||||||
* FormIndex.C
|
* \file FormIndex.C
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -26,18 +19,17 @@
|
|||||||
FormIndex::FormIndex(LyXView *v, Dialogs *d)
|
FormIndex::FormIndex(LyXView *v, Dialogs *d)
|
||||||
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0)
|
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0)
|
||||||
{
|
{
|
||||||
// let the dialog be shown
|
|
||||||
// This is a permanent connection so we won't bother
|
|
||||||
// storing a copy because we won't be disconnecting.
|
|
||||||
d->showIndex.connect(slot(this, &FormIndex::showIndex));
|
d->showIndex.connect(slot(this, &FormIndex::showIndex));
|
||||||
d->createIndex.connect(slot(this, &FormIndex::createIndex));
|
d->createIndex.connect(slot(this, &FormIndex::createIndex));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FormIndex::~FormIndex()
|
FormIndex::~FormIndex()
|
||||||
{
|
{
|
||||||
delete dialog_;
|
delete dialog_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormIndex::showIndex(InsetCommand * const inset)
|
void FormIndex::showIndex(InsetCommand * const inset)
|
||||||
{
|
{
|
||||||
// FIXME: when could inset be 0 here ?
|
// FIXME: when could inset be 0 here ?
|
||||||
@ -51,6 +43,7 @@ void FormIndex::showIndex(InsetCommand * const inset)
|
|||||||
|
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormIndex::createIndex(string const & arg)
|
void FormIndex::createIndex(string const & arg)
|
||||||
{
|
{
|
||||||
@ -62,6 +55,7 @@ void FormIndex::createIndex(string const & arg)
|
|||||||
params.setFromString(arg);
|
params.setFromString(arg);
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormIndex::update(bool switched)
|
void FormIndex::update(bool switched)
|
||||||
{
|
{
|
||||||
@ -73,6 +67,7 @@ void FormIndex::update(bool switched)
|
|||||||
dialog_->setIndexText(params.getContents().c_str());
|
dialog_->setIndexText(params.getContents().c_str());
|
||||||
dialog_->setReadOnly(readonly);
|
dialog_->setReadOnly(readonly);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormIndex::apply()
|
void FormIndex::apply()
|
||||||
{
|
{
|
||||||
@ -89,6 +84,7 @@ void FormIndex::apply()
|
|||||||
} else
|
} else
|
||||||
lv_->getLyXFunc()->Dispatch(LFUN_INDEX_INSERT, params.getAsString().c_str());
|
lv_->getLyXFunc()->Dispatch(LFUN_INDEX_INSERT, params.getAsString().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormIndex::show()
|
void FormIndex::show()
|
||||||
{
|
{
|
||||||
@ -107,6 +103,7 @@ void FormIndex::show()
|
|||||||
dialog_->show();
|
dialog_->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormIndex::close()
|
void FormIndex::close()
|
||||||
{
|
{
|
||||||
h_.disconnect();
|
h_.disconnect();
|
||||||
@ -114,6 +111,7 @@ void FormIndex::close()
|
|||||||
ih_.disconnect();
|
ih_.disconnect();
|
||||||
inset_ = 0;
|
inset_ = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormIndex::hide()
|
void FormIndex::hide()
|
||||||
{
|
{
|
||||||
|
@ -1,17 +1,11 @@
|
|||||||
/* FormIndex.h
|
/**
|
||||||
* (C) 2000 LyX Team
|
* \file FormIndex.h
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FORMINDEX_H
|
#ifndef FORMINDEX_H
|
||||||
#define FORMINDEX_H
|
#define FORMINDEX_H
|
||||||
|
|
||||||
@ -26,13 +20,9 @@ class IndexDialog;
|
|||||||
|
|
||||||
class FormIndex : public DialogBase, public noncopyable {
|
class FormIndex : public DialogBase, public noncopyable {
|
||||||
public:
|
public:
|
||||||
/**@name Constructors and Destructors */
|
|
||||||
//@{
|
|
||||||
///
|
|
||||||
FormIndex(LyXView *, Dialogs *);
|
FormIndex(LyXView *, Dialogs *);
|
||||||
///
|
|
||||||
~FormIndex();
|
~FormIndex();
|
||||||
//@}
|
|
||||||
|
|
||||||
/// Apply changes
|
/// Apply changes
|
||||||
void apply();
|
void apply();
|
||||||
@ -58,9 +48,7 @@ private:
|
|||||||
/// the LyXView we belong to
|
/// the LyXView we belong to
|
||||||
LyXView * lv_;
|
LyXView * lv_;
|
||||||
|
|
||||||
/** Which Dialogs do we belong to?
|
/// the Dialogs object we belong to
|
||||||
Used so we can get at the signals we have to connect to.
|
|
||||||
*/
|
|
||||||
Dialogs * d_;
|
Dialogs * d_;
|
||||||
/// pointer to the inset if any
|
/// pointer to the inset if any
|
||||||
InsetCommand * inset_;
|
InsetCommand * inset_;
|
||||||
@ -77,4 +65,4 @@ private:
|
|||||||
Connection ih_;
|
Connection ih_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // FORMINDEX_H
|
||||||
|
104
src/frontends/kde/FormLog.C
Normal file
104
src/frontends/kde/FormLog.C
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
/**
|
||||||
|
* \file FormLog.C
|
||||||
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
|
#include "Dialogs.h"
|
||||||
|
#include "FormLog.h"
|
||||||
|
#include "gettext.h"
|
||||||
|
#include "buffer.h"
|
||||||
|
#include "support/lstrings.h"
|
||||||
|
#include "LyXView.h"
|
||||||
|
#include "lyxfunc.h"
|
||||||
|
#include "logdlg.h"
|
||||||
|
#include "lyxrc.h"
|
||||||
|
|
||||||
|
using std::ifstream;
|
||||||
|
using std::getline;
|
||||||
|
|
||||||
|
FormLog::FormLog(LyXView *v, Dialogs *d)
|
||||||
|
: dialog_(0), lv_(v), d_(d), h_(0), u_(0)
|
||||||
|
{
|
||||||
|
d->showLogFile.connect(slot(this, &FormLog::show));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
FormLog::~FormLog()
|
||||||
|
{
|
||||||
|
delete dialog_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void FormLog::update()
|
||||||
|
{
|
||||||
|
supdate();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void FormLog::supdate(bool)
|
||||||
|
{
|
||||||
|
std::pair<Buffer::LogType, string> const logfile
|
||||||
|
= lv_->view()->buffer()->getLogName();
|
||||||
|
|
||||||
|
if (logfile.first == Buffer::buildlog)
|
||||||
|
dialog_->setCaption(_("Build log"));
|
||||||
|
else
|
||||||
|
dialog_->setCaption(_("LaTeX log"));
|
||||||
|
|
||||||
|
dialog_->setLogText("");
|
||||||
|
|
||||||
|
ifstream ifstr(logfile.second.c_str());
|
||||||
|
if (!ifstr) {
|
||||||
|
if (logfile.first == Buffer::buildlog)
|
||||||
|
dialog_->setLogText(_("No build log file found"));
|
||||||
|
else
|
||||||
|
dialog_->setLogText(_("No LaTeX log file found"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
string text;
|
||||||
|
string line;
|
||||||
|
|
||||||
|
while (getline(ifstr, line))
|
||||||
|
text += line + "\n";
|
||||||
|
|
||||||
|
dialog_->setLogText(text);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void FormLog::show()
|
||||||
|
{
|
||||||
|
if (!dialog_)
|
||||||
|
dialog_ = new LogDialog(this, 0, _("LyX: LaTeX Log"));
|
||||||
|
|
||||||
|
if (!dialog_->isVisible()) {
|
||||||
|
h_ = d_->hideBufferDependent.connect(slot(this, &FormLog::hide));
|
||||||
|
u_ = d_->updateBufferDependent.connect(slot(this, &FormLog::supdate));
|
||||||
|
}
|
||||||
|
|
||||||
|
dialog_->raise();
|
||||||
|
dialog_->setActiveWindow();
|
||||||
|
|
||||||
|
update();
|
||||||
|
dialog_->show();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void FormLog::close()
|
||||||
|
{
|
||||||
|
h_.disconnect();
|
||||||
|
u_.disconnect();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void FormLog::hide()
|
||||||
|
{
|
||||||
|
dialog_->hide();
|
||||||
|
close();
|
||||||
|
}
|
55
src/frontends/kde/FormLog.h
Normal file
55
src/frontends/kde/FormLog.h
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
/**
|
||||||
|
* \file FormLog.h
|
||||||
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef FORMLOG_H
|
||||||
|
#define FORMLOG_H
|
||||||
|
|
||||||
|
#include "DialogBase.h"
|
||||||
|
#include "LString.h"
|
||||||
|
#include "boost/utility.hpp"
|
||||||
|
|
||||||
|
class Dialogs;
|
||||||
|
class LyXView;
|
||||||
|
class LogDialog;
|
||||||
|
|
||||||
|
class FormLog : public DialogBase, public noncopyable {
|
||||||
|
public:
|
||||||
|
FormLog(LyXView *, Dialogs *);
|
||||||
|
|
||||||
|
~FormLog();
|
||||||
|
|
||||||
|
/// close the connections
|
||||||
|
virtual void close();
|
||||||
|
/// Update the dialog
|
||||||
|
virtual void update();
|
||||||
|
/// Update the dialog from slot
|
||||||
|
virtual void supdate(bool = false);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/// Create the dialog if necessary, update it and display it
|
||||||
|
virtual void show();
|
||||||
|
/// Hide the dialog
|
||||||
|
virtual void hide();
|
||||||
|
|
||||||
|
/// Real GUI implementation.
|
||||||
|
LogDialog * dialog_;
|
||||||
|
|
||||||
|
/// the LyXView we belong to
|
||||||
|
LyXView * lv_;
|
||||||
|
|
||||||
|
/// the Dialogs object we belong to
|
||||||
|
Dialogs * d_;
|
||||||
|
|
||||||
|
/// Hide connection.
|
||||||
|
Connection h_;
|
||||||
|
/// Update connection.
|
||||||
|
Connection u_;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // FORMLOG_H
|
@ -1,18 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* FormParagraph.C
|
* \file FormParagraph.C
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include "paradlg.h"
|
#include "paradlg.h"
|
||||||
@ -35,17 +28,16 @@ using std::endl;
|
|||||||
FormParagraph::FormParagraph(LyXView *v, Dialogs *d)
|
FormParagraph::FormParagraph(LyXView *v, Dialogs *d)
|
||||||
: dialog_(0), lv_(v), d_(d), h_(0)
|
: dialog_(0), lv_(v), d_(d), h_(0)
|
||||||
{
|
{
|
||||||
// let the dialog be shown
|
|
||||||
// This is a permanent connection so we won't bother
|
|
||||||
// storing a copy because we won't be disconnecting.
|
|
||||||
d->showLayoutParagraph.connect(slot(this, &FormParagraph::show));
|
d->showLayoutParagraph.connect(slot(this, &FormParagraph::show));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FormParagraph::~FormParagraph()
|
FormParagraph::~FormParagraph()
|
||||||
{
|
{
|
||||||
delete dialog_;
|
delete dialog_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormParagraph::update(bool switched)
|
void FormParagraph::update(bool switched)
|
||||||
{
|
{
|
||||||
if (switched) {
|
if (switched) {
|
||||||
@ -58,12 +50,12 @@ void FormParagraph::update(bool switched)
|
|||||||
|
|
||||||
Buffer *buf = lv_->view()->buffer();
|
Buffer *buf = lv_->view()->buffer();
|
||||||
|
|
||||||
if (readonly!=buf->isReadonly()) {
|
if (readonly != buf->isReadonly()) {
|
||||||
readonly = buf->isReadonly();
|
readonly = buf->isReadonly();
|
||||||
dialog_->setReadOnly(readonly);
|
dialog_->setReadOnly(readonly);
|
||||||
}
|
}
|
||||||
|
|
||||||
LyXText *text = 0;
|
LyXText * text = 0;
|
||||||
|
|
||||||
if (lv_->view()->theLockingInset())
|
if (lv_->view()->theLockingInset())
|
||||||
text = lv_->view()->theLockingInset()->getLyXText(lv_->view());
|
text = lv_->view()->theLockingInset()->getLyXText(lv_->view());
|
||||||
@ -71,7 +63,7 @@ void FormParagraph::update(bool switched)
|
|||||||
if (!text)
|
if (!text)
|
||||||
text = lv_->view()->text;
|
text = lv_->view()->text;
|
||||||
|
|
||||||
LyXParagraph *par = text->cursor.par();
|
LyXParagraph const * par = text->cursor.par();
|
||||||
|
|
||||||
int align = par->GetAlign();
|
int align = par->GetAlign();
|
||||||
|
|
||||||
@ -79,22 +71,26 @@ void FormParagraph::update(bool switched)
|
|||||||
align = textclasslist.Style(buf->params.textclass, par->GetLayout()).align;
|
align = textclasslist.Style(buf->params.textclass, par->GetLayout()).align;
|
||||||
|
|
||||||
#ifndef NEW_INSETS
|
#ifndef NEW_INSETS
|
||||||
LyXParagraph *physpar = par->FirstPhysicalPar();
|
LyXParagraph const * physpar = par->FirstPhysicalPar();
|
||||||
#else
|
#else
|
||||||
LyXParagraph *physpar = par;
|
LyXParagraph const * physpar = par;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (physpar->added_space_top.kind()==VSpace::LENGTH) {
|
if (physpar->added_space_top.kind() == VSpace::LENGTH) {
|
||||||
LyXGlueLength above = physpar->added_space_top.length();
|
LyXGlueLength above = physpar->added_space_top.length();
|
||||||
lyxerr[Debug::GUI] << "Reading above space : \"" << physpar->added_space_top.length().asString() << "\"" << endl;
|
lyxerr[Debug::GUI] << "Reading above space : \""
|
||||||
|
<< physpar->added_space_top.length().asString() << "\"" << endl;
|
||||||
|
|
||||||
dialog_->setAboveLength(above.value(), above.plusValue(), above.minusValue(),
|
dialog_->setAboveLength(above.value(), above.plusValue(), above.minusValue(),
|
||||||
above.unit(), above.plusUnit(), above.minusUnit());
|
above.unit(), above.plusUnit(), above.minusUnit());
|
||||||
} else
|
} else
|
||||||
dialog_->setAboveLength(0.0, 0.0, 0.0, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE);
|
dialog_->setAboveLength(0.0, 0.0, 0.0, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE);
|
||||||
|
|
||||||
if (physpar->added_space_bottom.kind()==VSpace::LENGTH) {
|
if (physpar->added_space_bottom.kind() == VSpace::LENGTH) {
|
||||||
LyXGlueLength below = physpar->added_space_bottom.length();
|
LyXGlueLength below = physpar->added_space_bottom.length();
|
||||||
lyxerr[Debug::GUI] << "Reading below space : \"" << physpar->added_space_bottom.length().asString() << "\"" << endl;
|
lyxerr[Debug::GUI] << "Reading below space : \""
|
||||||
|
<< physpar->added_space_bottom.length().asString() << "\"" << endl;
|
||||||
|
|
||||||
dialog_->setBelowLength(below.value(), below.plusValue(), below.minusValue(),
|
dialog_->setBelowLength(below.value(), below.plusValue(), below.minusValue(),
|
||||||
below.unit(), below.plusUnit(), below.minusUnit());
|
below.unit(), below.plusUnit(), below.minusUnit());
|
||||||
} else
|
} else
|
||||||
@ -102,8 +98,10 @@ void FormParagraph::update(bool switched)
|
|||||||
|
|
||||||
dialog_->setLabelWidth(text->cursor.par()->GetLabelWidthString().c_str());
|
dialog_->setLabelWidth(text->cursor.par()->GetLabelWidthString().c_str());
|
||||||
dialog_->setAlign(align);
|
dialog_->setAlign(align);
|
||||||
|
|
||||||
dialog_->setChecks(physpar->line_top, physpar->line_bottom,
|
dialog_->setChecks(physpar->line_top, physpar->line_bottom,
|
||||||
physpar->pagebreak_top, physpar->pagebreak_bottom, physpar->noindent);
|
physpar->pagebreak_top, physpar->pagebreak_bottom, physpar->noindent);
|
||||||
|
|
||||||
dialog_->setSpace(physpar->added_space_top.kind(), physpar->added_space_bottom.kind(),
|
dialog_->setSpace(physpar->added_space_top.kind(), physpar->added_space_bottom.kind(),
|
||||||
physpar->added_space_top.keep(), physpar->added_space_bottom.keep());
|
physpar->added_space_top.keep(), physpar->added_space_bottom.keep());
|
||||||
|
|
||||||
@ -128,6 +126,7 @@ void FormParagraph::update(bool switched)
|
|||||||
static_cast<LyXParagraph::PEXTRA_TYPE>(par->pextra_type));
|
static_cast<LyXParagraph::PEXTRA_TYPE>(par->pextra_type));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormParagraph::apply()
|
void FormParagraph::apply()
|
||||||
{
|
{
|
||||||
if (readonly)
|
if (readonly)
|
||||||
@ -136,12 +135,12 @@ void FormParagraph::apply()
|
|||||||
VSpace spaceabove;
|
VSpace spaceabove;
|
||||||
VSpace spacebelow;
|
VSpace spacebelow;
|
||||||
|
|
||||||
if (dialog_->getSpaceAboveKind()==VSpace::LENGTH)
|
if (dialog_->getSpaceAboveKind() == VSpace::LENGTH)
|
||||||
spaceabove = VSpace(dialog_->getAboveLength());
|
spaceabove = VSpace(dialog_->getAboveLength());
|
||||||
else
|
else
|
||||||
spaceabove = VSpace(dialog_->getSpaceAboveKind());
|
spaceabove = VSpace(dialog_->getSpaceAboveKind());
|
||||||
|
|
||||||
if (dialog_->getSpaceBelowKind()==VSpace::LENGTH)
|
if (dialog_->getSpaceBelowKind() == VSpace::LENGTH)
|
||||||
spacebelow = VSpace(dialog_->getBelowLength());
|
spacebelow = VSpace(dialog_->getBelowLength());
|
||||||
else
|
else
|
||||||
spacebelow = VSpace(dialog_->getSpaceBelowKind());
|
spacebelow = VSpace(dialog_->getSpaceBelowKind());
|
||||||
@ -149,8 +148,10 @@ void FormParagraph::apply()
|
|||||||
spaceabove.setKeep(dialog_->getAboveKeep());
|
spaceabove.setKeep(dialog_->getAboveKeep());
|
||||||
spacebelow.setKeep(dialog_->getBelowKeep());
|
spacebelow.setKeep(dialog_->getBelowKeep());
|
||||||
|
|
||||||
lyxerr[Debug::GUI] << "Setting above space \"" << LyXGlueLength(spaceabove.length().asString()).asString() << "\"" << endl;
|
lyxerr[Debug::GUI] << "Setting above space \""
|
||||||
lyxerr[Debug::GUI] << "Setting below space \"" << LyXGlueLength(spacebelow.length().asString()).asString() << "\"" << endl;
|
<< LyXGlueLength(spaceabove.length().asString()).asString() << "\"" << endl;
|
||||||
|
lyxerr[Debug::GUI] << "Setting below space \""
|
||||||
|
<< LyXGlueLength(spacebelow.length().asString()).asString() << "\"" << endl;
|
||||||
|
|
||||||
lv_->view()->text->SetParagraph(lv_->view(),
|
lv_->view()->text->SetParagraph(lv_->view(),
|
||||||
dialog_->getLineAbove(), dialog_->getLineBelow(),
|
dialog_->getLineAbove(), dialog_->getLineBelow(),
|
||||||
@ -164,7 +165,7 @@ void FormParagraph::apply()
|
|||||||
string widthp("");
|
string widthp("");
|
||||||
|
|
||||||
LyXLength extrawidth(dialog_->getExtraWidth());
|
LyXLength extrawidth(dialog_->getExtraWidth());
|
||||||
if (extrawidth.unit()==LyXLength::UNIT_NONE) {
|
if (extrawidth.unit() == LyXLength::UNIT_NONE) {
|
||||||
widthp = dialog_->getExtraWidthPercent();
|
widthp = dialog_->getExtraWidthPercent();
|
||||||
} else
|
} else
|
||||||
width = extrawidth.asString();
|
width = extrawidth.asString();
|
||||||
@ -183,6 +184,7 @@ void FormParagraph::apply()
|
|||||||
setMinibuffer(lv_, _("Paragraph layout set"));
|
setMinibuffer(lv_, _("Paragraph layout set"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormParagraph::show()
|
void FormParagraph::show()
|
||||||
{
|
{
|
||||||
if (!dialog_)
|
if (!dialog_)
|
||||||
@ -191,7 +193,6 @@ void FormParagraph::show()
|
|||||||
if (!dialog_->isVisible())
|
if (!dialog_->isVisible())
|
||||||
h_ = d_->hideBufferDependent.connect(slot(this, &FormParagraph::hide));
|
h_ = d_->hideBufferDependent.connect(slot(this, &FormParagraph::hide));
|
||||||
|
|
||||||
|
|
||||||
dialog_->raise();
|
dialog_->raise();
|
||||||
dialog_->setActiveWindow();
|
dialog_->setActiveWindow();
|
||||||
update();
|
update();
|
||||||
@ -199,11 +200,13 @@ void FormParagraph::show()
|
|||||||
dialog_->show();
|
dialog_->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormParagraph::close()
|
void FormParagraph::close()
|
||||||
{
|
{
|
||||||
h_.disconnect();
|
h_.disconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormParagraph::hide()
|
void FormParagraph::hide()
|
||||||
{
|
{
|
||||||
dialog_->hide();
|
dialog_->hide();
|
||||||
|
@ -1,17 +1,11 @@
|
|||||||
/* FormParagraph.h
|
/**
|
||||||
* (C) 2000 LyX Team
|
* \file FormParagraph.h
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FORMPARAGRAPH_H
|
#ifndef FORMPARAGRAPH_H
|
||||||
#define FORMPARAGRAPH_H
|
#define FORMPARAGRAPH_H
|
||||||
|
|
||||||
@ -25,13 +19,9 @@ class ParaDialog;
|
|||||||
|
|
||||||
class FormParagraph : public DialogBase, public noncopyable {
|
class FormParagraph : public DialogBase, public noncopyable {
|
||||||
public:
|
public:
|
||||||
/**@name Constructors and Destructors */
|
|
||||||
//@{
|
|
||||||
///
|
|
||||||
FormParagraph(LyXView *, Dialogs *);
|
FormParagraph(LyXView *, Dialogs *);
|
||||||
///
|
|
||||||
~FormParagraph();
|
~FormParagraph();
|
||||||
//@}
|
|
||||||
|
|
||||||
/// Apply changes
|
/// Apply changes
|
||||||
void apply();
|
void apply();
|
||||||
@ -62,4 +52,4 @@ private:
|
|||||||
bool readonly;
|
bool readonly;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // FORMPARAGRAPH_H
|
||||||
|
@ -1,17 +1,10 @@
|
|||||||
/*
|
/**
|
||||||
* FormPrint.C
|
* \file FormPrint.C
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -42,17 +35,16 @@ using std::max;
|
|||||||
FormPrint::FormPrint(LyXView *v, Dialogs *d)
|
FormPrint::FormPrint(LyXView *v, Dialogs *d)
|
||||||
: dialog_(0), lv_(v), d_(d), h_(0), u_(0)
|
: dialog_(0), lv_(v), d_(d), h_(0), u_(0)
|
||||||
{
|
{
|
||||||
// let the dialog be shown
|
|
||||||
// This is a permanent connection so we won't bother
|
|
||||||
// storing a copy because we won't be disconnecting.
|
|
||||||
d->showPrint.connect(slot(this, &FormPrint::show));
|
d->showPrint.connect(slot(this, &FormPrint::show));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FormPrint::~FormPrint()
|
FormPrint::~FormPrint()
|
||||||
{
|
{
|
||||||
delete dialog_;
|
delete dialog_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// we can safely ignore the parameter because we can always update
|
// we can safely ignore the parameter because we can always update
|
||||||
void FormPrint::update(bool)
|
void FormPrint::update(bool)
|
||||||
{
|
{
|
||||||
@ -80,6 +72,7 @@ void FormPrint::update(bool)
|
|||||||
dialog_->setTo("");
|
dialog_->setTo("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPrint::print()
|
void FormPrint::print()
|
||||||
{
|
{
|
||||||
@ -112,6 +105,7 @@ void FormPrint::print()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPrint::show()
|
void FormPrint::show()
|
||||||
{
|
{
|
||||||
if (!dialog_)
|
if (!dialog_)
|
||||||
@ -129,11 +123,13 @@ void FormPrint::show()
|
|||||||
dialog_->show();
|
dialog_->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPrint::close()
|
void FormPrint::close()
|
||||||
{
|
{
|
||||||
h_.disconnect();
|
h_.disconnect();
|
||||||
u_.disconnect();
|
u_.disconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPrint::hide()
|
void FormPrint::hide()
|
||||||
{
|
{
|
||||||
|
@ -1,17 +1,11 @@
|
|||||||
/* FormPrint.h
|
/**
|
||||||
* (C) 2000 LyX Team
|
* \file FormPrint.h
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FORMPRINT_H
|
#ifndef FORMPRINT_H
|
||||||
#define FORMPRINT_H
|
#define FORMPRINT_H
|
||||||
|
|
||||||
@ -28,13 +22,9 @@ using SigC::Connection;
|
|||||||
|
|
||||||
class FormPrint : public DialogBase, public noncopyable {
|
class FormPrint : public DialogBase, public noncopyable {
|
||||||
public:
|
public:
|
||||||
/**@name Constructors and Destructors */
|
|
||||||
//@{
|
|
||||||
///
|
|
||||||
FormPrint(LyXView *, Dialogs *);
|
FormPrint(LyXView *, Dialogs *);
|
||||||
///
|
|
||||||
~FormPrint();
|
~FormPrint();
|
||||||
//@}
|
|
||||||
|
|
||||||
/// start print
|
/// start print
|
||||||
void print();
|
void print();
|
||||||
@ -66,4 +56,4 @@ private:
|
|||||||
Connection u_;
|
Connection u_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // FORMPRINT_H
|
||||||
|
@ -1,18 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* FormRef.C
|
* \file FormRef.C
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include "Dialogs.h"
|
#include "Dialogs.h"
|
||||||
@ -33,18 +26,17 @@ FormRef::FormRef(LyXView *v, Dialogs *d)
|
|||||||
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
|
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
|
||||||
sort(0), gotowhere(GOTOREF), refs(0)
|
sort(0), gotowhere(GOTOREF), refs(0)
|
||||||
{
|
{
|
||||||
// let the dialog be shown
|
|
||||||
// This is a permanent connection so we won't bother
|
|
||||||
// storing a copy because we won't be disconnecting.
|
|
||||||
d->showRef.connect(slot(this, &FormRef::showRef));
|
d->showRef.connect(slot(this, &FormRef::showRef));
|
||||||
d->createRef.connect(slot(this, &FormRef::createRef));
|
d->createRef.connect(slot(this, &FormRef::createRef));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FormRef::~FormRef()
|
FormRef::~FormRef()
|
||||||
{
|
{
|
||||||
delete dialog_;
|
delete dialog_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::showRef(InsetCommand * const inset)
|
void FormRef::showRef(InsetCommand * const inset)
|
||||||
{
|
{
|
||||||
// FIXME: when could inset be 0 here ?
|
// FIXME: when could inset be 0 here ?
|
||||||
@ -59,6 +51,7 @@ void FormRef::showRef(InsetCommand * const inset)
|
|||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::createRef(string const & arg)
|
void FormRef::createRef(string const & arg)
|
||||||
{
|
{
|
||||||
if (inset_)
|
if (inset_)
|
||||||
@ -69,13 +62,15 @@ void FormRef::createRef(string const & arg)
|
|||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FormRef::select(const char *text)
|
|
||||||
|
void FormRef::select(char const * text)
|
||||||
{
|
{
|
||||||
highlight(text);
|
highlight(text);
|
||||||
goto_ref();
|
goto_ref();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FormRef::highlight(const char *text)
|
|
||||||
|
void FormRef::highlight(char const * text)
|
||||||
{
|
{
|
||||||
if (gotowhere==GOTOBACK)
|
if (gotowhere==GOTOBACK)
|
||||||
goto_ref();
|
goto_ref();
|
||||||
@ -88,15 +83,17 @@ void FormRef::highlight(const char *text)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::set_sort(bool on)
|
void FormRef::set_sort(bool on)
|
||||||
{
|
{
|
||||||
if (on!=sort) {
|
if (on != sort) {
|
||||||
sort=on;
|
sort=on;
|
||||||
dialog_->refs->clear();
|
dialog_->refs->clear();
|
||||||
updateRefs();
|
updateRefs();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::goto_ref()
|
void FormRef::goto_ref()
|
||||||
{
|
{
|
||||||
switch (gotowhere) {
|
switch (gotowhere) {
|
||||||
@ -117,10 +114,11 @@ void FormRef::goto_ref()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::updateRefs()
|
void FormRef::updateRefs()
|
||||||
{
|
{
|
||||||
// list will be re-done, should go back if necessary
|
// list will be re-done, should go back if necessary
|
||||||
if (gotowhere==GOTOBACK) {
|
if (gotowhere == GOTOBACK) {
|
||||||
lv_->getLyXFunc()->Dispatch(LFUN_BOOKMARK_GOTO, "0");
|
lv_->getLyXFunc()->Dispatch(LFUN_BOOKMARK_GOTO, "0");
|
||||||
gotowhere = GOTOREF;
|
gotowhere = GOTOREF;
|
||||||
dialog_->buttonGoto->setText(_("&Goto reference"));
|
dialog_->buttonGoto->setText(_("&Goto reference"));
|
||||||
@ -144,7 +142,7 @@ void FormRef::updateRefs()
|
|||||||
|
|
||||||
dialog_->reference->setText(tmp.c_str());
|
dialog_->reference->setText(tmp.c_str());
|
||||||
|
|
||||||
for (unsigned int i = 0; i < dialog_->refs->count(); ++i) {
|
for (unsigned int i=0; i < dialog_->refs->count(); ++i) {
|
||||||
if (!strcmp(dialog_->reference->text(),dialog_->refs->text(i)))
|
if (!strcmp(dialog_->reference->text(),dialog_->refs->text(i)))
|
||||||
dialog_->refs->setCurrentItem(i);
|
dialog_->refs->setCurrentItem(i);
|
||||||
}
|
}
|
||||||
@ -153,6 +151,7 @@ void FormRef::updateRefs()
|
|||||||
dialog_->refs->update();
|
dialog_->refs->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::do_ref_update()
|
void FormRef::do_ref_update()
|
||||||
{
|
{
|
||||||
refs.clear();
|
refs.clear();
|
||||||
@ -163,6 +162,7 @@ void FormRef::do_ref_update()
|
|||||||
updateRefs();
|
updateRefs();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::update(bool switched)
|
void FormRef::update(bool switched)
|
||||||
{
|
{
|
||||||
if (switched) {
|
if (switched) {
|
||||||
@ -201,6 +201,7 @@ void FormRef::update(bool switched)
|
|||||||
dialog_->buttonCancel->setText(_("&Cancel"));
|
dialog_->buttonCancel->setText(_("&Cancel"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::apply()
|
void FormRef::apply()
|
||||||
{
|
{
|
||||||
if (readonly)
|
if (readonly)
|
||||||
@ -222,6 +223,7 @@ void FormRef::apply()
|
|||||||
lv_->getLyXFunc()->Dispatch(LFUN_REF_INSERT, params.getAsString().c_str());
|
lv_->getLyXFunc()->Dispatch(LFUN_REF_INSERT, params.getAsString().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::show()
|
void FormRef::show()
|
||||||
{
|
{
|
||||||
if (!dialog_)
|
if (!dialog_)
|
||||||
@ -239,6 +241,7 @@ void FormRef::show()
|
|||||||
dialog_->show();
|
dialog_->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::close()
|
void FormRef::close()
|
||||||
{
|
{
|
||||||
h_.disconnect();
|
h_.disconnect();
|
||||||
@ -247,6 +250,7 @@ void FormRef::close()
|
|||||||
inset_ = 0;
|
inset_ = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormRef::hide()
|
void FormRef::hide()
|
||||||
{
|
{
|
||||||
dialog_->hide();
|
dialog_->hide();
|
||||||
|
@ -1,17 +1,11 @@
|
|||||||
/* FormRef.h
|
/**
|
||||||
* (C) 2000 LyX Team
|
* \file FormRef.h
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FORMREF_H
|
#ifndef FORMREF_H
|
||||||
#define FORMREF_H
|
#define FORMREF_H
|
||||||
|
|
||||||
@ -26,18 +20,14 @@ class RefDialog;
|
|||||||
|
|
||||||
class FormRef : public DialogBase, public noncopyable {
|
class FormRef : public DialogBase, public noncopyable {
|
||||||
public:
|
public:
|
||||||
/**@name Constructors and Destructors */
|
|
||||||
//@{
|
|
||||||
///
|
|
||||||
FormRef(LyXView *, Dialogs *);
|
FormRef(LyXView *, Dialogs *);
|
||||||
///
|
|
||||||
~FormRef();
|
~FormRef();
|
||||||
//@}
|
|
||||||
|
|
||||||
/// double-click a ref
|
/// double-click a ref
|
||||||
void select(const char *);
|
void select(char const *);
|
||||||
/// highlight a ref
|
/// highlight a ref
|
||||||
void highlight(const char *);
|
void highlight(char const *);
|
||||||
/// set sort
|
/// set sort
|
||||||
void set_sort(bool);
|
void set_sort(bool);
|
||||||
/// goto a ref (or back)
|
/// goto a ref (or back)
|
||||||
@ -75,10 +65,9 @@ private:
|
|||||||
/// the LyXView we belong to
|
/// the LyXView we belong to
|
||||||
LyXView * lv_;
|
LyXView * lv_;
|
||||||
|
|
||||||
/** Which Dialogs do we belong to?
|
/// dialogs object
|
||||||
Used so we can get at the signals we have to connect to.
|
|
||||||
*/
|
|
||||||
Dialogs * d_;
|
Dialogs * d_;
|
||||||
|
|
||||||
/// pointer to the inset if any
|
/// pointer to the inset if any
|
||||||
InsetCommand * inset_;
|
InsetCommand * inset_;
|
||||||
/// insets params
|
/// insets params
|
||||||
@ -103,4 +92,4 @@ private:
|
|||||||
std::vector< string > refs;
|
std::vector< string > refs;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // FORMREF_H
|
||||||
|
@ -1,18 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* FormTabularCreate.C
|
* \file FormTabularCreate.C
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include "tabcreatedlg.h"
|
#include "tabcreatedlg.h"
|
||||||
@ -27,17 +20,16 @@
|
|||||||
FormTabularCreate::FormTabularCreate(LyXView *v, Dialogs *d)
|
FormTabularCreate::FormTabularCreate(LyXView *v, Dialogs *d)
|
||||||
: dialog_(0), lv_(v), d_(d), h_(0)
|
: dialog_(0), lv_(v), d_(d), h_(0)
|
||||||
{
|
{
|
||||||
// let the dialog be shown
|
|
||||||
// This is a permanent connection so we won't bother
|
|
||||||
// storing a copy because we won't be disconnecting.
|
|
||||||
d->showTabularCreate.connect(slot(this, &FormTabularCreate::show));
|
d->showTabularCreate.connect(slot(this, &FormTabularCreate::show));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FormTabularCreate::~FormTabularCreate()
|
FormTabularCreate::~FormTabularCreate()
|
||||||
{
|
{
|
||||||
delete dialog_;
|
delete dialog_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormTabularCreate::apply(unsigned int rows, unsigned cols)
|
void FormTabularCreate::apply(unsigned int rows, unsigned cols)
|
||||||
{
|
{
|
||||||
if (!lv_->view()->available())
|
if (!lv_->view()->available())
|
||||||
@ -47,6 +39,7 @@ void FormTabularCreate::apply(unsigned int rows, unsigned cols)
|
|||||||
lv_->getLyXFunc()->Dispatch(LFUN_INSET_TABULAR, tmp);
|
lv_->getLyXFunc()->Dispatch(LFUN_INSET_TABULAR, tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormTabularCreate::show()
|
void FormTabularCreate::show()
|
||||||
{
|
{
|
||||||
if (!dialog_)
|
if (!dialog_)
|
||||||
@ -63,11 +56,13 @@ void FormTabularCreate::show()
|
|||||||
dialog_->show();
|
dialog_->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormTabularCreate::close()
|
void FormTabularCreate::close()
|
||||||
{
|
{
|
||||||
h_.disconnect();
|
h_.disconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormTabularCreate::hide()
|
void FormTabularCreate::hide()
|
||||||
{
|
{
|
||||||
dialog_->hide();
|
dialog_->hide();
|
||||||
|
@ -1,17 +1,11 @@
|
|||||||
/* FormTabularCreate.h
|
/**
|
||||||
* (C) 2000 LyX Team
|
* \file FormTabularCreate.h
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FORMTABULARCREATE_H
|
#ifndef FORMTABULARCREATE_H
|
||||||
#define FORMTABULARCREATE_H
|
#define FORMTABULARCREATE_H
|
||||||
|
|
||||||
@ -23,13 +17,9 @@ class TabularCreateDialog;
|
|||||||
|
|
||||||
class FormTabularCreate : public DialogBase, public noncopyable {
|
class FormTabularCreate : public DialogBase, public noncopyable {
|
||||||
public:
|
public:
|
||||||
/**@name Constructors and Destructors */
|
|
||||||
//@{
|
|
||||||
///
|
|
||||||
FormTabularCreate(LyXView *, Dialogs *);
|
FormTabularCreate(LyXView *, Dialogs *);
|
||||||
///
|
|
||||||
~FormTabularCreate();
|
~FormTabularCreate();
|
||||||
//@}
|
|
||||||
|
|
||||||
/// create the table
|
/// create the table
|
||||||
void apply(unsigned int rows, unsigned int cols);
|
void apply(unsigned int rows, unsigned int cols);
|
||||||
@ -48,13 +38,11 @@ private:
|
|||||||
/// the LyXView we belong to
|
/// the LyXView we belong to
|
||||||
LyXView * lv_;
|
LyXView * lv_;
|
||||||
|
|
||||||
/** Which Dialogs do we belong to?
|
/// Dialogs object
|
||||||
Used so we can get at the signals we have to connect to.
|
|
||||||
*/
|
|
||||||
Dialogs * d_;
|
Dialogs * d_;
|
||||||
|
|
||||||
/// Hide connection.
|
/// Hide connection.
|
||||||
Connection h_;
|
Connection h_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // FORMTABULARCREATE_H
|
||||||
|
@ -1,18 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* FormToc.C
|
* \file FormToc.C
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <stack>
|
#include <stack>
|
||||||
@ -33,7 +26,7 @@ using std::pair;
|
|||||||
using std::stack;
|
using std::stack;
|
||||||
using std::endl;
|
using std::endl;
|
||||||
|
|
||||||
// FIXME: we should be able to move sections around like klyx can.
|
// FIXME: we should be able to move sections around like klyx1 can
|
||||||
|
|
||||||
FormToc::FormToc(LyXView *v, Dialogs *d)
|
FormToc::FormToc(LyXView *v, Dialogs *d)
|
||||||
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
|
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
|
||||||
@ -46,15 +39,17 @@ FormToc::FormToc(LyXView *v, Dialogs *d)
|
|||||||
d->createTOC.connect(slot(this, &FormToc::createTOC));
|
d->createTOC.connect(slot(this, &FormToc::createTOC));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FormToc::~FormToc()
|
FormToc::~FormToc()
|
||||||
{
|
{
|
||||||
delete dialog_;
|
delete dialog_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormToc::showTOC(InsetCommand * const inset)
|
void FormToc::showTOC(InsetCommand * const inset)
|
||||||
{
|
{
|
||||||
// FIXME: when could inset be 0 here ?
|
// FIXME: when could inset be 0 here ?
|
||||||
if (inset==0)
|
if (inset == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
inset_ = inset;
|
inset_ = inset;
|
||||||
@ -64,6 +59,7 @@ void FormToc::showTOC(InsetCommand * const inset)
|
|||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormToc::createTOC(string const & arg)
|
void FormToc::createTOC(string const & arg)
|
||||||
{
|
{
|
||||||
if (inset_)
|
if (inset_)
|
||||||
@ -73,6 +69,7 @@ void FormToc::createTOC(string const & arg)
|
|||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormToc::updateToc(int newdepth)
|
void FormToc::updateToc(int newdepth)
|
||||||
{
|
{
|
||||||
if (!lv_->view()->available()) {
|
if (!lv_->view()->available()) {
|
||||||
@ -85,7 +82,7 @@ void FormToc::updateToc(int newdepth)
|
|||||||
lv_->view()->buffer()->getTocList();
|
lv_->view()->buffer()->getTocList();
|
||||||
|
|
||||||
// Check if all elements are the same.
|
// Check if all elements are the same.
|
||||||
if (newdepth==depth && toclist.size() == tmp[type].size()) {
|
if (newdepth == depth && toclist.size() == tmp[type].size()) {
|
||||||
unsigned int i = 0;
|
unsigned int i = 0;
|
||||||
for (; i < toclist.size(); ++i) {
|
for (; i < toclist.size(); ++i) {
|
||||||
if (toclist[i] != tmp[type][i])
|
if (toclist[i] != tmp[type][i])
|
||||||
@ -107,9 +104,9 @@ void FormToc::updateToc(int newdepth)
|
|||||||
|
|
||||||
int curdepth = 0;
|
int curdepth = 0;
|
||||||
stack< pair< QListViewItem *, QListViewItem *> > istack;
|
stack< pair< QListViewItem *, QListViewItem *> > istack;
|
||||||
QListViewItem *last = 0;
|
QListViewItem * last = 0;
|
||||||
QListViewItem *parent = 0;
|
QListViewItem * parent = 0;
|
||||||
QListViewItem *item;
|
QListViewItem * item;
|
||||||
|
|
||||||
// Yes, it is this ugly. Two reasons - root items must have a QListView parent,
|
// Yes, it is this ugly. Two reasons - root items must have a QListView parent,
|
||||||
// rather than QListViewItem; and the TOC can move in and out an arbitrary number
|
// rather than QListViewItem; and the TOC can move in and out an arbitrary number
|
||||||
@ -159,6 +156,7 @@ void FormToc::updateToc(int newdepth)
|
|||||||
dialog_->tree->update();
|
dialog_->tree->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormToc::setType(Buffer::TocType toctype)
|
void FormToc::setType(Buffer::TocType toctype)
|
||||||
{
|
{
|
||||||
type = toctype;
|
type = toctype;
|
||||||
@ -186,22 +184,24 @@ void FormToc::setType(Buffer::TocType toctype)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormToc::set_depth(int newdepth)
|
void FormToc::set_depth(int newdepth)
|
||||||
{
|
{
|
||||||
if (newdepth!=depth)
|
if (newdepth != depth)
|
||||||
updateToc(newdepth);
|
updateToc(newdepth);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// we can safely ignore the parameter because we can always update
|
// we can safely ignore the parameter because we can always update
|
||||||
void FormToc::update(bool)
|
void FormToc::update(bool)
|
||||||
{
|
{
|
||||||
if (params.getCmdName()=="tableofcontents") {
|
if (params.getCmdName() == "tableofcontents") {
|
||||||
setType(Buffer::TOC_TOC);
|
setType(Buffer::TOC_TOC);
|
||||||
dialog_->menu->setCurrentItem(0);
|
dialog_->menu->setCurrentItem(0);
|
||||||
} else if (params.getCmdName()=="listoffigures") {
|
} else if (params.getCmdName() == "listoffigures") {
|
||||||
setType(Buffer::TOC_LOF);
|
setType(Buffer::TOC_LOF);
|
||||||
dialog_->menu->setCurrentItem(1);
|
dialog_->menu->setCurrentItem(1);
|
||||||
} else if (params.getCmdName()=="listoftables") {
|
} else if (params.getCmdName() == "listoftables") {
|
||||||
setType(Buffer::TOC_LOT);
|
setType(Buffer::TOC_LOT);
|
||||||
dialog_->menu->setCurrentItem(2);
|
dialog_->menu->setCurrentItem(2);
|
||||||
} else {
|
} else {
|
||||||
@ -212,18 +212,19 @@ void FormToc::update(bool)
|
|||||||
updateToc(depth);
|
updateToc(depth);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FormToc::select(const char *text)
|
|
||||||
|
void FormToc::select(char const * text)
|
||||||
{
|
{
|
||||||
if (!lv_->view()->available())
|
if (!lv_->view()->available())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
vector <Buffer::TocItem>::const_iterator iter = toclist.begin();
|
vector <Buffer::TocItem>::const_iterator iter = toclist.begin();
|
||||||
for (; iter != toclist.end(); ++iter) {
|
for (; iter != toclist.end(); ++iter) {
|
||||||
if (iter->str==text)
|
if (iter->str == text)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (iter==toclist.end()) {
|
if (iter == toclist.end()) {
|
||||||
lyxerr[Debug::GUI] << "Couldn't find highlighted TOC entry : " << text << endl;
|
lyxerr[Debug::GUI] << "Couldn't find highlighted TOC entry : " << text << endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -231,15 +232,17 @@ void FormToc::select(const char *text)
|
|||||||
lv_->getLyXFunc()->Dispatch(LFUN_GOTO_PARAGRAPH, tostr(iter->par->id()).c_str());
|
lv_->getLyXFunc()->Dispatch(LFUN_GOTO_PARAGRAPH, tostr(iter->par->id()).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormToc::set_type(Buffer::TocType toctype)
|
void FormToc::set_type(Buffer::TocType toctype)
|
||||||
{
|
{
|
||||||
if (toctype==type)
|
if (toctype == type)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
setType(toctype);
|
setType(toctype);
|
||||||
updateToc(depth);
|
updateToc(depth);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormToc::show()
|
void FormToc::show()
|
||||||
{
|
{
|
||||||
if (!dialog_)
|
if (!dialog_)
|
||||||
@ -257,6 +260,7 @@ void FormToc::show()
|
|||||||
dialog_->show();
|
dialog_->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormToc::close()
|
void FormToc::close()
|
||||||
{
|
{
|
||||||
h_.disconnect();
|
h_.disconnect();
|
||||||
@ -265,6 +269,7 @@ void FormToc::close()
|
|||||||
inset_ = 0;
|
inset_ = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormToc::hide()
|
void FormToc::hide()
|
||||||
{
|
{
|
||||||
dialog_->hide();
|
dialog_->hide();
|
||||||
|
@ -1,17 +1,11 @@
|
|||||||
/* FormToc.h
|
/**
|
||||||
* (C) 2000 LyX Team
|
* \file FormToc.h
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FORMTOC_H
|
#ifndef FORMTOC_H
|
||||||
#define FORMTOC_H
|
#define FORMTOC_H
|
||||||
|
|
||||||
@ -26,16 +20,12 @@ class TocDialog;
|
|||||||
|
|
||||||
class FormToc : public DialogBase, public noncopyable {
|
class FormToc : public DialogBase, public noncopyable {
|
||||||
public:
|
public:
|
||||||
/**@name Constructors and Destructors */
|
|
||||||
//@{
|
|
||||||
///
|
|
||||||
FormToc(LyXView *, Dialogs *);
|
FormToc(LyXView *, Dialogs *);
|
||||||
///
|
|
||||||
~FormToc();
|
~FormToc();
|
||||||
//@}
|
|
||||||
|
|
||||||
/// Selected a tree item
|
/// Selected a tree item
|
||||||
void select(const char *);
|
void select(char const *);
|
||||||
/// Choose which type
|
/// Choose which type
|
||||||
void set_type(Buffer::TocType);
|
void set_type(Buffer::TocType);
|
||||||
/// Update the dialog.
|
/// Update the dialog.
|
||||||
@ -68,10 +58,9 @@ private:
|
|||||||
/// the LyXView we belong to
|
/// the LyXView we belong to
|
||||||
LyXView * lv_;
|
LyXView * lv_;
|
||||||
|
|
||||||
/** Which Dialogs do we belong to?
|
/// Dialogs object
|
||||||
Used so we can get at the signals we have to connect to.
|
|
||||||
*/
|
|
||||||
Dialogs * d_;
|
Dialogs * d_;
|
||||||
|
|
||||||
/// pointer to the inset if any
|
/// pointer to the inset if any
|
||||||
InsetCommand * inset_;
|
InsetCommand * inset_;
|
||||||
/// insets params
|
/// insets params
|
||||||
@ -94,4 +83,4 @@ private:
|
|||||||
int depth;
|
int depth;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // FORMTOC_H
|
||||||
|
@ -1,17 +1,10 @@
|
|||||||
/*
|
/**
|
||||||
* FormUrl.C
|
* \file FormUrl.C
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -26,22 +19,21 @@
|
|||||||
FormUrl::FormUrl(LyXView *v, Dialogs *d)
|
FormUrl::FormUrl(LyXView *v, Dialogs *d)
|
||||||
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0)
|
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0)
|
||||||
{
|
{
|
||||||
// let the dialog be shown
|
|
||||||
// This is a permanent connection so we won't bother
|
|
||||||
// storing a copy because we won't be disconnecting.
|
|
||||||
d->showUrl.connect(slot(this, &FormUrl::showUrl));
|
d->showUrl.connect(slot(this, &FormUrl::showUrl));
|
||||||
d->createUrl.connect(slot(this, &FormUrl::createUrl));
|
d->createUrl.connect(slot(this, &FormUrl::createUrl));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FormUrl::~FormUrl()
|
FormUrl::~FormUrl()
|
||||||
{
|
{
|
||||||
delete dialog_;
|
delete dialog_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormUrl::showUrl(InsetCommand * const inset)
|
void FormUrl::showUrl(InsetCommand * const inset)
|
||||||
{
|
{
|
||||||
// FIXME: when could inset be 0 here ?
|
// FIXME: when could inset be 0 here ?
|
||||||
if (inset==0)
|
if (inset == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
inset_ = inset;
|
inset_ = inset;
|
||||||
@ -51,6 +43,7 @@ void FormUrl::showUrl(InsetCommand * const inset)
|
|||||||
|
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormUrl::createUrl(string const & arg)
|
void FormUrl::createUrl(string const & arg)
|
||||||
{
|
{
|
||||||
@ -62,11 +55,11 @@ void FormUrl::createUrl(string const & arg)
|
|||||||
params.setFromString(arg);
|
params.setFromString(arg);
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormUrl::update(bool switched)
|
void FormUrl::update(bool switched)
|
||||||
{
|
{
|
||||||
if (switched) {
|
if (switched) {
|
||||||
// I suspect a buffer switch should cause hide() here. ARRae
|
|
||||||
hide();
|
hide();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -74,7 +67,7 @@ void FormUrl::update(bool switched)
|
|||||||
dialog_->url->setText(params.getContents().c_str());
|
dialog_->url->setText(params.getContents().c_str());
|
||||||
dialog_->urlname->setText(params.getOptions().c_str());
|
dialog_->urlname->setText(params.getOptions().c_str());
|
||||||
|
|
||||||
if (params.getCmdName()=="url")
|
if (params.getCmdName() == "url")
|
||||||
dialog_->htmlurl->setChecked(0);
|
dialog_->htmlurl->setChecked(0);
|
||||||
else
|
else
|
||||||
dialog_->htmlurl->setChecked(1);
|
dialog_->htmlurl->setChecked(1);
|
||||||
@ -94,6 +87,7 @@ void FormUrl::update(bool switched)
|
|||||||
dialog_->htmlurl->setEnabled(true);
|
dialog_->htmlurl->setEnabled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormUrl::apply()
|
void FormUrl::apply()
|
||||||
{
|
{
|
||||||
@ -116,6 +110,7 @@ void FormUrl::apply()
|
|||||||
} else
|
} else
|
||||||
lv_->getLyXFunc()->Dispatch(LFUN_INSERT_URL, params.getAsString().c_str());
|
lv_->getLyXFunc()->Dispatch(LFUN_INSERT_URL, params.getAsString().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormUrl::show()
|
void FormUrl::show()
|
||||||
{
|
{
|
||||||
@ -134,6 +129,7 @@ void FormUrl::show()
|
|||||||
dialog_->show();
|
dialog_->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormUrl::close()
|
void FormUrl::close()
|
||||||
{
|
{
|
||||||
h_.disconnect();
|
h_.disconnect();
|
||||||
@ -141,6 +137,7 @@ void FormUrl::close()
|
|||||||
ih_.disconnect();
|
ih_.disconnect();
|
||||||
inset_ = 0;
|
inset_ = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormUrl::hide()
|
void FormUrl::hide()
|
||||||
{
|
{
|
||||||
|
@ -1,17 +1,11 @@
|
|||||||
/* FormUrl.h
|
/**
|
||||||
* (C) 2000 LyX Team
|
* \file FormUrl.h
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FORMURL_H
|
#ifndef FORMURL_H
|
||||||
#define FORMURL_H
|
#define FORMURL_H
|
||||||
|
|
||||||
@ -26,13 +20,9 @@ class UrlDialog;
|
|||||||
|
|
||||||
class FormUrl : public DialogBase, public noncopyable {
|
class FormUrl : public DialogBase, public noncopyable {
|
||||||
public:
|
public:
|
||||||
/**@name Constructors and Destructors */
|
|
||||||
//@{
|
|
||||||
///
|
|
||||||
FormUrl(LyXView *, Dialogs *);
|
FormUrl(LyXView *, Dialogs *);
|
||||||
///
|
|
||||||
~FormUrl();
|
~FormUrl();
|
||||||
//@}
|
|
||||||
|
|
||||||
/// Apply changes
|
/// Apply changes
|
||||||
void apply();
|
void apply();
|
||||||
@ -58,10 +48,9 @@ private:
|
|||||||
/// the LyXView we belong to
|
/// the LyXView we belong to
|
||||||
LyXView * lv_;
|
LyXView * lv_;
|
||||||
|
|
||||||
/** Which Dialogs do we belong to?
|
/// Dialogs object
|
||||||
Used so we can get at the signals we have to connect to.
|
|
||||||
*/
|
|
||||||
Dialogs * d_;
|
Dialogs * d_;
|
||||||
|
|
||||||
/// pointer to the inset if any
|
/// pointer to the inset if any
|
||||||
InsetCommand * inset_;
|
InsetCommand * inset_;
|
||||||
/// insets params
|
/// insets params
|
||||||
@ -77,4 +66,4 @@ private:
|
|||||||
Connection ih_;
|
Connection ih_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // FORMURL_H
|
||||||
|
100
src/frontends/kde/FormVCLog.C
Normal file
100
src/frontends/kde/FormVCLog.C
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
/**
|
||||||
|
* \file FormVCLog.C
|
||||||
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
|
#include "Dialogs.h"
|
||||||
|
#include "FormVCLog.h"
|
||||||
|
#include "gettext.h"
|
||||||
|
#include "buffer.h"
|
||||||
|
#include "support/lstrings.h"
|
||||||
|
#include "LyXView.h"
|
||||||
|
#include "lyxfunc.h"
|
||||||
|
#include "logdlg.h"
|
||||||
|
#include "lyxvc.h"
|
||||||
|
|
||||||
|
using std::ifstream;
|
||||||
|
using std::getline;
|
||||||
|
|
||||||
|
FormVCLog::FormVCLog(LyXView *v, Dialogs *d)
|
||||||
|
: dialog_(0), lv_(v), d_(d), h_(0), u_(0)
|
||||||
|
{
|
||||||
|
d->showVCLogFile.connect(slot(this, &FormVCLog::show));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
FormVCLog::~FormVCLog()
|
||||||
|
{
|
||||||
|
delete dialog_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void FormVCLog::update()
|
||||||
|
{
|
||||||
|
supdate();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void FormVCLog::supdate(bool)
|
||||||
|
{
|
||||||
|
const string logfile = lv_->view()->buffer()->lyxvc.getLogFile();
|
||||||
|
|
||||||
|
dialog_->setCaption(string(_("Version control log for ") + lv_->view()->buffer()->fileName()).c_str());
|
||||||
|
|
||||||
|
dialog_->setLogText("");
|
||||||
|
|
||||||
|
ifstream ifstr(logfile.c_str());
|
||||||
|
if (!ifstr) {
|
||||||
|
dialog_->setLogText(_("No version control log file found"));
|
||||||
|
lyx::unlink(logfile);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
string text;
|
||||||
|
string line;
|
||||||
|
|
||||||
|
while (getline(ifstr, line))
|
||||||
|
text += line + "\n";
|
||||||
|
|
||||||
|
dialog_->setLogText(text);
|
||||||
|
|
||||||
|
lyx::unlink(logfile);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void FormVCLog::show()
|
||||||
|
{
|
||||||
|
if (!dialog_)
|
||||||
|
dialog_ = new LogDialog(this, 0, _("LyX: Version Control Log"));
|
||||||
|
|
||||||
|
if (!dialog_->isVisible()) {
|
||||||
|
h_ = d_->hideBufferDependent.connect(slot(this, &FormVCLog::hide));
|
||||||
|
u_ = d_->updateBufferDependent.connect(slot(this, &FormVCLog::supdate));
|
||||||
|
}
|
||||||
|
|
||||||
|
dialog_->raise();
|
||||||
|
dialog_->setActiveWindow();
|
||||||
|
|
||||||
|
update();
|
||||||
|
dialog_->show();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void FormVCLog::close()
|
||||||
|
{
|
||||||
|
h_.disconnect();
|
||||||
|
u_.disconnect();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void FormVCLog::hide()
|
||||||
|
{
|
||||||
|
dialog_->hide();
|
||||||
|
close();
|
||||||
|
}
|
55
src/frontends/kde/FormVCLog.h
Normal file
55
src/frontends/kde/FormVCLog.h
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
/**
|
||||||
|
* \file FormVCLog.h
|
||||||
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef FORMVCLOG_H
|
||||||
|
#define FORMVCLOG_H
|
||||||
|
|
||||||
|
#include "DialogBase.h"
|
||||||
|
#include "LString.h"
|
||||||
|
#include "boost/utility.hpp"
|
||||||
|
|
||||||
|
class Dialogs;
|
||||||
|
class LyXView;
|
||||||
|
class LogDialog;
|
||||||
|
|
||||||
|
class FormVCLog : public DialogBase, public noncopyable {
|
||||||
|
public:
|
||||||
|
FormVCLog(LyXView *, Dialogs *);
|
||||||
|
|
||||||
|
~FormVCLog();
|
||||||
|
|
||||||
|
/// close the connections
|
||||||
|
virtual void close();
|
||||||
|
/// Update the dialog
|
||||||
|
virtual void update();
|
||||||
|
/// Update the dialog from slot
|
||||||
|
virtual void supdate(bool = false);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/// Create the dialog if necessary, update it and display it
|
||||||
|
virtual void show();
|
||||||
|
/// Hide the dialog
|
||||||
|
virtual void hide();
|
||||||
|
|
||||||
|
/// Real GUI implementation.
|
||||||
|
LogDialog * dialog_;
|
||||||
|
|
||||||
|
/// the LyXView we belong to
|
||||||
|
LyXView * lv_;
|
||||||
|
|
||||||
|
/// the Dialogs object we belong to
|
||||||
|
Dialogs * d_;
|
||||||
|
|
||||||
|
/// Hide connection.
|
||||||
|
Connection h_;
|
||||||
|
/// Update connection.
|
||||||
|
Connection u_;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // FORMVCLOG_H
|
@ -1,11 +1,10 @@
|
|||||||
/* This file is part of
|
/**
|
||||||
* ======================================================
|
* \file GUIRunTime.C
|
||||||
*
|
* Copyright 2001 the LyX Team
|
||||||
* LyX, The Document Processor
|
* Read the file COPYING
|
||||||
*
|
|
||||||
* Copyright 2000 The LyX Team.
|
|
||||||
*
|
*
|
||||||
* ====================================================== */
|
* \author Jürgen Vigna
|
||||||
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -22,10 +21,8 @@
|
|||||||
|
|
||||||
using std::endl;
|
using std::endl;
|
||||||
|
|
||||||
// For now we need this here as long as we use xforms components!
|
// tell me again why this test is cluttering up the source rather than
|
||||||
|
// being in lyxinclude.m4 ? - jbl
|
||||||
// I keep these here so that it will be processed as early in
|
|
||||||
// the compilation process as possible.
|
|
||||||
#if !defined(FL_REVISION) || FL_REVISION < 88 || FL_VERSION != 0
|
#if !defined(FL_REVISION) || FL_REVISION < 88 || FL_VERSION != 0
|
||||||
#error LyX will not compile with this version of XForms.\
|
#error LyX will not compile with this version of XForms.\
|
||||||
Please get version 0.89.\
|
Please get version 0.89.\
|
||||||
@ -38,20 +35,7 @@ static int const xforms_include_version = FL_INCLUDE_VERSION;
|
|||||||
|
|
||||||
int GUIRunTime::initApplication(int argc, char * argv[])
|
int GUIRunTime::initApplication(int argc, char * argv[])
|
||||||
{
|
{
|
||||||
// Check the XForms version in the forms.h header against
|
// same here, this is clearly a configure-time test - jbl
|
||||||
// the one in the libforms. If they don't match quit the
|
|
||||||
// execution of LyX. Better with a clean fast exit than
|
|
||||||
// a strange segfault later.
|
|
||||||
// I realize that this check have to be moved when we
|
|
||||||
// support several toolkits, but IMO all the toolkits
|
|
||||||
// should try to have the same kind of check. This could
|
|
||||||
// be done by having a CheckHeaderAndLib function in
|
|
||||||
// all the toolkit implementations, this function is
|
|
||||||
// responsible for notifing the user.
|
|
||||||
// if (!CheckHeaderAndLib()) {
|
|
||||||
// // header vs. lib version failed
|
|
||||||
// return 1;
|
|
||||||
// }
|
|
||||||
int xforms_lib_version = fl_library_version(0, 0);
|
int xforms_lib_version = fl_library_version(0, 0);
|
||||||
if (xforms_include_version != xforms_lib_version) {
|
if (xforms_include_version != xforms_lib_version) {
|
||||||
lyxerr << "You are either running LyX with wrong "
|
lyxerr << "You are either running LyX with wrong "
|
||||||
@ -70,6 +54,7 @@ int GUIRunTime::initApplication(int argc, char * argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void GUIRunTime::processEvents()
|
void GUIRunTime::processEvents()
|
||||||
{
|
{
|
||||||
kapp->processEvents();
|
kapp->processEvents();
|
||||||
@ -110,4 +95,3 @@ void GUIRunTime::setDefaults()
|
|||||||
| FL_PDMenuFontSize
|
| FL_PDMenuFontSize
|
||||||
| FL_PDBorderWidth, &cntl);
|
| FL_PDBorderWidth, &cntl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,13 +16,21 @@ libkde_la_OBJADD = \
|
|||||||
dlg/libkdedlg.la \
|
dlg/libkdedlg.la \
|
||||||
dlg/moc/libkdedlgmoc.la \
|
dlg/moc/libkdedlgmoc.la \
|
||||||
../xforms/FormBase.lo \
|
../xforms/FormBase.lo \
|
||||||
|
../xforms/FormBibitem.lo \
|
||||||
|
../xforms/form_bibitem.lo \
|
||||||
|
../xforms/FormBibtex.lo \
|
||||||
|
../xforms/form_bibtex.lo \
|
||||||
../xforms/FormError.lo \
|
../xforms/FormError.lo \
|
||||||
../xforms/form_error.lo \
|
../xforms/form_error.lo \
|
||||||
../xforms/FormGraphics.lo \
|
../xforms/FormGraphics.lo \
|
||||||
../xforms/form_graphics.lo \
|
../xforms/form_graphics.lo \
|
||||||
|
../xforms/FormInclude.lo \
|
||||||
|
../xforms/form_include.lo \
|
||||||
../xforms/FormInset.lo \
|
../xforms/FormInset.lo \
|
||||||
../xforms/FormPreferences.lo \
|
../xforms/FormPreferences.lo \
|
||||||
../xforms/form_preferences.lo \
|
../xforms/form_preferences.lo \
|
||||||
|
../xforms/FormSplash.lo \
|
||||||
|
../xforms/form_splash.lo \
|
||||||
../xforms/FormTabular.lo \
|
../xforms/FormTabular.lo \
|
||||||
../xforms/form_tabular.lo \
|
../xforms/form_tabular.lo \
|
||||||
../xforms/ButtonController.lo \
|
../xforms/ButtonController.lo \
|
||||||
@ -50,6 +58,8 @@ libkde_la_SOURCES = \
|
|||||||
FormDocument.h \
|
FormDocument.h \
|
||||||
FormIndex.C \
|
FormIndex.C \
|
||||||
FormIndex.h \
|
FormIndex.h \
|
||||||
|
FormLog.C \
|
||||||
|
FormLog.h \
|
||||||
FormParagraph.C \
|
FormParagraph.C \
|
||||||
FormParagraph.h \
|
FormParagraph.h \
|
||||||
FormPrint.C \
|
FormPrint.C \
|
||||||
@ -62,6 +72,8 @@ libkde_la_SOURCES = \
|
|||||||
FormToc.h \
|
FormToc.h \
|
||||||
FormUrl.C \
|
FormUrl.C \
|
||||||
FormUrl.h \
|
FormUrl.h \
|
||||||
|
FormVCLog.C \
|
||||||
|
FormVCLog.h \
|
||||||
citationdlg.C \
|
citationdlg.C \
|
||||||
citationdlg.h \
|
citationdlg.h \
|
||||||
copyrightdlg.C \
|
copyrightdlg.C \
|
||||||
@ -70,6 +82,8 @@ libkde_la_SOURCES = \
|
|||||||
docdlg.h \
|
docdlg.h \
|
||||||
indexdlg.C \
|
indexdlg.C \
|
||||||
indexdlg.h \
|
indexdlg.h \
|
||||||
|
logdlg.C \
|
||||||
|
logdlg.h \
|
||||||
paradlg.C \
|
paradlg.C \
|
||||||
paradlg.h \
|
paradlg.h \
|
||||||
parageneraldlg.C \
|
parageneraldlg.C \
|
||||||
@ -90,6 +104,7 @@ libkde_la_SOURCES = \
|
|||||||
moc/citationdlg_moc.C: citationdlg.C citationdlg.h
|
moc/citationdlg_moc.C: citationdlg.C citationdlg.h
|
||||||
moc/copyrightdlg_moc.C: copyrightdlg.C copyrightdlg.h
|
moc/copyrightdlg_moc.C: copyrightdlg.C copyrightdlg.h
|
||||||
moc/docdlg_moc.C: docdlg.C docdlg.h
|
moc/docdlg_moc.C: docdlg.C docdlg.h
|
||||||
|
moc/logdlg_moc.C: logdlg.C logdlg.h
|
||||||
moc/indexdlg_moc.C: indexdlg.C indexdlg.h
|
moc/indexdlg_moc.C: indexdlg.C indexdlg.h
|
||||||
moc/paradlg_moc.C: paradlg.C paradlg.h
|
moc/paradlg_moc.C: paradlg.C paradlg.h
|
||||||
moc/parageneraldlg_moc.C: parageneraldlg.C parageneraldlg.h
|
moc/parageneraldlg_moc.C: parageneraldlg.C parageneraldlg.h
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
/*
|
/**
|
||||||
* QtLyXView.h
|
* \file QtLyXView.h
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Qt 1.x has a messy namespace which conflicts with 'emit' in
|
/* Qt has a messy namespace which conflicts with 'emit' in
|
||||||
* src/Timeout.h. This can go away when Qt 2.x happens.
|
* Timeout. Yep, they #define emit to nothing.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#undef emit
|
#undef emit
|
||||||
#include "LyXView.h"
|
#include "LyXView.h"
|
||||||
|
@ -1,18 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* citationdlg.C
|
* \file citationdlg.C
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include "dlg/helpers.h"
|
#include "dlg/helpers.h"
|
||||||
@ -22,8 +15,8 @@
|
|||||||
using kde_helpers::setSizeHint;
|
using kde_helpers::setSizeHint;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CitationDialog::CitationDialog(FormCitation *form, QWidget *parent, const char *name, bool, WFlags)
|
CitationDialog::CitationDialog(FormCitation *form, QWidget *parent, char const * name, bool, WFlags)
|
||||||
: QWidget(parent,name,0), form_(form)
|
: QDialog(parent,name,0), form_(form)
|
||||||
{
|
{
|
||||||
setCaption(name);
|
setCaption(name);
|
||||||
setMinimumWidth(500);
|
setMinimumWidth(500);
|
||||||
@ -62,7 +55,6 @@ CitationDialog::CitationDialog(FormCitation *form, QWidget *parent, const char *
|
|||||||
setSizeHint(labelafter);
|
setSizeHint(labelafter);
|
||||||
labelafter->setMaximumSize(labelafter->sizeHint());
|
labelafter->setMaximumSize(labelafter->sizeHint());
|
||||||
|
|
||||||
/* FIXME: icons */
|
|
||||||
add = new QPushButton(this);
|
add = new QPushButton(this);
|
||||||
add->setText(_("&Add"));
|
add->setText(_("&Add"));
|
||||||
setSizeHint(add);
|
setSizeHint(add);
|
||||||
@ -171,11 +163,13 @@ CitationDialog::CitationDialog(FormCitation *form, QWidget *parent, const char *
|
|||||||
resize(sizeHint());
|
resize(sizeHint());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CitationDialog::~CitationDialog()
|
CitationDialog::~CitationDialog()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void CitationDialog::closeEvent(QCloseEvent *e)
|
|
||||||
|
void CitationDialog::closeEvent(QCloseEvent * e)
|
||||||
{
|
{
|
||||||
form_->close();
|
form_->close();
|
||||||
e->accept();
|
e->accept();
|
||||||
|
@ -1,18 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* citationdlg.h
|
* \file citationdlg.h
|
||||||
* (C) 2000 LyX Team
|
* Copyright 2001 the LyX Team
|
||||||
* John Levon, moz@compsoc.man.ac.uk
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CITATIONDLG_H
|
#ifndef CITATIONDLG_H
|
||||||
#define CITATIONDLG_H
|
#define CITATIONDLG_H
|
||||||
|
|
||||||
@ -22,55 +15,56 @@
|
|||||||
// to connect apply() and hide()
|
// to connect apply() and hide()
|
||||||
#include "FormCitation.h"
|
#include "FormCitation.h"
|
||||||
|
|
||||||
#include <qlistbox.h>
|
#include <qdialog.h>
|
||||||
|
#include <qlistbox.h>
|
||||||
#include <qlayout.h>
|
#include <qlayout.h>
|
||||||
#include <qlabel.h>
|
#include <qlabel.h>
|
||||||
#include <qtooltip.h>
|
#include <qtooltip.h>
|
||||||
#include <qlineedit.h>
|
#include <qlineedit.h>
|
||||||
#include <qmultilinedit.h>
|
#include <qmultilinedit.h>
|
||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
|
|
||||||
class CitationDialog : public QWidget {
|
class CitationDialog : public QDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
CitationDialog(FormCitation *form, QWidget *parent=0, const char *name=0,
|
CitationDialog(FormCitation *form, QWidget *parent=0, char const * name=0,
|
||||||
bool modal=false, WFlags f=0);
|
bool modal=false, WFlags f=0);
|
||||||
~CitationDialog();
|
~CitationDialog();
|
||||||
|
|
||||||
// widgets
|
// widgets
|
||||||
|
|
||||||
QLabel *labelchosen;
|
QLabel * labelchosen;
|
||||||
QListBox *chosen;
|
QListBox * chosen;
|
||||||
QLabel *labelkeys;
|
QLabel * labelkeys;
|
||||||
QListBox *keys;
|
QListBox * keys;
|
||||||
QLabel *labelentry;
|
QLabel * labelentry;
|
||||||
QMultiLineEdit *entry;
|
QMultiLineEdit * entry;
|
||||||
QLabel *labelafter;
|
QLabel * labelafter;
|
||||||
QLineEdit *after;
|
QLineEdit * after;
|
||||||
QPushButton *add;
|
QPushButton * add;
|
||||||
QPushButton *up;
|
QPushButton * up;
|
||||||
QPushButton *down;
|
QPushButton * down;
|
||||||
QPushButton *remove;
|
QPushButton * remove;
|
||||||
QPushButton *buttonOk;
|
QPushButton * buttonOk;
|
||||||
QPushButton *buttonCancel;
|
QPushButton * buttonCancel;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void closeEvent(QCloseEvent *e);
|
void closeEvent(QCloseEvent * e);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
FormCitation *form_;
|
FormCitation * form_;
|
||||||
|
|
||||||
// layouts
|
// layouts
|
||||||
|
|
||||||
QHBoxLayout *topLayout;
|
QHBoxLayout * topLayout;
|
||||||
QVBoxLayout *layout;
|
QVBoxLayout * layout;
|
||||||
QHBoxLayout *browserLayout;
|
QHBoxLayout * browserLayout;
|
||||||
QVBoxLayout *chosenLayout;
|
QVBoxLayout * chosenLayout;
|
||||||
QVBoxLayout *iconLayout;
|
QVBoxLayout * iconLayout;
|
||||||
QVBoxLayout *keysLayout;
|
QVBoxLayout * keysLayout;
|
||||||
QVBoxLayout *entryLayout;
|
QVBoxLayout * entryLayout;
|
||||||
QHBoxLayout *afterLayout;
|
QHBoxLayout * afterLayout;
|
||||||
QHBoxLayout *buttonLayout;
|
QHBoxLayout * buttonLayout;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void apply_adaptor(void) {
|
void apply_adaptor(void) {
|
||||||
@ -100,18 +94,17 @@ private slots:
|
|||||||
form_->remove();
|
form_->remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
void select_key_adaptor(const char *key) {
|
void select_key_adaptor(const char * key) {
|
||||||
form_->select_key(key);
|
form_->select_key(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
void highlight_key_adaptor(const char *key) {
|
void highlight_key_adaptor(const char * key) {
|
||||||
form_->highlight_key(key);
|
form_->highlight_key(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
void highlight_chosen_adaptor(const char *key) {
|
void highlight_chosen_adaptor(const char * key) {
|
||||||
form_->highlight_chosen(key);
|
form_->highlight_chosen(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // CITATIONDLG_H
|
||||||
|
@ -1,24 +1,16 @@
|
|||||||
/**********************************************************************
|
/**
|
||||||
|
* \file copyrightdlg.C
|
||||||
--- Qt Architect generated file ---
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
File: copyrightdlg.C
|
*
|
||||||
Last generated: Thu Oct 12 18:32:40 2000
|
* \author John Levon
|
||||||
|
*/
|
||||||
*********************************************************************/
|
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include "copyrightdlg.h"
|
#include "copyrightdlg.h"
|
||||||
|
|
||||||
#define Inherited CopyrightDialogData
|
CopyrightDialog::CopyrightDialog(QWidget * parent, char const * name)
|
||||||
|
: CopyrightDialogData(parent, name)
|
||||||
CopyrightDialog::CopyrightDialog
|
|
||||||
(
|
|
||||||
QWidget* parent,
|
|
||||||
const char* name
|
|
||||||
)
|
|
||||||
:
|
|
||||||
Inherited( parent, name )
|
|
||||||
{
|
{
|
||||||
setCaption(name);
|
setCaption(name);
|
||||||
}
|
}
|
||||||
@ -28,6 +20,7 @@ CopyrightDialog::~CopyrightDialog()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void CopyrightDialog::clickedOK()
|
void CopyrightDialog::clickedOK()
|
||||||
{
|
{
|
||||||
hide();
|
hide();
|
||||||
|
@ -1,33 +1,28 @@
|
|||||||
/**********************************************************************
|
/**
|
||||||
|
* \file copyrightdlg.h
|
||||||
|
* Copyright 2001 the LyX Team
|
||||||
|
* Read the file COPYING
|
||||||
|
*
|
||||||
|
* \author John Levon
|
||||||
|
*/
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
#ifndef COPYRIGHTDIALOG_H
|
||||||
|
#define COPYRIGHTDIALOG_H
|
||||||
File: copyrightdlg.h
|
|
||||||
Last generated: Thu Oct 12 18:32:40 2000
|
|
||||||
|
|
||||||
*********************************************************************/
|
|
||||||
|
|
||||||
#ifndef CopyrightDialog_included
|
|
||||||
#define CopyrightDialog_included
|
|
||||||
|
|
||||||
#include "dlg/copyrightdlgdata.h"
|
#include "dlg/copyrightdlgdata.h"
|
||||||
|
|
||||||
class CopyrightDialog : public CopyrightDialogData
|
class CopyrightDialog : public CopyrightDialogData
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
CopyrightDialog (QWidget * parent = NULL, char const * name = NULL);
|
||||||
|
|
||||||
CopyrightDialog
|
virtual ~CopyrightDialog();
|
||||||
(
|
|
||||||
QWidget* parent = NULL,
|
|
||||||
const char* name = NULL
|
|
||||||
);
|
|
||||||
|
|
||||||
virtual ~CopyrightDialog();
|
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
|
||||||
virtual void clickedOK();
|
virtual void clickedOK();
|
||||||
};
|
};
|
||||||
#endif // CopyrightDialog_included
|
|
||||||
|
#endif // COPYRIGHTDIALOG_H
|
||||||
|
@ -23,6 +23,8 @@ GENSOURCES = copyrightdlgdata.C \
|
|||||||
docbulletsdlgadat.h \
|
docbulletsdlgadat.h \
|
||||||
indexdlgdata.C \
|
indexdlgdata.C \
|
||||||
indexdlgdata.h \
|
indexdlgdata.h \
|
||||||
|
logdlgdata.C \
|
||||||
|
logdlgdata.h \
|
||||||
paradlgdata.C \
|
paradlgdata.C \
|
||||||
paradlgdata.h \
|
paradlgdata.h \
|
||||||
parageneraldlgdata.C \
|
parageneraldlgdata.C \
|
||||||
@ -62,6 +64,7 @@ moc/docextradlgdata_moc.C: docextradlgdata.C docextradlgdata.h
|
|||||||
moc/docbulletsdlgdata_moc.C: docbulletsdlgdata.C docbulletsdlgdata.h
|
moc/docbulletsdlgdata_moc.C: docbulletsdlgdata.C docbulletsdlgdata.h
|
||||||
moc/emptytable_moc.C: emptytable.C emptytable.h
|
moc/emptytable_moc.C: emptytable.C emptytable.h
|
||||||
moc/indexdlgdata_moc.C: indexdlgdata.C indexdlgdata.h
|
moc/indexdlgdata_moc.C: indexdlgdata.C indexdlgdata.h
|
||||||
|
moc/logdlgdata_moc.C: logdlgdata.C logdlgdata.h
|
||||||
moc/paradlgdata_moc.C: paradlgdata.C paradlgdata.h
|
moc/paradlgdata_moc.C: paradlgdata.C paradlgdata.h
|
||||||
moc/parageneraldlgdata_moc.C: parageneraldlgdata.C parageneraldlgdata.h
|
moc/parageneraldlgdata_moc.C: parageneraldlgdata.C parageneraldlgdata.h
|
||||||
moc/paraabovedlgdata_moc.C: paraabovedlgdata.C paraabovedlgdata.h
|
moc/paraabovedlgdata_moc.C: paraabovedlgdata.C paraabovedlgdata.h
|
||||||
|
@ -3,13 +3,13 @@ from
|
|||||||
|
|
||||||
http://qtarch.sourceforge.net/
|
http://qtarch.sourceforge.net/
|
||||||
|
|
||||||
Currently you also need this patch :
|
Currently you also need this patch :
|
||||||
http://www.movement.uklinux.net/patches/lyx/qtarch-1.4.6.diff
|
http://www.movement.uklinux.net/patches/lyx/qtarch-1.4.6.diff
|
||||||
|
|
||||||
Eventually the intent is to fold this patch into the official qtarch and
|
Eventually the intent is to fold this patch into the official qtarch and
|
||||||
release a qtarch-1.4-6 tarball.
|
release a qtarch-1.4-6 tarball.
|
||||||
|
|
||||||
Note this is *not* the latest version, as they only support Qt 2.0.
|
Note this is *not* the latest version, as they only support Qt 2.
|
||||||
|
|
||||||
You should compile in the KDE module when you compile qtarch-1.4.
|
You should compile in the KDE module when you compile qtarch-1.4.
|
||||||
For me this was just a case of a make in the module/kde/ directory,
|
For me this was just a case of a make in the module/kde/ directory,
|
||||||
@ -70,10 +70,14 @@ o do the geometry layouts last. you cannot alter the geometry of widgets
|
|||||||
whilst they're being managed which makes any settings a pain, which
|
whilst they're being managed which makes any settings a pain, which
|
||||||
are useful mainly while editing the dialog in qtarch
|
are useful mainly while editing the dialog in qtarch
|
||||||
|
|
||||||
|
o remember tab order, and keyboard access in general. Tab order is decided by
|
||||||
|
instantation order of each widget, NOT the heirarchical layout. This translates
|
||||||
|
to ordering the widget descriptions in the qtarch .dlg file correctly.
|
||||||
|
|
||||||
o when doing layout, add all the layouts before any of the widgets otherwise
|
o when doing layout, add all the layouts before any of the widgets otherwise
|
||||||
qtarch has a tendency to get confused
|
qtarch has a tendency to get confused
|
||||||
|
|
||||||
o qtarch often produces code that initialises stuff in the wrong order.
|
o qtarch can produce code that initialises stuff in the wrong order.
|
||||||
This is nasty, but usually dumps core so is noticable. Either way, the
|
This is nasty, but usually dumps core so is noticable. Either way, the
|
||||||
cheesy perl script checkinitorder.pl will verify the produced files for
|
cheesy perl script checkinitorder.pl will verify the produced files for
|
||||||
you - if it complains you need to hack the .dlg file to re-arrange the order.
|
you - if it complains you need to hack the .dlg file to re-arrange the order.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: copyrightdlgdata.C
|
File: copyrightdlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:16 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -16,7 +16,7 @@
|
|||||||
#include <qlayout.h>
|
#include <qlayout.h>
|
||||||
#include "copyrightdlgdata.h"
|
#include "copyrightdlgdata.h"
|
||||||
|
|
||||||
#define Inherited QWidget
|
#define Inherited QDialog
|
||||||
|
|
||||||
#include <qlabel.h>
|
#include <qlabel.h>
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ CopyrightDialogData::CopyrightDialogData
|
|||||||
const char* name
|
const char* name
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
Inherited( parent, name, 53248 )
|
Inherited( parent, name, TRUE, 53248 )
|
||||||
{
|
{
|
||||||
buttonOk = new QPushButton( this, "PushButton_OK" );
|
buttonOk = new QPushButton( this, "PushButton_OK" );
|
||||||
buttonOk->setGeometry( 157, 343, 151, 107 );
|
buttonOk->setGeometry( 157, 343, 151, 107 );
|
||||||
@ -41,7 +41,7 @@ CopyrightDialogData::CopyrightDialogData
|
|||||||
buttonOk->setAutoRepeat( false );
|
buttonOk->setAutoRepeat( false );
|
||||||
buttonOk->setAutoResize( false );
|
buttonOk->setAutoResize( false );
|
||||||
buttonOk->setToggleButton( false );
|
buttonOk->setToggleButton( false );
|
||||||
buttonOk->setDefault( false );
|
buttonOk->setDefault( true );
|
||||||
buttonOk->setAutoDefault( true );
|
buttonOk->setAutoDefault( true );
|
||||||
buttonOk->setIsMenuButton( false );
|
buttonOk->setIsMenuButton( false );
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: copyrightdlgdata.h
|
File: copyrightdlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:16 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -13,10 +13,10 @@
|
|||||||
#ifndef CopyrightDialogData_included
|
#ifndef CopyrightDialogData_included
|
||||||
#define CopyrightDialogData_included
|
#define CopyrightDialogData_included
|
||||||
|
|
||||||
#include <qwidget.h>
|
#include <qdialog.h>
|
||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
|
|
||||||
class CopyrightDialogData : public QWidget
|
class CopyrightDialogData : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ Dialog {
|
|||||||
DataHeader {copyrightdlgdata.h}
|
DataHeader {copyrightdlgdata.h}
|
||||||
DataSource {copyrightdlgdata.C}
|
DataSource {copyrightdlgdata.C}
|
||||||
DataName {CopyrightDialogData}
|
DataName {CopyrightDialogData}
|
||||||
WindowBaseClass {QWidget}
|
WindowBaseClass {QDialog}
|
||||||
UseGetText {true}
|
UseGetText {true}
|
||||||
WindowFlags {53248}
|
WindowFlags {53248}
|
||||||
}
|
}
|
||||||
@ -19,7 +19,7 @@ Grid {5}
|
|||||||
|
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {false}
|
ToggleButton {false}
|
||||||
Default {false}
|
Default {true}
|
||||||
AutoDefault {true}
|
AutoDefault {true}
|
||||||
IsMenuButton {false}
|
IsMenuButton {false}
|
||||||
Text {&OK}
|
Text {&OK}
|
||||||
|
@ -6,7 +6,7 @@ Dialog {
|
|||||||
DataHeader {docdlgdata.h}
|
DataHeader {docdlgdata.h}
|
||||||
DataSource {docdlgdata.C}
|
DataSource {docdlgdata.C}
|
||||||
DataName {DocDialogData}
|
DataName {DocDialogData}
|
||||||
WindowBaseClass {QWidget}
|
WindowBaseClass {QDialog}
|
||||||
UseGetText {true}
|
UseGetText {true}
|
||||||
WindowFlags {0}
|
WindowFlags {0}
|
||||||
}
|
}
|
||||||
@ -46,29 +46,6 @@ PushButton {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
User {
|
|
||||||
UserClassHeader {tabstack.h}
|
|
||||||
UserClassName {TabStack}
|
|
||||||
Rect {5 5 630 545}
|
|
||||||
Name {User_1}
|
|
||||||
Variable {tabstack}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {false}
|
|
||||||
FocusPolicy {NoFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {false}
|
ToggleButton {false}
|
||||||
Default {false}
|
Default {false}
|
||||||
@ -156,6 +133,29 @@ PushButton {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {tabstack.h}
|
||||||
|
UserClassName {TabStack}
|
||||||
|
Rect {5 5 630 545}
|
||||||
|
Name {User_1}
|
||||||
|
Variable {tabstack}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
|
||||||
Box_Layout-1{
|
Box_Layout-1{
|
||||||
Direction {TopToBottom}
|
Direction {TopToBottom}
|
||||||
|
@ -12,23 +12,21 @@ Dialog {
|
|||||||
}
|
}
|
||||||
WidgetLayout {
|
WidgetLayout {
|
||||||
InitialPos {-1 -1}
|
InitialPos {-1 -1}
|
||||||
Size {545 460}
|
Size {635 640}
|
||||||
MinSize {0 0}
|
MinSize {0 0}
|
||||||
MaxSize {32767 32767}
|
MaxSize {32767 32767}
|
||||||
Grid {5}
|
Grid {5}
|
||||||
|
|
||||||
Label {
|
GroupBox {
|
||||||
Text {Float placement : (FIXME)}
|
Title {Float Placement}
|
||||||
Alignment {289}
|
Alignment {Left}
|
||||||
AutoResize {false}
|
Style {49}
|
||||||
Margin {-1}
|
|
||||||
Style {0}
|
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {5 5 105 86}
|
Rect {5 5 625 378}
|
||||||
Name {labelFloatplacement}
|
Name {placementBox}
|
||||||
MinimumSize {0 0}
|
MinimumSize {25 30}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {false}
|
UseBackgroundPixmap {false}
|
||||||
@ -38,21 +36,23 @@ Label {
|
|||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {true}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {true}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {true}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {true}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
LineEdit {
|
ComboBox {
|
||||||
Text {}
|
Style {ReadOnly}
|
||||||
EchoMode {Normal}
|
SizeLimit {10}
|
||||||
MaxLength {32767}
|
Policy {AtBottom}
|
||||||
FrameShown {true}
|
AutoResize {false}
|
||||||
Rect {225 5 205 86}
|
MaxCount {2147483647}
|
||||||
Name {floatplacement}
|
AutoCompletion {false}
|
||||||
Variable {floatplacement}
|
Rect {320 10 150 65}
|
||||||
|
Name {first}
|
||||||
|
Variable {first}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
@ -66,7 +66,113 @@ LineEdit {
|
|||||||
maxWidthSizeHint {false}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {true}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBase}
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {320 80 150 66}
|
||||||
|
Name {second}
|
||||||
|
Variable {second}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {320 151 150 65}
|
||||||
|
Name {third}
|
||||||
|
Variable {third}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {320 221 150 65}
|
||||||
|
Name {fourth}
|
||||||
|
Variable {fourth}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Ignore LaTeX placement rules}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {10 291 615 87}
|
||||||
|
Name {ignore}
|
||||||
|
Variable {ignore}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
@ -79,7 +185,7 @@ Label {
|
|||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {5 96 105 86}
|
Rect {5 388 153 58}
|
||||||
Name {labelsectiondepth}
|
Name {labelsectiondepth}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
@ -107,7 +213,7 @@ Label {
|
|||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {5 187 105 86}
|
Rect {5 451 153 58}
|
||||||
Name {labeltocdepth}
|
Name {labeltocdepth}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
@ -135,7 +241,7 @@ Label {
|
|||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {5 278 105 86}
|
Rect {5 514 153 58}
|
||||||
Name {labelPSDriver}
|
Name {labelPSDriver}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
@ -154,31 +260,6 @@ Label {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
CheckBox {
|
|
||||||
Checked {false}
|
|
||||||
Text {Use AMS Math}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {false}
|
|
||||||
Rect {5 369 105 86}
|
|
||||||
Name {amsmath}
|
|
||||||
Variable {amsmath}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
SpinBox {
|
SpinBox {
|
||||||
MinValue {-2}
|
MinValue {-2}
|
||||||
MaxValue {5}
|
MaxValue {5}
|
||||||
@ -191,7 +272,7 @@ SpinBox {
|
|||||||
LineWidth {2}
|
LineWidth {2}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {225 96 205 86}
|
Rect {320 388 153 58}
|
||||||
Name {sectiondepth}
|
Name {sectiondepth}
|
||||||
Variable {sectiondepth}
|
Variable {sectiondepth}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -223,7 +304,7 @@ SpinBox {
|
|||||||
LineWidth {2}
|
LineWidth {2}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {225 187 205 86}
|
Rect {320 451 153 58}
|
||||||
Name {tocdepth}
|
Name {tocdepth}
|
||||||
Variable {tocdepth}
|
Variable {tocdepth}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -250,7 +331,7 @@ ComboBox {
|
|||||||
AutoResize {true}
|
AutoResize {true}
|
||||||
MaxCount {2147483647}
|
MaxCount {2147483647}
|
||||||
AutoCompletion {false}
|
AutoCompletion {false}
|
||||||
Rect {225 278 205 86}
|
Rect {320 514 153 58}
|
||||||
Name {psdriver}
|
Name {psdriver}
|
||||||
Variable {psdriver}
|
Variable {psdriver}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -270,96 +351,331 @@ ComboBox {
|
|||||||
FontPropagation {AllChildren}
|
FontPropagation {AllChildren}
|
||||||
PalettePropagation {AllChildren}
|
PalettePropagation {AllChildren}
|
||||||
}
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Use AMS Math}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {5 577 153 58}
|
||||||
|
Name {amsmath}
|
||||||
|
Variable {amsmath}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {First try :}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {10 10 150 65}
|
||||||
|
Name {labelFirst}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {then :}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {10 80 150 66}
|
||||||
|
Name {labelSecond}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {then :}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {10 151 150 65}
|
||||||
|
Name {labelThird}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {then :}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {10 221 150 65}
|
||||||
|
Name {labelFourth}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
|
||||||
Grid_Layout-1{
|
Box_Layout-1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1{
|
||||||
|
Widget {placementBox}
|
||||||
|
BoxStretch {3}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Layout-1.1.1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Grid_Layout-1.1.1.1{
|
||||||
Border {5}
|
Border {5}
|
||||||
AutoBorder {5}
|
AutoBorder {5}
|
||||||
Name {}
|
Name {}
|
||||||
ColumnInfo {5 1}
|
ColumnInfo {5 1}
|
||||||
ColumnInfo {5 1}
|
ColumnInfo {5 1}
|
||||||
ColumnInfo {5 2}
|
|
||||||
ColumnInfo {5 1}
|
ColumnInfo {5 1}
|
||||||
BoxStretch {1}
|
ColumnInfo {5 1}
|
||||||
|
BoxStretch {3}
|
||||||
}
|
}
|
||||||
Grid_Row-1.1{
|
Grid_Row-1.1.1.1.1{
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
Spacing {0}
|
Spacing {0}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.1.1{
|
Layout_Widget-1.1.1.1.1.1{
|
||||||
Widget {labelFloatplacement}
|
Widget {labelFirst}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Grid_Spacer-1.1.2{
|
Grid_Spacer-1.1.1.1.1.2{
|
||||||
}
|
}
|
||||||
Layout_Widget-1.1.3{
|
Layout_Widget-1.1.1.1.1.3{
|
||||||
Widget {floatplacement}
|
Widget {first}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Grid_Spacer-1.1.4{
|
Grid_Spacer-1.1.1.1.1.4{
|
||||||
}
|
}
|
||||||
Grid_Row-1.2{
|
Grid_Row-1.1.1.1.2{
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
Spacing {0}
|
Spacing {0}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.2.1{
|
Layout_Widget-1.1.1.1.2.1{
|
||||||
|
Widget {labelSecond}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Spacer-1.1.1.1.2.2{
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1.1.2.3{
|
||||||
|
Widget {second}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Spacer-1.1.1.1.2.4{
|
||||||
|
}
|
||||||
|
Grid_Row-1.1.1.1.3{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1.1.3.1{
|
||||||
|
Widget {labelThird}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Spacer-1.1.1.1.3.2{
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1.1.3.3{
|
||||||
|
Widget {third}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Spacer-1.1.1.1.3.4{
|
||||||
|
}
|
||||||
|
Grid_Row-1.1.1.1.4{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1.1.4.1{
|
||||||
|
Widget {labelFourth}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Spacer-1.1.1.1.4.2{
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1.1.4.3{
|
||||||
|
Widget {fourth}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Spacer-1.1.1.1.4.4{
|
||||||
|
}
|
||||||
|
Box_Layout-1.1.1.2{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1.2.1{
|
||||||
|
Widget {ignore}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Layout-1.2{
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
ColumnInfo {5 1}
|
||||||
|
ColumnInfo {5 1}
|
||||||
|
ColumnInfo {5 1}
|
||||||
|
ColumnInfo {5 1}
|
||||||
|
BoxStretch {2}
|
||||||
|
}
|
||||||
|
Grid_Row-1.2.1{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.1.1{
|
||||||
Widget {labelsectiondepth}
|
Widget {labelsectiondepth}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Grid_Spacer-1.2.2{
|
Grid_Spacer-1.2.1.2{
|
||||||
}
|
}
|
||||||
Layout_Widget-1.2.3{
|
Layout_Widget-1.2.1.3{
|
||||||
Widget {sectiondepth}
|
Widget {sectiondepth}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Grid_Spacer-1.2.4{
|
Grid_Spacer-1.2.1.4{
|
||||||
}
|
}
|
||||||
Grid_Row-1.3{
|
Grid_Row-1.2.2{
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
Spacing {0}
|
Spacing {0}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.3.1{
|
Layout_Widget-1.2.2.1{
|
||||||
Widget {labeltocdepth}
|
Widget {labeltocdepth}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Grid_Spacer-1.3.2{
|
Grid_Spacer-1.2.2.2{
|
||||||
}
|
}
|
||||||
Layout_Widget-1.3.3{
|
Layout_Widget-1.2.2.3{
|
||||||
Widget {tocdepth}
|
Widget {tocdepth}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Grid_Spacer-1.3.4{
|
Grid_Spacer-1.2.2.4{
|
||||||
}
|
}
|
||||||
Grid_Row-1.4{
|
Grid_Row-1.2.3{
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
Spacing {0}
|
Spacing {0}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.4.1{
|
Layout_Widget-1.2.3.1{
|
||||||
Widget {labelPSDriver}
|
Widget {labelPSDriver}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Grid_Spacer-1.4.2{
|
Grid_Spacer-1.2.3.2{
|
||||||
}
|
}
|
||||||
Layout_Widget-1.4.3{
|
Layout_Widget-1.2.3.3{
|
||||||
Widget {psdriver}
|
Widget {psdriver}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Grid_Spacer-1.4.4{
|
Grid_Spacer-1.2.3.4{
|
||||||
}
|
}
|
||||||
Grid_Row-1.5{
|
Grid_Row-1.2.4{
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
Spacing {0}
|
Spacing {0}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.5.1{
|
Layout_Widget-1.2.4.1{
|
||||||
Widget {amsmath}
|
Widget {amsmath}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -178,6 +178,121 @@ ComboBox {
|
|||||||
FontPropagation {AllChildren}
|
FontPropagation {AllChildren}
|
||||||
PalettePropagation {AllChildren}
|
PalettePropagation {AllChildren}
|
||||||
}
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {lengthentry.h}
|
||||||
|
UserClassName {LengthEntry}
|
||||||
|
Rect {10 140 285 35}
|
||||||
|
Name {width}
|
||||||
|
Variable {width}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {lengthentry.h}
|
||||||
|
UserClassName {LengthEntry}
|
||||||
|
Rect {10 255 285 35}
|
||||||
|
Name {height}
|
||||||
|
Variable {height}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {lengthentry.h}
|
||||||
|
UserClassName {LengthEntry}
|
||||||
|
Rect {310 85 285 28}
|
||||||
|
Name {headheight}
|
||||||
|
Variable {headheight}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {lengthentry.h}
|
||||||
|
UserClassName {LengthEntry}
|
||||||
|
Rect {310 178 285 27}
|
||||||
|
Name {headsep}
|
||||||
|
Variable {headsep}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {lengthentry.h}
|
||||||
|
UserClassName {LengthEntry}
|
||||||
|
Rect {310 270 285 28}
|
||||||
|
Name {footskip}
|
||||||
|
Variable {footskip}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
Label {
|
Label {
|
||||||
Text {Margins :}
|
Text {Margins :}
|
||||||
Alignment {0}
|
Alignment {0}
|
||||||
@ -206,34 +321,6 @@ Label {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
ComboBox {
|
|
||||||
Style {ReadOnly}
|
|
||||||
SizeLimit {30}
|
|
||||||
Policy {AtBottom}
|
|
||||||
AutoResize {true}
|
|
||||||
MaxCount {2147483647}
|
|
||||||
AutoCompletion {false}
|
|
||||||
Rect {241 355 112 54}
|
|
||||||
Name {margins}
|
|
||||||
Variable {margins}
|
|
||||||
Signal {[Protected] highlighted --> marginsChanged (const char*)}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {StrongFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {AllChildren}
|
|
||||||
PalettePropagation {AllChildren}
|
|
||||||
}
|
|
||||||
Label {
|
Label {
|
||||||
Text {Width :}
|
Text {Width :}
|
||||||
Alignment {0}
|
Alignment {0}
|
||||||
@ -402,56 +489,6 @@ Label {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
|
||||||
Checked {true}
|
|
||||||
Text {Portrait}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {false}
|
|
||||||
Rect {481 412 1 57}
|
|
||||||
Name {portrait}
|
|
||||||
Variable {portrait}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
RadioButton {
|
|
||||||
Checked {false}
|
|
||||||
Text {Landscape}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {false}
|
|
||||||
Rect {481 531 1 57}
|
|
||||||
Name {landscape}
|
|
||||||
Variable {landscape}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
Label {
|
Label {
|
||||||
Text {Header height :}
|
Text {Header height :}
|
||||||
Alignment {0}
|
Alignment {0}
|
||||||
@ -536,12 +573,17 @@ Label {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
User {
|
ComboBox {
|
||||||
UserClassHeader {lengthentry.h}
|
Style {ReadOnly}
|
||||||
UserClassName {LengthEntry}
|
SizeLimit {30}
|
||||||
Rect {10 140 285 35}
|
Policy {AtBottom}
|
||||||
Name {width}
|
AutoResize {true}
|
||||||
Variable {width}
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {241 355 112 54}
|
||||||
|
Name {margins}
|
||||||
|
Variable {margins}
|
||||||
|
Signal {[Protected] highlighted --> marginsChanged (const char*)}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
@ -554,33 +596,10 @@ User {
|
|||||||
minHeightSizeHint {true}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {false}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {true}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {AllChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {AllChildren}
|
||||||
}
|
|
||||||
User {
|
|
||||||
UserClassHeader {lengthentry.h}
|
|
||||||
UserClassName {LengthEntry}
|
|
||||||
Rect {10 255 285 35}
|
|
||||||
Name {height}
|
|
||||||
Variable {height}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {NoFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
}
|
||||||
User {
|
User {
|
||||||
UserClassHeader {lengthentry.h}
|
UserClassHeader {lengthentry.h}
|
||||||
@ -651,75 +670,6 @@ User {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
User {
|
|
||||||
UserClassHeader {lengthentry.h}
|
|
||||||
UserClassName {LengthEntry}
|
|
||||||
Rect {310 85 285 28}
|
|
||||||
Name {headheight}
|
|
||||||
Variable {headheight}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {NoFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
User {
|
|
||||||
UserClassHeader {lengthentry.h}
|
|
||||||
UserClassName {LengthEntry}
|
|
||||||
Rect {310 178 285 27}
|
|
||||||
Name {headsep}
|
|
||||||
Variable {headsep}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {NoFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
User {
|
|
||||||
UserClassHeader {lengthentry.h}
|
|
||||||
UserClassName {LengthEntry}
|
|
||||||
Rect {310 270 285 28}
|
|
||||||
Name {footskip}
|
|
||||||
Variable {footskip}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {NoFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
User {
|
User {
|
||||||
UserClassHeader {lengthentry.h}
|
UserClassHeader {lengthentry.h}
|
||||||
UserClassName {LengthEntry}
|
UserClassName {LengthEntry}
|
||||||
@ -743,6 +693,56 @@ User {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
|
RadioButton {
|
||||||
|
Checked {true}
|
||||||
|
Text {Portrait}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {481 412 1 57}
|
||||||
|
Name {portrait}
|
||||||
|
Variable {portrait}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
RadioButton {
|
||||||
|
Checked {false}
|
||||||
|
Text {Landscape}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {481 531 1 57}
|
||||||
|
Name {landscape}
|
||||||
|
Variable {landscape}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
|
||||||
Box_Layout-1{
|
Box_Layout-1{
|
||||||
Direction {TopToBottom}
|
Direction {TopToBottom}
|
||||||
|
@ -12,51 +12,21 @@ Dialog {
|
|||||||
}
|
}
|
||||||
WidgetLayout {
|
WidgetLayout {
|
||||||
InitialPos {0 0}
|
InitialPos {0 0}
|
||||||
Size {455 505}
|
Size {550 515}
|
||||||
MinSize {0 0}
|
MinSize {0 0}
|
||||||
MaxSize {32767 32767}
|
MaxSize {32767 32767}
|
||||||
Grid {5}
|
Grid {5}
|
||||||
|
|
||||||
Label {
|
GroupBox {
|
||||||
Text {Document class :}
|
Title {Paragraph spacing}
|
||||||
Alignment {289}
|
Alignment {Left}
|
||||||
AutoResize {false}
|
Style {49}
|
||||||
Margin {-1}
|
|
||||||
Style {0}
|
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {17}
|
||||||
Rect {95 5 85 23}
|
Rect {5 180 540 220}
|
||||||
Name {labelClass}
|
Name {paraspacingbox}
|
||||||
MinimumSize {0 0}
|
MinimumSize {35 69}
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {NoFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
ComboBox {
|
|
||||||
Style {ReadOnly}
|
|
||||||
SizeLimit {30}
|
|
||||||
Policy {AtBottom}
|
|
||||||
AutoResize {false}
|
|
||||||
MaxCount {2147483647}
|
|
||||||
AutoCompletion {false}
|
|
||||||
Rect {275 5 85 23}
|
|
||||||
Name {docclass}
|
|
||||||
Variable {docclass}
|
|
||||||
Signal {[Protected] highlighted --> classChanged (const char*)}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {false}
|
UseBackgroundPixmap {false}
|
||||||
@ -67,14 +37,14 @@ ComboBox {
|
|||||||
minWidthSizeHint {true}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {true}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {false}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {true}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {AllChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {AllChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
Text {Page style :}
|
Text {Font size :}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
@ -82,8 +52,8 @@ Label {
|
|||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {95 33 85 23}
|
Rect {114 95 104 25}
|
||||||
Name {labelPagestyle}
|
Name {labelFontSize}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
@ -110,7 +80,7 @@ Label {
|
|||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {95 61 85 22}
|
Rect {114 65 104 25}
|
||||||
Name {labelFont}
|
Name {labelFont}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
@ -130,7 +100,7 @@ Label {
|
|||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
Text {Font size :}
|
Text {Page style :}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
@ -138,8 +108,36 @@ Label {
|
|||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {95 88 85 23}
|
Rect {114 35 104 25}
|
||||||
Name {labelFontSize}
|
Name {labelPagestyle}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Document class :}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {114 5 104 25}
|
||||||
|
Name {labelClass}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
@ -164,7 +162,35 @@ ComboBox {
|
|||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
MaxCount {2147483647}
|
MaxCount {2147483647}
|
||||||
AutoCompletion {false}
|
AutoCompletion {false}
|
||||||
Rect {275 33 85 23}
|
Rect {332 5 104 25}
|
||||||
|
Name {docclass}
|
||||||
|
Variable {docclass}
|
||||||
|
Signal {[Protected] highlighted --> classChanged (const char*)}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {30}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {332 35 104 25}
|
||||||
Name {pagestyle}
|
Name {pagestyle}
|
||||||
Variable {pagestyle}
|
Variable {pagestyle}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -191,7 +217,7 @@ ComboBox {
|
|||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
MaxCount {2147483647}
|
MaxCount {2147483647}
|
||||||
AutoCompletion {false}
|
AutoCompletion {false}
|
||||||
Rect {275 61 85 22}
|
Rect {332 65 104 25}
|
||||||
Name {font}
|
Name {font}
|
||||||
Variable {font}
|
Variable {font}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -218,7 +244,7 @@ ComboBox {
|
|||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
MaxCount {2147483647}
|
MaxCount {2147483647}
|
||||||
AutoCompletion {false}
|
AutoCompletion {false}
|
||||||
Rect {275 88 85 23}
|
Rect {332 95 104 25}
|
||||||
Name {fontsize}
|
Name {fontsize}
|
||||||
Variable {fontsize}
|
Variable {fontsize}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -243,7 +269,7 @@ CheckBox {
|
|||||||
Text {Two-sided}
|
Text {Two-sided}
|
||||||
AutoRepeat {false}
|
AutoRepeat {false}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Rect {93 116 88 91}
|
Rect {112 125 107 50}
|
||||||
Name {sides}
|
Name {sides}
|
||||||
Variable {sides}
|
Variable {sides}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -268,7 +294,7 @@ CheckBox {
|
|||||||
Text {Two column pages}
|
Text {Two column pages}
|
||||||
AutoRepeat {false}
|
AutoRepeat {false}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Rect {274 116 88 91}
|
Rect {331 125 107 50}
|
||||||
Name {columns}
|
Name {columns}
|
||||||
Variable {columns}
|
Variable {columns}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -288,31 +314,6 @@ CheckBox {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
CheckBox {
|
|
||||||
Checked {false}
|
|
||||||
Text {Skip separation (FIXME)}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {false}
|
|
||||||
Rect {153 212 149 91}
|
|
||||||
Name {separation}
|
|
||||||
Variable {separation}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
Label {
|
Label {
|
||||||
Text {Inter-line spacing :}
|
Text {Inter-line spacing :}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
@ -322,7 +323,7 @@ Label {
|
|||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {5 308 145 46}
|
Rect {5 405 177 50}
|
||||||
Name {labelSpacing}
|
Name {labelSpacing}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
@ -341,6 +342,146 @@ Label {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
|
Label {
|
||||||
|
Text {Extra options :}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 460 268 50}
|
||||||
|
Name {labelExtraoptions}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Default paragraph spacing :}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {10 247 128 30}
|
||||||
|
Name {labelSkip}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Size :}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {10 294 173 30}
|
||||||
|
Name {labelparasize}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Shrink :}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {10 365 173 30}
|
||||||
|
Name {paralabelShrink}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Stretch :}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {10 329 173 31}
|
||||||
|
Name {paralabelStretch}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
ComboBox {
|
ComboBox {
|
||||||
Style {ReadOnly}
|
Style {ReadOnly}
|
||||||
SizeLimit {30}
|
SizeLimit {30}
|
||||||
@ -348,7 +489,104 @@ ComboBox {
|
|||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
MaxCount {2147483647}
|
MaxCount {2147483647}
|
||||||
AutoCompletion {false}
|
AutoCompletion {false}
|
||||||
Rect {155 308 215 46}
|
Rect {284 247 128 30}
|
||||||
|
Name {paraspacing}
|
||||||
|
Variable {paraspacing}
|
||||||
|
Signal {[Protected] highlighted --> paraspacingChanged (const char*)}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {lengthentry.h}
|
||||||
|
UserClassName {LengthEntry}
|
||||||
|
Rect {188 294 174 30}
|
||||||
|
Name {paraspacingValue}
|
||||||
|
Variable {paraspacingValue}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {lengthentry.h}
|
||||||
|
UserClassName {LengthEntry}
|
||||||
|
Rect {188 329 174 31}
|
||||||
|
Name {paraspacingStretch}
|
||||||
|
Variable {paraspacingStretch}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {lengthentry.h}
|
||||||
|
UserClassName {LengthEntry}
|
||||||
|
Rect {188 365 174 30}
|
||||||
|
Name {paraspacingShrink}
|
||||||
|
Variable {paraspacingShrink}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {30}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {187 405 176 50}
|
||||||
Name {linespacing}
|
Name {linespacing}
|
||||||
Variable {linespacing}
|
Variable {linespacing}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -368,121 +606,13 @@ ComboBox {
|
|||||||
FontPropagation {AllChildren}
|
FontPropagation {AllChildren}
|
||||||
PalettePropagation {AllChildren}
|
PalettePropagation {AllChildren}
|
||||||
}
|
}
|
||||||
Label {
|
|
||||||
Text {Default skip spacing :}
|
|
||||||
Alignment {289}
|
|
||||||
AutoResize {false}
|
|
||||||
Margin {-1}
|
|
||||||
Style {0}
|
|
||||||
LineWidth {1}
|
|
||||||
MidLineWidth {0}
|
|
||||||
FrameMargin {0}
|
|
||||||
Rect {5 359 145 45}
|
|
||||||
Name {labelSkip}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {NoFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
ComboBox {
|
|
||||||
Style {ReadOnly}
|
|
||||||
SizeLimit {30}
|
|
||||||
Policy {AtBottom}
|
|
||||||
AutoResize {false}
|
|
||||||
MaxCount {2147483647}
|
|
||||||
AutoCompletion {false}
|
|
||||||
Rect {155 359 215 45}
|
|
||||||
Name {skipspacing}
|
|
||||||
Variable {skipspacing}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {StrongFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {AllChildren}
|
|
||||||
PalettePropagation {AllChildren}
|
|
||||||
}
|
|
||||||
LineEdit {
|
|
||||||
Text {}
|
|
||||||
EchoMode {Normal}
|
|
||||||
MaxLength {32767}
|
|
||||||
FrameShown {true}
|
|
||||||
Rect {230 409 220 91}
|
|
||||||
Name {extraoptions}
|
|
||||||
Variable {extraoptions}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {StrongFocus}
|
|
||||||
BackgroundMode {PaletteBase}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
Label {
|
|
||||||
Text {Extra options :}
|
|
||||||
Alignment {289}
|
|
||||||
AutoResize {false}
|
|
||||||
Margin {-1}
|
|
||||||
Style {0}
|
|
||||||
LineWidth {1}
|
|
||||||
MidLineWidth {0}
|
|
||||||
FrameMargin {0}
|
|
||||||
Rect {5 409 220 91}
|
|
||||||
Name {labelExtraoptions}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {NoFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
KDE::KRestrictedLine {
|
KDE::KRestrictedLine {
|
||||||
ValidChars {0123456789.,}
|
ValidChars {0123456789.,}
|
||||||
Text {}
|
Text {}
|
||||||
EchoMode {Normal}
|
EchoMode {Normal}
|
||||||
MaxLength {32767}
|
MaxLength {32767}
|
||||||
FrameShown {true}
|
FrameShown {true}
|
||||||
Rect {375 308 75 46}
|
Rect {368 405 177 50}
|
||||||
Name {linespacingVal}
|
Name {linespacingVal}
|
||||||
Variable {linespacingVal}
|
Variable {linespacingVal}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -502,17 +632,14 @@ KDE::KRestrictedLine {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
Label {
|
LineEdit {
|
||||||
Text {FIXME}
|
Text {}
|
||||||
Alignment {289}
|
EchoMode {Normal}
|
||||||
AutoResize {false}
|
MaxLength {32767}
|
||||||
Margin {-1}
|
FrameShown {true}
|
||||||
Style {0}
|
Rect {278 460 267 50}
|
||||||
LineWidth {1}
|
Name {extraoptions}
|
||||||
MidLineWidth {0}
|
Variable {extraoptions}
|
||||||
FrameMargin {0}
|
|
||||||
Rect {375 359 75 45}
|
|
||||||
Name {FIXME}
|
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
@ -521,11 +648,37 @@ Label {
|
|||||||
ReadPixmapFromData {false}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {false}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {false}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {false}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {false}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Add space}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {10 200 398 30}
|
||||||
|
Name {addspace}
|
||||||
|
Variable {addspace}
|
||||||
|
Signal {[Protected] toggled --> addspaceChanged (bool)}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
@ -548,7 +701,7 @@ Grid_Layout-1.1{
|
|||||||
ColumnInfo {5 1}
|
ColumnInfo {5 1}
|
||||||
ColumnInfo {5 1}
|
ColumnInfo {5 1}
|
||||||
ColumnInfo {5 1}
|
ColumnInfo {5 1}
|
||||||
BoxStretch {1}
|
BoxStretch {2}
|
||||||
}
|
}
|
||||||
Grid_Row-1.1.1{
|
Grid_Row-1.1.1{
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
@ -657,7 +810,23 @@ Layout_Widget-1.2.4{
|
|||||||
Box_Stretch-1.2.5{
|
Box_Stretch-1.2.5{
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
}
|
}
|
||||||
Box_Layout-1.3{
|
Layout_Widget-1.3{
|
||||||
|
Widget {paraspacingbox}
|
||||||
|
BoxStretch {3}
|
||||||
|
Alignment {33}
|
||||||
|
}
|
||||||
|
Box_Layout-1.3.1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {17}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Box_Spacing-1.3.1.1{
|
||||||
|
Spacing {15}
|
||||||
|
}
|
||||||
|
Box_Layout-1.3.1.2{
|
||||||
Direction {LeftToRight}
|
Direction {LeftToRight}
|
||||||
Border {5}
|
Border {5}
|
||||||
AutoBorder {5}
|
AutoBorder {5}
|
||||||
@ -665,63 +834,116 @@ Box_Layout-1.3{
|
|||||||
Strut {0}
|
Strut {0}
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
}
|
}
|
||||||
Box_Stretch-1.3.1{
|
Layout_Widget-1.3.1.2.1{
|
||||||
Stretch {1}
|
BoxStretch {3}
|
||||||
}
|
|
||||||
Layout_Widget-1.3.2{
|
|
||||||
Widget {separation}
|
|
||||||
BoxStretch {1}
|
|
||||||
Alignment {33}
|
Alignment {33}
|
||||||
}
|
}
|
||||||
Box_Stretch-1.3.3{
|
Box_Stretch-1.3.1.2.2{
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
}
|
}
|
||||||
Grid_Layout-1.4{
|
Box_Layout-1.3.1.3{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {17}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.1.3.1{
|
||||||
|
Widget {labelSkip}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.3.1.3.2{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.1.3.3{
|
||||||
|
Widget {paraspacing}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.3.1.3.4{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Grid_Layout-1.3.1.4{
|
||||||
Border {5}
|
Border {5}
|
||||||
AutoBorder {5}
|
AutoBorder {5}
|
||||||
Name {}
|
Name {}
|
||||||
ColumnInfo {5 2}
|
|
||||||
ColumnInfo {5 3}
|
|
||||||
ColumnInfo {5 1}
|
ColumnInfo {5 1}
|
||||||
BoxStretch {1}
|
ColumnInfo {5 1}
|
||||||
|
ColumnInfo {5 1}
|
||||||
|
BoxStretch {3}
|
||||||
}
|
}
|
||||||
Grid_Row-1.4.1{
|
Grid_Row-1.3.1.4.1{
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
Spacing {0}
|
Spacing {0}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.4.1.1{
|
Layout_Widget-1.3.1.4.1.1{
|
||||||
|
Widget {labelparasize}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {33}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.1.4.1.2{
|
||||||
|
Widget {paraspacingValue}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {33}
|
||||||
|
}
|
||||||
|
Grid_Spacer-1.3.1.4.1.3{
|
||||||
|
}
|
||||||
|
Grid_Row-1.3.1.4.2{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.1.4.2.1{
|
||||||
|
Widget {paralabelStretch}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {33}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.1.4.2.2{
|
||||||
|
Widget {paraspacingStretch}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {33}
|
||||||
|
}
|
||||||
|
Grid_Spacer-1.3.1.4.2.3{
|
||||||
|
}
|
||||||
|
Grid_Row-1.3.1.4.3{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.1.4.3.1{
|
||||||
|
Widget {paralabelShrink}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {33}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.1.4.3.2{
|
||||||
|
Widget {paraspacingShrink}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {33}
|
||||||
|
}
|
||||||
|
Grid_Spacer-1.3.1.4.3.3{
|
||||||
|
}
|
||||||
|
Box_Layout-1.4{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.1{
|
||||||
Widget {labelSpacing}
|
Widget {labelSpacing}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.4.1.2{
|
Layout_Widget-1.4.2{
|
||||||
Widget {linespacing}
|
Widget {linespacing}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.4.1.3{
|
Layout_Widget-1.4.3{
|
||||||
Widget {linespacingVal}
|
Widget {linespacingVal}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
|
||||||
Grid_Row-1.4.2{
|
|
||||||
Stretch {1}
|
|
||||||
Spacing {0}
|
|
||||||
}
|
|
||||||
Layout_Widget-1.4.2.1{
|
|
||||||
Widget {labelSkip}
|
|
||||||
BoxStretch {1}
|
|
||||||
Alignment {33}
|
|
||||||
}
|
|
||||||
Layout_Widget-1.4.2.2{
|
|
||||||
Widget {skipspacing}
|
|
||||||
BoxStretch {1}
|
|
||||||
Alignment {33}
|
|
||||||
}
|
|
||||||
Layout_Widget-1.4.2.3{
|
|
||||||
Widget {FIXME}
|
|
||||||
BoxStretch {1}
|
|
||||||
Alignment {33}
|
|
||||||
}
|
}
|
||||||
Box_Layout-1.5{
|
Box_Layout-1.5{
|
||||||
Direction {LeftToRight}
|
Direction {LeftToRight}
|
||||||
|
@ -6,7 +6,7 @@ Dialog {
|
|||||||
DataHeader {indexdlgdata.h}
|
DataHeader {indexdlgdata.h}
|
||||||
DataSource {indexdlgdata.C}
|
DataSource {indexdlgdata.C}
|
||||||
DataName {IndexDialogData}
|
DataName {IndexDialogData}
|
||||||
WindowBaseClass {QWidget}
|
WindowBaseClass {QDialog}
|
||||||
UseGetText {true}
|
UseGetText {true}
|
||||||
WindowFlags {53248}
|
WindowFlags {53248}
|
||||||
}
|
}
|
||||||
|
157
src/frontends/kde/dlg/dialogs/log.dlg
Normal file
157
src/frontends/kde/dlg/dialogs/log.dlg
Normal file
@ -0,0 +1,157 @@
|
|||||||
|
DlgEdit:v1.2:Dialog:
|
||||||
|
Dialog {
|
||||||
|
ClassHeader {logdlg.h}
|
||||||
|
ClassSource {logdlg.C}
|
||||||
|
ClassName {LogDialog}
|
||||||
|
DataHeader {logdlgdata.h}
|
||||||
|
DataSource {logdlgdata.C}
|
||||||
|
DataName {LogDialogData}
|
||||||
|
WindowBaseClass {QDialog}
|
||||||
|
IsModal {false}
|
||||||
|
UseGetText {true}
|
||||||
|
WindowFlags {0}
|
||||||
|
}
|
||||||
|
WidgetLayout {
|
||||||
|
InitialPos {-1 -1}
|
||||||
|
Size {400 300}
|
||||||
|
MinSize {0 0}
|
||||||
|
MaxSize {32767 32767}
|
||||||
|
Grid {5}
|
||||||
|
|
||||||
|
PushButton {
|
||||||
|
ToggleButton {false}
|
||||||
|
Default {true}
|
||||||
|
AutoDefault {false}
|
||||||
|
IsMenuButton {false}
|
||||||
|
Text {&Close}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {241 269 77 26}
|
||||||
|
Name {close}
|
||||||
|
Variable {close}
|
||||||
|
Signal {[Protected] clicked --> closePressed ()}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
PushButton {
|
||||||
|
ToggleButton {false}
|
||||||
|
Default {false}
|
||||||
|
AutoDefault {false}
|
||||||
|
IsMenuButton {false}
|
||||||
|
Text {&Update}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {82 269 77 26}
|
||||||
|
Name {updateb}
|
||||||
|
Variable {updateb}
|
||||||
|
Signal {[Protected] clicked --> updatePressed ()}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
MultiLineEdit {
|
||||||
|
Line {}
|
||||||
|
ReadOnly {true}
|
||||||
|
OverwriteMode {false}
|
||||||
|
AutoUpdate {true}
|
||||||
|
Style {51}
|
||||||
|
LineWidth {2}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 5 390 259}
|
||||||
|
Name {viewer}
|
||||||
|
Variable {viewer}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {SameFont}
|
||||||
|
PalettePropagation {SameFont}
|
||||||
|
}
|
||||||
|
|
||||||
|
Box_Layout-1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Box_Layout-1.1{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {10}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1{
|
||||||
|
Widget {viewer}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Layout-1.2{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.2.1{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.2{
|
||||||
|
Widget {updateb}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.2.3{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.4{
|
||||||
|
Widget {close}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.2.5{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
}
|
@ -6,7 +6,7 @@ Dialog {
|
|||||||
DataHeader {paradlgdata.h}
|
DataHeader {paradlgdata.h}
|
||||||
DataSource {paradlgdata.C}
|
DataSource {paradlgdata.C}
|
||||||
DataName {ParaDialogData}
|
DataName {ParaDialogData}
|
||||||
WindowBaseClass {QWidget}
|
WindowBaseClass {QDialog}
|
||||||
UseGetText {true}
|
UseGetText {true}
|
||||||
WindowFlags {0}
|
WindowFlags {0}
|
||||||
}
|
}
|
||||||
@ -46,29 +46,6 @@ PushButton {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
User {
|
|
||||||
UserClassHeader {tabstack.h}
|
|
||||||
UserClassName {TabStack}
|
|
||||||
Rect {5 5 630 545}
|
|
||||||
Name {User_1}
|
|
||||||
Variable {tabstack}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {false}
|
|
||||||
FocusPolicy {NoFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {false}
|
ToggleButton {false}
|
||||||
Default {false}
|
Default {false}
|
||||||
@ -156,6 +133,29 @@ PushButton {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {tabstack.h}
|
||||||
|
UserClassName {TabStack}
|
||||||
|
Rect {5 5 630 545}
|
||||||
|
Name {User_1}
|
||||||
|
Variable {tabstack}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
|
||||||
Box_Layout-1{
|
Box_Layout-1{
|
||||||
Direction {TopToBottom}
|
Direction {TopToBottom}
|
||||||
|
@ -124,7 +124,7 @@ ComboBox {
|
|||||||
PalettePropagation {AllChildren}
|
PalettePropagation {AllChildren}
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
Text {Value}
|
Text {Size}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
@ -152,7 +152,7 @@ Label {
|
|||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
Text {Plus}
|
Text {Stretch}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
@ -180,7 +180,7 @@ Label {
|
|||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
Text {Minus}
|
Text {Shrink}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
|
@ -124,7 +124,7 @@ ComboBox {
|
|||||||
PalettePropagation {AllChildren}
|
PalettePropagation {AllChildren}
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
Text {Value}
|
Text {Size}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
@ -152,7 +152,7 @@ Label {
|
|||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
Text {Plus}
|
Text {Stretch}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
@ -180,7 +180,7 @@ Label {
|
|||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
Text {Minus}
|
Text {Shrink}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
|
@ -17,34 +17,6 @@ MinSize {0 0}
|
|||||||
MaxSize {32767 32767}
|
MaxSize {32767 32767}
|
||||||
Grid {5}
|
Grid {5}
|
||||||
|
|
||||||
ButtonGroup {
|
|
||||||
Exclusive {true}
|
|
||||||
Title {Alignment}
|
|
||||||
Alignment {Left}
|
|
||||||
Style {49}
|
|
||||||
LineWidth {1}
|
|
||||||
MidLineWidth {0}
|
|
||||||
FrameMargin {0}
|
|
||||||
Rect {5 124 265 331}
|
|
||||||
Name {specialalignment}
|
|
||||||
Variable {specialalignment}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {false}
|
|
||||||
minHeightSizeHint {false}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {false}
|
|
||||||
FocusPolicy {NoFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
ComboBox {
|
ComboBox {
|
||||||
Style {ReadOnly}
|
Style {ReadOnly}
|
||||||
SizeLimit {10}
|
SizeLimit {10}
|
||||||
@ -129,6 +101,32 @@ Label {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
|
KDE::KRestrictedLine {
|
||||||
|
ValidChars {0123456789.-,}
|
||||||
|
Text {}
|
||||||
|
EchoMode {Normal}
|
||||||
|
MaxLength {32767}
|
||||||
|
FrameShown {true}
|
||||||
|
Rect {275 65 87 54}
|
||||||
|
Name {widthvalue}
|
||||||
|
Variable {widthvalue}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
ComboBox {
|
ComboBox {
|
||||||
Style {ReadOnly}
|
Style {ReadOnly}
|
||||||
SizeLimit {10}
|
SizeLimit {10}
|
||||||
@ -156,14 +154,17 @@ ComboBox {
|
|||||||
FontPropagation {AllChildren}
|
FontPropagation {AllChildren}
|
||||||
PalettePropagation {AllChildren}
|
PalettePropagation {AllChildren}
|
||||||
}
|
}
|
||||||
CheckBox {
|
ButtonGroup {
|
||||||
Checked {false}
|
Exclusive {true}
|
||||||
Text {&HFill between minipage paragraphs}
|
Title {Alignment}
|
||||||
AutoRepeat {false}
|
Alignment {Left}
|
||||||
AutoResize {false}
|
Style {49}
|
||||||
Rect {275 189 265 65}
|
LineWidth {1}
|
||||||
Name {hfillbetween}
|
MidLineWidth {0}
|
||||||
Variable {hfillbetween}
|
FrameMargin {0}
|
||||||
|
Rect {5 124 265 331}
|
||||||
|
Name {specialalignment}
|
||||||
|
Variable {specialalignment}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
@ -172,36 +173,11 @@ CheckBox {
|
|||||||
ReadPixmapFromData {false}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {true}
|
minWidthSizeHint {false}
|
||||||
minHeightSizeHint {true}
|
minHeightSizeHint {false}
|
||||||
maxWidthSizeHint {true}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {true}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
CheckBox {
|
|
||||||
Checked {false}
|
|
||||||
Text {&Start new minipage}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {false}
|
|
||||||
Rect {275 325 265 65}
|
|
||||||
Name {startnewminipage}
|
|
||||||
Variable {startnewminipage}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
@ -281,15 +257,14 @@ RadioButton {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
KDE::KRestrictedLine {
|
CheckBox {
|
||||||
ValidChars {0123456789.-,}
|
Checked {false}
|
||||||
Text {}
|
Text {&HFill between minipage paragraphs}
|
||||||
EchoMode {Normal}
|
AutoRepeat {false}
|
||||||
MaxLength {32767}
|
AutoResize {false}
|
||||||
FrameShown {true}
|
Rect {275 189 265 65}
|
||||||
Rect {275 65 87 54}
|
Name {hfillbetween}
|
||||||
Name {widthvalue}
|
Variable {hfillbetween}
|
||||||
Variable {widthvalue}
|
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
@ -300,10 +275,35 @@ KDE::KRestrictedLine {
|
|||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {true}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {true}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {false}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {true}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBase}
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {&Start new minipage}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {275 325 265 65}
|
||||||
|
Name {startnewminipage}
|
||||||
|
Variable {startnewminipage}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
|
@ -12,22 +12,44 @@ Dialog {
|
|||||||
}
|
}
|
||||||
WidgetLayout {
|
WidgetLayout {
|
||||||
InitialPos {-1 -1}
|
InitialPos {-1 -1}
|
||||||
Size {750 550}
|
Size {615 500}
|
||||||
MinSize {0 0}
|
MinSize {0 0}
|
||||||
MaxSize {32767 32767}
|
MaxSize {32767 32767}
|
||||||
Grid {5}
|
Grid {5}
|
||||||
|
|
||||||
ButtonGroup {
|
ComboBox {
|
||||||
Exclusive {true}
|
Style {ReadOnly}
|
||||||
Title {Alignment}
|
SizeLimit {4}
|
||||||
Alignment {Left}
|
Policy {AtBottom}
|
||||||
Style {49}
|
AutoResize {false}
|
||||||
LineWidth {1}
|
MaxCount {4}
|
||||||
MidLineWidth {0}
|
AutoCompletion {false}
|
||||||
FrameMargin {0}
|
Rect {130 5 120 59}
|
||||||
Rect {5 5 123 375}
|
Name {justification}
|
||||||
Name {alignment}
|
Variable {justification}
|
||||||
Variable {alignment}
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {tabstack.h}
|
||||||
|
UserClassName {TabStack}
|
||||||
|
Rect {5 69 605 294}
|
||||||
|
Name {spacetab}
|
||||||
|
Variable {spacetab}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
@ -50,7 +72,7 @@ CheckBox {
|
|||||||
Text {Draw line above paragraph}
|
Text {Draw line above paragraph}
|
||||||
AutoRepeat {false}
|
AutoRepeat {false}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Rect {5 385 365 50}
|
Rect {5 368 298 39}
|
||||||
Name {lineabove}
|
Name {lineabove}
|
||||||
Variable {lineabove}
|
Variable {lineabove}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -75,7 +97,7 @@ CheckBox {
|
|||||||
Text {Draw line below paragraph}
|
Text {Draw line below paragraph}
|
||||||
AutoRepeat {false}
|
AutoRepeat {false}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Rect {5 440 365 50}
|
Rect {5 412 298 39}
|
||||||
Name {linebelow}
|
Name {linebelow}
|
||||||
Variable {linebelow}
|
Variable {linebelow}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -100,7 +122,7 @@ CheckBox {
|
|||||||
Text {Don't indent paragraph}
|
Text {Don't indent paragraph}
|
||||||
AutoRepeat {false}
|
AutoRepeat {false}
|
||||||
AutoResize {false}
|
AutoResize {false}
|
||||||
Rect {5 495 365 50}
|
Rect {5 456 298 39}
|
||||||
Name {noindent}
|
Name {noindent}
|
||||||
Variable {noindent}
|
Variable {noindent}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -120,106 +142,6 @@ CheckBox {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
|
||||||
Checked {false}
|
|
||||||
Text {Block}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {false}
|
|
||||||
Rect {10 62 113 37}
|
|
||||||
Name {block}
|
|
||||||
Variable {block}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
RadioButton {
|
|
||||||
Checked {false}
|
|
||||||
Text {Center}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {false}
|
|
||||||
Rect {10 142 113 37}
|
|
||||||
Name {center}
|
|
||||||
Variable {center}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
RadioButton {
|
|
||||||
Checked {false}
|
|
||||||
Text {Left}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {false}
|
|
||||||
Rect {10 221 113 37}
|
|
||||||
Name {left}
|
|
||||||
Variable {left}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
RadioButton {
|
|
||||||
Checked {false}
|
|
||||||
Text {Right}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {false}
|
|
||||||
Rect {10 301 113 37}
|
|
||||||
Name {right}
|
|
||||||
Variable {right}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
Label {
|
Label {
|
||||||
Text {Label width}
|
Text {Label width}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
@ -229,7 +151,7 @@ Label {
|
|||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
MidLineWidth {0}
|
MidLineWidth {0}
|
||||||
FrameMargin {0}
|
FrameMargin {0}
|
||||||
Rect {375 385 183 160}
|
Rect {308 368 149 127}
|
||||||
Name {labelwidthlabel}
|
Name {labelwidthlabel}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
@ -253,7 +175,7 @@ LineEdit {
|
|||||||
EchoMode {Normal}
|
EchoMode {Normal}
|
||||||
MaxLength {32767}
|
MaxLength {32767}
|
||||||
FrameShown {true}
|
FrameShown {true}
|
||||||
Rect {563 385 182 160}
|
Rect {462 368 148 127}
|
||||||
Name {labelwidth}
|
Name {labelwidth}
|
||||||
Variable {labelwidth}
|
Variable {labelwidth}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
@ -273,12 +195,17 @@ LineEdit {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
User {
|
Label {
|
||||||
UserClassHeader {tabstack.h}
|
Text {Justification}
|
||||||
UserClassName {TabStack}
|
Alignment {289}
|
||||||
Rect {133 5 612 375}
|
AutoResize {false}
|
||||||
Name {spacetab}
|
Margin {-1}
|
||||||
Variable {spacetab}
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 5 120 59}
|
||||||
|
Name {labelJustification}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
@ -289,8 +216,8 @@ User {
|
|||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {true}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {true}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {false}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {false}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -311,65 +238,35 @@ Box_Layout-1.1{
|
|||||||
AutoBorder {5}
|
AutoBorder {5}
|
||||||
Name {}
|
Name {}
|
||||||
Strut {0}
|
Strut {0}
|
||||||
Stretch {5}
|
Stretch {1}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.1.1{
|
Layout_Widget-1.1.1{
|
||||||
Widget {alignment}
|
Widget {labelJustification}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {33}
|
Alignment {36}
|
||||||
}
|
|
||||||
Box_Layout-1.1.1.1{
|
|
||||||
Direction {TopToBottom}
|
|
||||||
Border {5}
|
|
||||||
AutoBorder {5}
|
|
||||||
Name {}
|
|
||||||
Strut {0}
|
|
||||||
Stretch {1}
|
|
||||||
}
|
|
||||||
Box_Spacing-1.1.1.1.1{
|
|
||||||
Spacing {15}
|
|
||||||
}
|
|
||||||
Box_Stretch-1.1.1.1.2{
|
|
||||||
Stretch {1}
|
|
||||||
}
|
|
||||||
Layout_Widget-1.1.1.1.3{
|
|
||||||
Widget {block}
|
|
||||||
BoxStretch {1}
|
|
||||||
Alignment {1}
|
|
||||||
}
|
|
||||||
Box_Stretch-1.1.1.1.4{
|
|
||||||
Stretch {1}
|
|
||||||
}
|
|
||||||
Layout_Widget-1.1.1.1.5{
|
|
||||||
Widget {center}
|
|
||||||
BoxStretch {1}
|
|
||||||
Alignment {1}
|
|
||||||
}
|
|
||||||
Box_Stretch-1.1.1.1.6{
|
|
||||||
Stretch {1}
|
|
||||||
}
|
|
||||||
Layout_Widget-1.1.1.1.7{
|
|
||||||
Widget {left}
|
|
||||||
BoxStretch {1}
|
|
||||||
Alignment {1}
|
|
||||||
}
|
|
||||||
Box_Stretch-1.1.1.1.8{
|
|
||||||
Stretch {1}
|
|
||||||
}
|
|
||||||
Layout_Widget-1.1.1.1.9{
|
|
||||||
Widget {right}
|
|
||||||
BoxStretch {1}
|
|
||||||
Alignment {1}
|
|
||||||
}
|
|
||||||
Box_Stretch-1.1.1.1.10{
|
|
||||||
Stretch {1}
|
|
||||||
}
|
}
|
||||||
Layout_Widget-1.1.2{
|
Layout_Widget-1.1.2{
|
||||||
Widget {spacetab}
|
Widget {justification}
|
||||||
BoxStretch {5}
|
BoxStretch {1}
|
||||||
Alignment {36}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
|
Box_Stretch-1.1.3{
|
||||||
|
Stretch {3}
|
||||||
|
}
|
||||||
Box_Layout-1.2{
|
Box_Layout-1.2{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {5}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.1{
|
||||||
|
Widget {spacetab}
|
||||||
|
BoxStretch {5}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Layout-1.3{
|
||||||
Direction {LeftToRight}
|
Direction {LeftToRight}
|
||||||
Border {5}
|
Border {5}
|
||||||
AutoBorder {5}
|
AutoBorder {5}
|
||||||
@ -377,7 +274,7 @@ Box_Layout-1.2{
|
|||||||
Strut {0}
|
Strut {0}
|
||||||
Stretch {2}
|
Stretch {2}
|
||||||
}
|
}
|
||||||
Box_Layout-1.2.1{
|
Box_Layout-1.3.1{
|
||||||
Direction {TopToBottom}
|
Direction {TopToBottom}
|
||||||
Border {5}
|
Border {5}
|
||||||
AutoBorder {5}
|
AutoBorder {5}
|
||||||
@ -385,22 +282,22 @@ Box_Layout-1.2.1{
|
|||||||
Strut {0}
|
Strut {0}
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.2.1.1{
|
Layout_Widget-1.3.1.1{
|
||||||
Widget {lineabove}
|
Widget {lineabove}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {1}
|
Alignment {1}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.2.1.2{
|
Layout_Widget-1.3.1.2{
|
||||||
Widget {linebelow}
|
Widget {linebelow}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {1}
|
Alignment {1}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.2.1.3{
|
Layout_Widget-1.3.1.3{
|
||||||
Widget {noindent}
|
Widget {noindent}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {1}
|
Alignment {1}
|
||||||
}
|
}
|
||||||
Box_Layout-1.2.2{
|
Box_Layout-1.3.2{
|
||||||
Direction {LeftToRight}
|
Direction {LeftToRight}
|
||||||
Border {5}
|
Border {5}
|
||||||
AutoBorder {5}
|
AutoBorder {5}
|
||||||
@ -408,12 +305,12 @@ Box_Layout-1.2.2{
|
|||||||
Strut {0}
|
Strut {0}
|
||||||
Stretch {1}
|
Stretch {1}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.2.2.1{
|
Layout_Widget-1.3.2.1{
|
||||||
Widget {labelwidthlabel}
|
Widget {labelwidthlabel}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {36}
|
Alignment {36}
|
||||||
}
|
}
|
||||||
Layout_Widget-1.2.2.2{
|
Layout_Widget-1.3.2.2{
|
||||||
Widget {labelwidth}
|
Widget {labelwidth}
|
||||||
BoxStretch {1}
|
BoxStretch {1}
|
||||||
Alignment {36}
|
Alignment {36}
|
||||||
|
@ -6,7 +6,7 @@ Dialog {
|
|||||||
DataHeader {printdlgdata.h}
|
DataHeader {printdlgdata.h}
|
||||||
DataSource {printdlgdata.C}
|
DataSource {printdlgdata.C}
|
||||||
DataName {PrintDialogData}
|
DataName {PrintDialogData}
|
||||||
WindowBaseClass {QWidget}
|
WindowBaseClass {QDialog}
|
||||||
UseGetText {true}
|
UseGetText {true}
|
||||||
WindowFlags {0}
|
WindowFlags {0}
|
||||||
}
|
}
|
||||||
@ -185,7 +185,7 @@ PushButton {
|
|||||||
}
|
}
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {false}
|
ToggleButton {false}
|
||||||
Default {false}
|
Default {true}
|
||||||
AutoDefault {false}
|
AutoDefault {false}
|
||||||
IsMenuButton {false}
|
IsMenuButton {false}
|
||||||
Text {&Cancel}
|
Text {&Cancel}
|
||||||
@ -237,6 +237,31 @@ RadioButton {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
|
RadioButton {
|
||||||
|
Checked {false}
|
||||||
|
Text {&Odd pages}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {15 96 142 14}
|
||||||
|
Name {oddpages}
|
||||||
|
Variable {oddpages}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
RadioButton {
|
RadioButton {
|
||||||
Checked {false}
|
Checked {false}
|
||||||
Text {&Even pages}
|
Text {&Even pages}
|
||||||
@ -287,6 +312,107 @@ KDE::KIntLineEdit {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
|
KDE::KIntLineEdit {
|
||||||
|
Text {}
|
||||||
|
EchoMode {Normal}
|
||||||
|
MaxLength {32767}
|
||||||
|
FrameShown {true}
|
||||||
|
Rect {113 204 49 31}
|
||||||
|
Name {to}
|
||||||
|
Variable {to}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {&Reverse order}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {true}
|
||||||
|
Rect {10 240 152 30}
|
||||||
|
Name {reverse}
|
||||||
|
Variable {reverse}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
KDE::KIntLineEdit {
|
||||||
|
Text {}
|
||||||
|
EchoMode {Normal}
|
||||||
|
MaxLength {32767}
|
||||||
|
FrameShown {true}
|
||||||
|
Rect {334 17 50 46}
|
||||||
|
Name {count}
|
||||||
|
Variable {count}
|
||||||
|
Signal {[Protected] textChanged --> changedCount (const char*)}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Co&llate}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {true}
|
||||||
|
Rect {440 17 50 46}
|
||||||
|
Name {sort}
|
||||||
|
Variable {sort}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
Label {
|
Label {
|
||||||
Text {From}
|
Text {From}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
@ -345,31 +471,6 @@ Label {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
|
||||||
Checked {false}
|
|
||||||
Text {&Odd pages}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {false}
|
|
||||||
Rect {15 96 142 14}
|
|
||||||
Name {oddpages}
|
|
||||||
Variable {oddpages}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
RadioButton {
|
RadioButton {
|
||||||
Checked {false}
|
Checked {false}
|
||||||
Text {&Printer}
|
Text {&Printer}
|
||||||
@ -445,31 +546,6 @@ LineEdit {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
CheckBox {
|
|
||||||
Checked {false}
|
|
||||||
Text {&Reverse order}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {true}
|
|
||||||
Rect {10 240 152 30}
|
|
||||||
Name {reverse}
|
|
||||||
Variable {reverse}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
LineEdit {
|
LineEdit {
|
||||||
Text {}
|
Text {}
|
||||||
EchoMode {Normal}
|
EchoMode {Normal}
|
||||||
@ -495,31 +571,6 @@ LineEdit {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
CheckBox {
|
|
||||||
Checked {false}
|
|
||||||
Text {Co&llate}
|
|
||||||
AutoRepeat {false}
|
|
||||||
AutoResize {true}
|
|
||||||
Rect {440 17 50 46}
|
|
||||||
Name {sort}
|
|
||||||
Variable {sort}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {true}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {TabFocus}
|
|
||||||
BackgroundMode {PaletteBackground}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {false}
|
ToggleButton {false}
|
||||||
Default {false}
|
Default {false}
|
||||||
@ -549,32 +600,6 @@ PushButton {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
KDE::KIntLineEdit {
|
|
||||||
Text {}
|
|
||||||
EchoMode {Normal}
|
|
||||||
MaxLength {32767}
|
|
||||||
FrameShown {true}
|
|
||||||
Rect {334 17 50 46}
|
|
||||||
Name {count}
|
|
||||||
Variable {count}
|
|
||||||
Signal {[Protected] textChanged --> changedCount (const char*)}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {StrongFocus}
|
|
||||||
BackgroundMode {PaletteBase}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
Label {
|
Label {
|
||||||
Text {Count}
|
Text {Count}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
@ -604,31 +629,6 @@ Label {
|
|||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
KDE::KIntLineEdit {
|
|
||||||
Text {}
|
|
||||||
EchoMode {Normal}
|
|
||||||
MaxLength {32767}
|
|
||||||
FrameShown {true}
|
|
||||||
Rect {113 204 49 31}
|
|
||||||
Name {to}
|
|
||||||
Variable {to}
|
|
||||||
MinimumSize {0 0}
|
|
||||||
MaximumSize {32767 32767}
|
|
||||||
BackgroundPixmap {}
|
|
||||||
UseBackgroundPixmap {false}
|
|
||||||
AdjustSize {false}
|
|
||||||
ReadPixmapFromData {false}
|
|
||||||
DataVarName {}
|
|
||||||
DataLenName {}
|
|
||||||
minWidthSizeHint {true}
|
|
||||||
minHeightSizeHint {true}
|
|
||||||
maxWidthSizeHint {false}
|
|
||||||
maxHeightSizeHint {true}
|
|
||||||
FocusPolicy {StrongFocus}
|
|
||||||
BackgroundMode {PaletteBase}
|
|
||||||
FontPropagation {NoChildren}
|
|
||||||
PalettePropagation {NoChildren}
|
|
||||||
}
|
|
||||||
|
|
||||||
Grid_Layout-1{
|
Grid_Layout-1{
|
||||||
Border {5}
|
Border {5}
|
||||||
|
@ -6,7 +6,7 @@ Dialog {
|
|||||||
DataHeader {tabcreatedlgdata.h}
|
DataHeader {tabcreatedlgdata.h}
|
||||||
DataSource {tabcreatedlgdata.C}
|
DataSource {tabcreatedlgdata.C}
|
||||||
DataName {TabularCreateDialogData}
|
DataName {TabularCreateDialogData}
|
||||||
WindowBaseClass {QWidget}
|
WindowBaseClass {QDialog}
|
||||||
UseGetText {true}
|
UseGetText {true}
|
||||||
WindowFlags {0}
|
WindowFlags {0}
|
||||||
}
|
}
|
||||||
@ -19,7 +19,7 @@ Grid {5}
|
|||||||
|
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {false}
|
ToggleButton {false}
|
||||||
Default {false}
|
Default {true}
|
||||||
AutoDefault {false}
|
AutoDefault {false}
|
||||||
IsMenuButton {false}
|
IsMenuButton {false}
|
||||||
Text {&Insert}
|
Text {&Insert}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: docbulletsdlgdata.C
|
File: docbulletsdlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:27 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: docbulletsdlgdata.h
|
File: docbulletsdlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:27 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: docdlgdata.C
|
File: docdlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:22 2001
|
Last generated: Sat Feb 10 21:28:59 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -16,7 +16,7 @@
|
|||||||
#include <qlayout.h>
|
#include <qlayout.h>
|
||||||
#include "docdlgdata.h"
|
#include "docdlgdata.h"
|
||||||
|
|
||||||
#define Inherited QWidget
|
#define Inherited QDialog
|
||||||
|
|
||||||
|
|
||||||
DocDialogData::DocDialogData
|
DocDialogData::DocDialogData
|
||||||
@ -25,7 +25,7 @@ DocDialogData::DocDialogData
|
|||||||
const char* name
|
const char* name
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
Inherited( parent, name, 0 )
|
Inherited( parent, name, TRUE, 0 )
|
||||||
{
|
{
|
||||||
ok = new QPushButton( this, "OK" );
|
ok = new QPushButton( this, "OK" );
|
||||||
ok->setGeometry( 73, 555, 69, 55 );
|
ok->setGeometry( 73, 555, 69, 55 );
|
||||||
@ -44,15 +44,6 @@ DocDialogData::DocDialogData
|
|||||||
ok->setAutoDefault( false );
|
ok->setAutoDefault( false );
|
||||||
ok->setIsMenuButton( false );
|
ok->setIsMenuButton( false );
|
||||||
|
|
||||||
tabstack = new TabStack( this, "User_1" );
|
|
||||||
tabstack->setGeometry( 5, 5, 630, 545 );
|
|
||||||
tabstack->setMinimumSize( 0, 0 );
|
|
||||||
tabstack->setMaximumSize( 32767, 32767 );
|
|
||||||
tabstack->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
tabstack->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
tabstack->setFontPropagation( QWidget::NoChildren );
|
|
||||||
tabstack->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
|
|
||||||
apply = new QPushButton( this, "apply" );
|
apply = new QPushButton( this, "apply" );
|
||||||
apply->setGeometry( 215, 555, 68, 55 );
|
apply->setGeometry( 215, 555, 68, 55 );
|
||||||
apply->setMinimumSize( 0, 0 );
|
apply->setMinimumSize( 0, 0 );
|
||||||
@ -104,6 +95,15 @@ DocDialogData::DocDialogData
|
|||||||
cancel->setAutoDefault( false );
|
cancel->setAutoDefault( false );
|
||||||
cancel->setIsMenuButton( false );
|
cancel->setIsMenuButton( false );
|
||||||
|
|
||||||
|
tabstack = new TabStack( this, "User_1" );
|
||||||
|
tabstack->setGeometry( 5, 5, 630, 545 );
|
||||||
|
tabstack->setMinimumSize( 0, 0 );
|
||||||
|
tabstack->setMaximumSize( 32767, 32767 );
|
||||||
|
tabstack->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
tabstack->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
tabstack->setFontPropagation( QWidget::NoChildren );
|
||||||
|
tabstack->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
if (ok->sizeHint().width()!=-1)
|
if (ok->sizeHint().width()!=-1)
|
||||||
ok->setMinimumWidth(ok->sizeHint().width());
|
ok->setMinimumWidth(ok->sizeHint().width());
|
||||||
if (ok->sizeHint().height()!=-1)
|
if (ok->sizeHint().height()!=-1)
|
||||||
@ -112,10 +112,6 @@ DocDialogData::DocDialogData
|
|||||||
ok->setMaximumWidth(ok->sizeHint().width());
|
ok->setMaximumWidth(ok->sizeHint().width());
|
||||||
if (ok->sizeHint().height()!=-1)
|
if (ok->sizeHint().height()!=-1)
|
||||||
ok->setMaximumHeight(ok->sizeHint().height());
|
ok->setMaximumHeight(ok->sizeHint().height());
|
||||||
if (tabstack->sizeHint().width()!=-1)
|
|
||||||
tabstack->setMinimumWidth(tabstack->sizeHint().width());
|
|
||||||
if (tabstack->sizeHint().height()!=-1)
|
|
||||||
tabstack->setMinimumHeight(tabstack->sizeHint().height());
|
|
||||||
if (apply->sizeHint().width()!=-1)
|
if (apply->sizeHint().width()!=-1)
|
||||||
apply->setMinimumWidth(apply->sizeHint().width());
|
apply->setMinimumWidth(apply->sizeHint().width());
|
||||||
if (apply->sizeHint().height()!=-1)
|
if (apply->sizeHint().height()!=-1)
|
||||||
@ -140,6 +136,10 @@ DocDialogData::DocDialogData
|
|||||||
cancel->setMaximumWidth(cancel->sizeHint().width());
|
cancel->setMaximumWidth(cancel->sizeHint().width());
|
||||||
if (cancel->sizeHint().height()!=-1)
|
if (cancel->sizeHint().height()!=-1)
|
||||||
cancel->setMaximumHeight(cancel->sizeHint().height());
|
cancel->setMaximumHeight(cancel->sizeHint().height());
|
||||||
|
if (tabstack->sizeHint().width()!=-1)
|
||||||
|
tabstack->setMinimumWidth(tabstack->sizeHint().width());
|
||||||
|
if (tabstack->sizeHint().height()!=-1)
|
||||||
|
tabstack->setMinimumHeight(tabstack->sizeHint().height());
|
||||||
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
qtarch_layout_1->addStrut( 0 );
|
qtarch_layout_1->addStrut( 0 );
|
||||||
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: docdlgdata.h
|
File: docdlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:22 2001
|
Last generated: Sat Feb 10 21:28:59 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -13,11 +13,11 @@
|
|||||||
#ifndef DocDialogData_included
|
#ifndef DocDialogData_included
|
||||||
#define DocDialogData_included
|
#define DocDialogData_included
|
||||||
|
|
||||||
#include <qwidget.h>
|
#include <qdialog.h>
|
||||||
#include "tabstack.h"
|
#include "tabstack.h"
|
||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
|
|
||||||
class DocDialogData : public QWidget
|
class DocDialogData : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
@ -43,10 +43,10 @@ protected slots:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
QPushButton* ok;
|
QPushButton* ok;
|
||||||
TabStack* tabstack;
|
|
||||||
QPushButton* apply;
|
QPushButton* apply;
|
||||||
QPushButton* restore;
|
QPushButton* restore;
|
||||||
QPushButton* cancel;
|
QPushButton* cancel;
|
||||||
|
TabStack* tabstack;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: docextradlgdata.C
|
File: docextradlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:31 2001
|
Last generated: Sat Feb 10 23:32:07 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -19,6 +19,7 @@
|
|||||||
#define Inherited QWidget
|
#define Inherited QWidget
|
||||||
|
|
||||||
#include <qlabel.h>
|
#include <qlabel.h>
|
||||||
|
#include <qgroupbox.h>
|
||||||
|
|
||||||
DocExtraDialogData::DocExtraDialogData
|
DocExtraDialogData::DocExtraDialogData
|
||||||
(
|
(
|
||||||
@ -28,39 +29,90 @@ DocExtraDialogData::DocExtraDialogData
|
|||||||
:
|
:
|
||||||
Inherited( parent, name, 0 )
|
Inherited( parent, name, 0 )
|
||||||
{
|
{
|
||||||
QLabel* qtarch_labelFloatplacement;
|
QGroupBox* qtarch_placementBox;
|
||||||
qtarch_labelFloatplacement = new QLabel( this, "labelFloatplacement" );
|
qtarch_placementBox = new QGroupBox( this, "placementBox" );
|
||||||
qtarch_labelFloatplacement->setGeometry( 5, 5, 105, 86 );
|
qtarch_placementBox->setGeometry( 5, 5, 625, 378 );
|
||||||
qtarch_labelFloatplacement->setMinimumSize( 0, 0 );
|
qtarch_placementBox->setMinimumSize( 25, 30 );
|
||||||
qtarch_labelFloatplacement->setMaximumSize( 32767, 32767 );
|
qtarch_placementBox->setMaximumSize( 32767, 32767 );
|
||||||
qtarch_labelFloatplacement->setFocusPolicy( QWidget::NoFocus );
|
qtarch_placementBox->setFocusPolicy( QWidget::NoFocus );
|
||||||
qtarch_labelFloatplacement->setBackgroundMode( QWidget::PaletteBackground );
|
qtarch_placementBox->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
qtarch_labelFloatplacement->setFontPropagation( QWidget::NoChildren );
|
qtarch_placementBox->setFontPropagation( QWidget::NoChildren );
|
||||||
qtarch_labelFloatplacement->setPalettePropagation( QWidget::NoChildren );
|
qtarch_placementBox->setPalettePropagation( QWidget::NoChildren );
|
||||||
qtarch_labelFloatplacement->setFrameStyle( 0 );
|
qtarch_placementBox->setFrameStyle( 49 );
|
||||||
qtarch_labelFloatplacement->setLineWidth( 1 );
|
qtarch_placementBox->setLineWidth( 1 );
|
||||||
qtarch_labelFloatplacement->setMidLineWidth( 0 );
|
qtarch_placementBox->setMidLineWidth( 0 );
|
||||||
qtarch_labelFloatplacement->QFrame::setMargin( 0 );
|
qtarch_placementBox->QFrame::setMargin( 0 );
|
||||||
qtarch_labelFloatplacement->setText( _("Float placement : (FIXME)") );
|
qtarch_placementBox->setTitle( _("Float Placement") );
|
||||||
qtarch_labelFloatplacement->setAlignment( 289 );
|
qtarch_placementBox->setAlignment( 1 );
|
||||||
qtarch_labelFloatplacement->setMargin( -1 );
|
|
||||||
|
|
||||||
floatplacement = new QLineEdit( this, "floatplacement" );
|
first = new QComboBox( FALSE, qtarch_placementBox, "first" );
|
||||||
floatplacement->setGeometry( 225, 5, 205, 86 );
|
first->setGeometry( 315, 5, 150, 65 );
|
||||||
floatplacement->setMinimumSize( 0, 0 );
|
first->setMinimumSize( 0, 0 );
|
||||||
floatplacement->setMaximumSize( 32767, 32767 );
|
first->setMaximumSize( 32767, 32767 );
|
||||||
floatplacement->setFocusPolicy( QWidget::StrongFocus );
|
first->setFocusPolicy( QWidget::StrongFocus );
|
||||||
floatplacement->setBackgroundMode( QWidget::PaletteBase );
|
first->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
floatplacement->setFontPropagation( QWidget::NoChildren );
|
first->setFontPropagation( QWidget::AllChildren );
|
||||||
floatplacement->setPalettePropagation( QWidget::NoChildren );
|
first->setPalettePropagation( QWidget::AllChildren );
|
||||||
floatplacement->setText( "" );
|
first->setSizeLimit( 10 );
|
||||||
floatplacement->setMaxLength( 32767 );
|
first->setAutoResize( false );
|
||||||
floatplacement->setFrame( QLineEdit::Normal );
|
first->setMaxCount( 2147483647 );
|
||||||
floatplacement->setFrame( true );
|
first->setAutoCompletion( false );
|
||||||
|
|
||||||
|
second = new QComboBox( FALSE, qtarch_placementBox, "second" );
|
||||||
|
second->setGeometry( 315, 75, 150, 66 );
|
||||||
|
second->setMinimumSize( 0, 0 );
|
||||||
|
second->setMaximumSize( 32767, 32767 );
|
||||||
|
second->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
second->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
second->setFontPropagation( QWidget::AllChildren );
|
||||||
|
second->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
second->setSizeLimit( 10 );
|
||||||
|
second->setAutoResize( false );
|
||||||
|
second->setMaxCount( 2147483647 );
|
||||||
|
second->setAutoCompletion( false );
|
||||||
|
|
||||||
|
third = new QComboBox( FALSE, qtarch_placementBox, "third" );
|
||||||
|
third->setGeometry( 315, 146, 150, 65 );
|
||||||
|
third->setMinimumSize( 0, 0 );
|
||||||
|
third->setMaximumSize( 32767, 32767 );
|
||||||
|
third->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
third->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
third->setFontPropagation( QWidget::AllChildren );
|
||||||
|
third->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
third->setSizeLimit( 10 );
|
||||||
|
third->setAutoResize( false );
|
||||||
|
third->setMaxCount( 2147483647 );
|
||||||
|
third->setAutoCompletion( false );
|
||||||
|
|
||||||
|
fourth = new QComboBox( FALSE, qtarch_placementBox, "fourth" );
|
||||||
|
fourth->setGeometry( 315, 216, 150, 65 );
|
||||||
|
fourth->setMinimumSize( 0, 0 );
|
||||||
|
fourth->setMaximumSize( 32767, 32767 );
|
||||||
|
fourth->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
fourth->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
fourth->setFontPropagation( QWidget::AllChildren );
|
||||||
|
fourth->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
fourth->setSizeLimit( 10 );
|
||||||
|
fourth->setAutoResize( false );
|
||||||
|
fourth->setMaxCount( 2147483647 );
|
||||||
|
fourth->setAutoCompletion( false );
|
||||||
|
|
||||||
|
ignore = new QCheckBox( qtarch_placementBox, "ignore" );
|
||||||
|
ignore->setGeometry( 5, 286, 615, 87 );
|
||||||
|
ignore->setMinimumSize( 0, 0 );
|
||||||
|
ignore->setMaximumSize( 32767, 32767 );
|
||||||
|
ignore->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
ignore->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
ignore->setFontPropagation( QWidget::NoChildren );
|
||||||
|
ignore->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
ignore->setText( _("Ignore LaTeX placement rules") );
|
||||||
|
ignore->setAutoRepeat( false );
|
||||||
|
ignore->setAutoResize( false );
|
||||||
|
ignore->setChecked( false );
|
||||||
|
|
||||||
QLabel* qtarch_labelsectiondepth;
|
QLabel* qtarch_labelsectiondepth;
|
||||||
qtarch_labelsectiondepth = new QLabel( this, "labelsectiondepth" );
|
qtarch_labelsectiondepth = new QLabel( this, "labelsectiondepth" );
|
||||||
qtarch_labelsectiondepth->setGeometry( 5, 96, 105, 86 );
|
qtarch_labelsectiondepth->setGeometry( 5, 388, 153, 58 );
|
||||||
qtarch_labelsectiondepth->setMinimumSize( 0, 0 );
|
qtarch_labelsectiondepth->setMinimumSize( 0, 0 );
|
||||||
qtarch_labelsectiondepth->setMaximumSize( 32767, 32767 );
|
qtarch_labelsectiondepth->setMaximumSize( 32767, 32767 );
|
||||||
qtarch_labelsectiondepth->setFocusPolicy( QWidget::NoFocus );
|
qtarch_labelsectiondepth->setFocusPolicy( QWidget::NoFocus );
|
||||||
@ -77,7 +129,7 @@ DocExtraDialogData::DocExtraDialogData
|
|||||||
|
|
||||||
QLabel* qtarch_labeltocdepth;
|
QLabel* qtarch_labeltocdepth;
|
||||||
qtarch_labeltocdepth = new QLabel( this, "labeltocdepth" );
|
qtarch_labeltocdepth = new QLabel( this, "labeltocdepth" );
|
||||||
qtarch_labeltocdepth->setGeometry( 5, 187, 105, 86 );
|
qtarch_labeltocdepth->setGeometry( 5, 451, 153, 58 );
|
||||||
qtarch_labeltocdepth->setMinimumSize( 0, 0 );
|
qtarch_labeltocdepth->setMinimumSize( 0, 0 );
|
||||||
qtarch_labeltocdepth->setMaximumSize( 32767, 32767 );
|
qtarch_labeltocdepth->setMaximumSize( 32767, 32767 );
|
||||||
qtarch_labeltocdepth->setFocusPolicy( QWidget::NoFocus );
|
qtarch_labeltocdepth->setFocusPolicy( QWidget::NoFocus );
|
||||||
@ -94,7 +146,7 @@ DocExtraDialogData::DocExtraDialogData
|
|||||||
|
|
||||||
QLabel* qtarch_labelPSDriver;
|
QLabel* qtarch_labelPSDriver;
|
||||||
qtarch_labelPSDriver = new QLabel( this, "labelPSDriver" );
|
qtarch_labelPSDriver = new QLabel( this, "labelPSDriver" );
|
||||||
qtarch_labelPSDriver->setGeometry( 5, 278, 105, 86 );
|
qtarch_labelPSDriver->setGeometry( 5, 514, 153, 58 );
|
||||||
qtarch_labelPSDriver->setMinimumSize( 0, 0 );
|
qtarch_labelPSDriver->setMinimumSize( 0, 0 );
|
||||||
qtarch_labelPSDriver->setMaximumSize( 32767, 32767 );
|
qtarch_labelPSDriver->setMaximumSize( 32767, 32767 );
|
||||||
qtarch_labelPSDriver->setFocusPolicy( QWidget::NoFocus );
|
qtarch_labelPSDriver->setFocusPolicy( QWidget::NoFocus );
|
||||||
@ -109,21 +161,8 @@ DocExtraDialogData::DocExtraDialogData
|
|||||||
qtarch_labelPSDriver->setAlignment( 289 );
|
qtarch_labelPSDriver->setAlignment( 289 );
|
||||||
qtarch_labelPSDriver->setMargin( -1 );
|
qtarch_labelPSDriver->setMargin( -1 );
|
||||||
|
|
||||||
amsmath = new QCheckBox( this, "amsmath" );
|
|
||||||
amsmath->setGeometry( 5, 369, 105, 86 );
|
|
||||||
amsmath->setMinimumSize( 0, 0 );
|
|
||||||
amsmath->setMaximumSize( 32767, 32767 );
|
|
||||||
amsmath->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
amsmath->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
amsmath->setFontPropagation( QWidget::NoChildren );
|
|
||||||
amsmath->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
amsmath->setText( _("Use AMS Math") );
|
|
||||||
amsmath->setAutoRepeat( false );
|
|
||||||
amsmath->setAutoResize( false );
|
|
||||||
amsmath->setChecked( false );
|
|
||||||
|
|
||||||
sectiondepth = new QSpinBox( this, "sectiondepth" );
|
sectiondepth = new QSpinBox( this, "sectiondepth" );
|
||||||
sectiondepth->setGeometry( 225, 96, 205, 86 );
|
sectiondepth->setGeometry( 320, 388, 153, 58 );
|
||||||
sectiondepth->setMinimumSize( 0, 0 );
|
sectiondepth->setMinimumSize( 0, 0 );
|
||||||
sectiondepth->setMaximumSize( 32767, 32767 );
|
sectiondepth->setMaximumSize( 32767, 32767 );
|
||||||
sectiondepth->setFocusPolicy( QWidget::StrongFocus );
|
sectiondepth->setFocusPolicy( QWidget::StrongFocus );
|
||||||
@ -142,7 +181,7 @@ DocExtraDialogData::DocExtraDialogData
|
|||||||
sectiondepth->setWrapping( false );
|
sectiondepth->setWrapping( false );
|
||||||
|
|
||||||
tocdepth = new QSpinBox( this, "tocdepth" );
|
tocdepth = new QSpinBox( this, "tocdepth" );
|
||||||
tocdepth->setGeometry( 225, 187, 205, 86 );
|
tocdepth->setGeometry( 320, 451, 153, 58 );
|
||||||
tocdepth->setMinimumSize( 0, 0 );
|
tocdepth->setMinimumSize( 0, 0 );
|
||||||
tocdepth->setMaximumSize( 32767, 32767 );
|
tocdepth->setMaximumSize( 32767, 32767 );
|
||||||
tocdepth->setFocusPolicy( QWidget::StrongFocus );
|
tocdepth->setFocusPolicy( QWidget::StrongFocus );
|
||||||
@ -161,7 +200,7 @@ DocExtraDialogData::DocExtraDialogData
|
|||||||
tocdepth->setWrapping( false );
|
tocdepth->setWrapping( false );
|
||||||
|
|
||||||
psdriver = new QComboBox( FALSE, this, "psdriver" );
|
psdriver = new QComboBox( FALSE, this, "psdriver" );
|
||||||
psdriver->setGeometry( 225, 278, 205, 86 );
|
psdriver->setGeometry( 320, 514, 153, 58 );
|
||||||
psdriver->setMinimumSize( 0, 0 );
|
psdriver->setMinimumSize( 0, 0 );
|
||||||
psdriver->setMaximumSize( 32767, 32767 );
|
psdriver->setMaximumSize( 32767, 32767 );
|
||||||
psdriver->setFocusPolicy( QWidget::StrongFocus );
|
psdriver->setFocusPolicy( QWidget::StrongFocus );
|
||||||
@ -173,20 +212,123 @@ DocExtraDialogData::DocExtraDialogData
|
|||||||
psdriver->setMaxCount( 2147483647 );
|
psdriver->setMaxCount( 2147483647 );
|
||||||
psdriver->setAutoCompletion( false );
|
psdriver->setAutoCompletion( false );
|
||||||
|
|
||||||
if (qtarch_labelFloatplacement->sizeHint().width()!=-1)
|
amsmath = new QCheckBox( this, "amsmath" );
|
||||||
qtarch_labelFloatplacement->setMinimumWidth(qtarch_labelFloatplacement->sizeHint().width());
|
amsmath->setGeometry( 5, 577, 153, 58 );
|
||||||
if (qtarch_labelFloatplacement->sizeHint().height()!=-1)
|
amsmath->setMinimumSize( 0, 0 );
|
||||||
qtarch_labelFloatplacement->setMinimumHeight(qtarch_labelFloatplacement->sizeHint().height());
|
amsmath->setMaximumSize( 32767, 32767 );
|
||||||
if (qtarch_labelFloatplacement->sizeHint().width()!=-1)
|
amsmath->setFocusPolicy( QWidget::TabFocus );
|
||||||
qtarch_labelFloatplacement->setMaximumWidth(qtarch_labelFloatplacement->sizeHint().width());
|
amsmath->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
if (qtarch_labelFloatplacement->sizeHint().height()!=-1)
|
amsmath->setFontPropagation( QWidget::NoChildren );
|
||||||
qtarch_labelFloatplacement->setMaximumHeight(qtarch_labelFloatplacement->sizeHint().height());
|
amsmath->setPalettePropagation( QWidget::NoChildren );
|
||||||
if (floatplacement->sizeHint().width()!=-1)
|
amsmath->setText( _("Use AMS Math") );
|
||||||
floatplacement->setMinimumWidth(floatplacement->sizeHint().width());
|
amsmath->setAutoRepeat( false );
|
||||||
if (floatplacement->sizeHint().height()!=-1)
|
amsmath->setAutoResize( false );
|
||||||
floatplacement->setMinimumHeight(floatplacement->sizeHint().height());
|
amsmath->setChecked( false );
|
||||||
if (floatplacement->sizeHint().height()!=-1)
|
|
||||||
floatplacement->setMaximumHeight(floatplacement->sizeHint().height());
|
QLabel* qtarch_labelFirst;
|
||||||
|
qtarch_labelFirst = new QLabel( qtarch_placementBox, "labelFirst" );
|
||||||
|
qtarch_labelFirst->setGeometry( 5, 5, 150, 65 );
|
||||||
|
qtarch_labelFirst->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_labelFirst->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_labelFirst->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_labelFirst->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_labelFirst->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelFirst->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelFirst->setFrameStyle( 0 );
|
||||||
|
qtarch_labelFirst->setLineWidth( 1 );
|
||||||
|
qtarch_labelFirst->setMidLineWidth( 0 );
|
||||||
|
qtarch_labelFirst->QFrame::setMargin( 0 );
|
||||||
|
qtarch_labelFirst->setText( _("First try :") );
|
||||||
|
qtarch_labelFirst->setAlignment( 289 );
|
||||||
|
qtarch_labelFirst->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_labelSecond;
|
||||||
|
qtarch_labelSecond = new QLabel( qtarch_placementBox, "labelSecond" );
|
||||||
|
qtarch_labelSecond->setGeometry( 5, 75, 150, 66 );
|
||||||
|
qtarch_labelSecond->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_labelSecond->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_labelSecond->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_labelSecond->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_labelSecond->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelSecond->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelSecond->setFrameStyle( 0 );
|
||||||
|
qtarch_labelSecond->setLineWidth( 1 );
|
||||||
|
qtarch_labelSecond->setMidLineWidth( 0 );
|
||||||
|
qtarch_labelSecond->QFrame::setMargin( 0 );
|
||||||
|
qtarch_labelSecond->setText( _("then :") );
|
||||||
|
qtarch_labelSecond->setAlignment( 289 );
|
||||||
|
qtarch_labelSecond->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_labelThird;
|
||||||
|
qtarch_labelThird = new QLabel( qtarch_placementBox, "labelThird" );
|
||||||
|
qtarch_labelThird->setGeometry( 5, 146, 150, 65 );
|
||||||
|
qtarch_labelThird->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_labelThird->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_labelThird->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_labelThird->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_labelThird->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelThird->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelThird->setFrameStyle( 0 );
|
||||||
|
qtarch_labelThird->setLineWidth( 1 );
|
||||||
|
qtarch_labelThird->setMidLineWidth( 0 );
|
||||||
|
qtarch_labelThird->QFrame::setMargin( 0 );
|
||||||
|
qtarch_labelThird->setText( _("then :") );
|
||||||
|
qtarch_labelThird->setAlignment( 289 );
|
||||||
|
qtarch_labelThird->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_labelFourth;
|
||||||
|
qtarch_labelFourth = new QLabel( qtarch_placementBox, "labelFourth" );
|
||||||
|
qtarch_labelFourth->setGeometry( 5, 216, 150, 65 );
|
||||||
|
qtarch_labelFourth->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_labelFourth->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_labelFourth->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_labelFourth->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_labelFourth->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelFourth->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelFourth->setFrameStyle( 0 );
|
||||||
|
qtarch_labelFourth->setLineWidth( 1 );
|
||||||
|
qtarch_labelFourth->setMidLineWidth( 0 );
|
||||||
|
qtarch_labelFourth->QFrame::setMargin( 0 );
|
||||||
|
qtarch_labelFourth->setText( _("then :") );
|
||||||
|
qtarch_labelFourth->setAlignment( 289 );
|
||||||
|
qtarch_labelFourth->setMargin( -1 );
|
||||||
|
|
||||||
|
if (qtarch_placementBox->sizeHint().width()!=-1)
|
||||||
|
qtarch_placementBox->setMinimumWidth(qtarch_placementBox->sizeHint().width());
|
||||||
|
if (qtarch_placementBox->sizeHint().height()!=-1)
|
||||||
|
qtarch_placementBox->setMinimumHeight(qtarch_placementBox->sizeHint().height());
|
||||||
|
if (first->sizeHint().width()!=-1)
|
||||||
|
first->setMinimumWidth(first->sizeHint().width());
|
||||||
|
if (first->sizeHint().height()!=-1)
|
||||||
|
first->setMinimumHeight(first->sizeHint().height());
|
||||||
|
if (first->sizeHint().height()!=-1)
|
||||||
|
first->setMaximumHeight(first->sizeHint().height());
|
||||||
|
if (second->sizeHint().width()!=-1)
|
||||||
|
second->setMinimumWidth(second->sizeHint().width());
|
||||||
|
if (second->sizeHint().height()!=-1)
|
||||||
|
second->setMinimumHeight(second->sizeHint().height());
|
||||||
|
if (second->sizeHint().height()!=-1)
|
||||||
|
second->setMaximumHeight(second->sizeHint().height());
|
||||||
|
if (third->sizeHint().width()!=-1)
|
||||||
|
third->setMinimumWidth(third->sizeHint().width());
|
||||||
|
if (third->sizeHint().height()!=-1)
|
||||||
|
third->setMinimumHeight(third->sizeHint().height());
|
||||||
|
if (third->sizeHint().height()!=-1)
|
||||||
|
third->setMaximumHeight(third->sizeHint().height());
|
||||||
|
if (fourth->sizeHint().width()!=-1)
|
||||||
|
fourth->setMinimumWidth(fourth->sizeHint().width());
|
||||||
|
if (fourth->sizeHint().height()!=-1)
|
||||||
|
fourth->setMinimumHeight(fourth->sizeHint().height());
|
||||||
|
if (fourth->sizeHint().height()!=-1)
|
||||||
|
fourth->setMaximumHeight(fourth->sizeHint().height());
|
||||||
|
if (ignore->sizeHint().width()!=-1)
|
||||||
|
ignore->setMinimumWidth(ignore->sizeHint().width());
|
||||||
|
if (ignore->sizeHint().height()!=-1)
|
||||||
|
ignore->setMinimumHeight(ignore->sizeHint().height());
|
||||||
|
if (ignore->sizeHint().width()!=-1)
|
||||||
|
ignore->setMaximumWidth(ignore->sizeHint().width());
|
||||||
|
if (ignore->sizeHint().height()!=-1)
|
||||||
|
ignore->setMaximumHeight(ignore->sizeHint().height());
|
||||||
if (qtarch_labelsectiondepth->sizeHint().width()!=-1)
|
if (qtarch_labelsectiondepth->sizeHint().width()!=-1)
|
||||||
qtarch_labelsectiondepth->setMinimumWidth(qtarch_labelsectiondepth->sizeHint().width());
|
qtarch_labelsectiondepth->setMinimumWidth(qtarch_labelsectiondepth->sizeHint().width());
|
||||||
if (qtarch_labelsectiondepth->sizeHint().height()!=-1)
|
if (qtarch_labelsectiondepth->sizeHint().height()!=-1)
|
||||||
@ -211,14 +353,6 @@ DocExtraDialogData::DocExtraDialogData
|
|||||||
qtarch_labelPSDriver->setMaximumWidth(qtarch_labelPSDriver->sizeHint().width());
|
qtarch_labelPSDriver->setMaximumWidth(qtarch_labelPSDriver->sizeHint().width());
|
||||||
if (qtarch_labelPSDriver->sizeHint().height()!=-1)
|
if (qtarch_labelPSDriver->sizeHint().height()!=-1)
|
||||||
qtarch_labelPSDriver->setMaximumHeight(qtarch_labelPSDriver->sizeHint().height());
|
qtarch_labelPSDriver->setMaximumHeight(qtarch_labelPSDriver->sizeHint().height());
|
||||||
if (amsmath->sizeHint().width()!=-1)
|
|
||||||
amsmath->setMinimumWidth(amsmath->sizeHint().width());
|
|
||||||
if (amsmath->sizeHint().height()!=-1)
|
|
||||||
amsmath->setMinimumHeight(amsmath->sizeHint().height());
|
|
||||||
if (amsmath->sizeHint().width()!=-1)
|
|
||||||
amsmath->setMaximumWidth(amsmath->sizeHint().width());
|
|
||||||
if (amsmath->sizeHint().height()!=-1)
|
|
||||||
amsmath->setMaximumHeight(amsmath->sizeHint().height());
|
|
||||||
if (sectiondepth->sizeHint().width()!=-1)
|
if (sectiondepth->sizeHint().width()!=-1)
|
||||||
sectiondepth->setMinimumWidth(sectiondepth->sizeHint().width());
|
sectiondepth->setMinimumWidth(sectiondepth->sizeHint().width());
|
||||||
if (sectiondepth->sizeHint().height()!=-1)
|
if (sectiondepth->sizeHint().height()!=-1)
|
||||||
@ -237,35 +371,107 @@ DocExtraDialogData::DocExtraDialogData
|
|||||||
psdriver->setMinimumHeight(psdriver->sizeHint().height());
|
psdriver->setMinimumHeight(psdriver->sizeHint().height());
|
||||||
if (psdriver->sizeHint().height()!=-1)
|
if (psdriver->sizeHint().height()!=-1)
|
||||||
psdriver->setMaximumHeight(psdriver->sizeHint().height());
|
psdriver->setMaximumHeight(psdriver->sizeHint().height());
|
||||||
QGridLayout* qtarch_layout_1 = new QGridLayout( this, 5, 4, 5, 5, NULL );
|
if (amsmath->sizeHint().width()!=-1)
|
||||||
qtarch_layout_1->addColSpacing( 0, 5 );
|
amsmath->setMinimumWidth(amsmath->sizeHint().width());
|
||||||
qtarch_layout_1->setColStretch( 0, 1 );
|
if (amsmath->sizeHint().height()!=-1)
|
||||||
qtarch_layout_1->addColSpacing( 1, 5 );
|
amsmath->setMinimumHeight(amsmath->sizeHint().height());
|
||||||
qtarch_layout_1->setColStretch( 1, 1 );
|
if (amsmath->sizeHint().width()!=-1)
|
||||||
qtarch_layout_1->addColSpacing( 2, 5 );
|
amsmath->setMaximumWidth(amsmath->sizeHint().width());
|
||||||
qtarch_layout_1->setColStretch( 2, 2 );
|
if (amsmath->sizeHint().height()!=-1)
|
||||||
qtarch_layout_1->addColSpacing( 3, 5 );
|
amsmath->setMaximumHeight(amsmath->sizeHint().height());
|
||||||
qtarch_layout_1->setColStretch( 3, 1 );
|
if (qtarch_labelFirst->sizeHint().width()!=-1)
|
||||||
qtarch_layout_1->addRowSpacing( 0, 0 );
|
qtarch_labelFirst->setMinimumWidth(qtarch_labelFirst->sizeHint().width());
|
||||||
qtarch_layout_1->setRowStretch( 0, 1 );
|
if (qtarch_labelFirst->sizeHint().height()!=-1)
|
||||||
qtarch_layout_1->addWidget( qtarch_labelFloatplacement, 0, 0, 33 );
|
qtarch_labelFirst->setMinimumHeight(qtarch_labelFirst->sizeHint().height());
|
||||||
qtarch_layout_1->addWidget( floatplacement, 0, 2, 33 );
|
if (qtarch_labelFirst->sizeHint().width()!=-1)
|
||||||
qtarch_layout_1->addRowSpacing( 1, 0 );
|
qtarch_labelFirst->setMaximumWidth(qtarch_labelFirst->sizeHint().width());
|
||||||
qtarch_layout_1->setRowStretch( 1, 1 );
|
if (qtarch_labelFirst->sizeHint().height()!=-1)
|
||||||
qtarch_layout_1->addWidget( qtarch_labelsectiondepth, 1, 0, 33 );
|
qtarch_labelFirst->setMaximumHeight(qtarch_labelFirst->sizeHint().height());
|
||||||
qtarch_layout_1->addWidget( sectiondepth, 1, 2, 33 );
|
if (qtarch_labelSecond->sizeHint().width()!=-1)
|
||||||
qtarch_layout_1->addRowSpacing( 2, 0 );
|
qtarch_labelSecond->setMinimumWidth(qtarch_labelSecond->sizeHint().width());
|
||||||
qtarch_layout_1->setRowStretch( 2, 1 );
|
if (qtarch_labelSecond->sizeHint().height()!=-1)
|
||||||
qtarch_layout_1->addWidget( qtarch_labeltocdepth, 2, 0, 33 );
|
qtarch_labelSecond->setMinimumHeight(qtarch_labelSecond->sizeHint().height());
|
||||||
qtarch_layout_1->addWidget( tocdepth, 2, 2, 33 );
|
if (qtarch_labelSecond->sizeHint().width()!=-1)
|
||||||
qtarch_layout_1->addRowSpacing( 3, 0 );
|
qtarch_labelSecond->setMaximumWidth(qtarch_labelSecond->sizeHint().width());
|
||||||
qtarch_layout_1->setRowStretch( 3, 1 );
|
if (qtarch_labelSecond->sizeHint().height()!=-1)
|
||||||
qtarch_layout_1->addWidget( qtarch_labelPSDriver, 3, 0, 33 );
|
qtarch_labelSecond->setMaximumHeight(qtarch_labelSecond->sizeHint().height());
|
||||||
qtarch_layout_1->addWidget( psdriver, 3, 2, 33 );
|
if (qtarch_labelThird->sizeHint().width()!=-1)
|
||||||
qtarch_layout_1->addRowSpacing( 4, 0 );
|
qtarch_labelThird->setMinimumWidth(qtarch_labelThird->sizeHint().width());
|
||||||
qtarch_layout_1->setRowStretch( 4, 1 );
|
if (qtarch_labelThird->sizeHint().height()!=-1)
|
||||||
qtarch_layout_1->addWidget( amsmath, 4, 0, 33 );
|
qtarch_labelThird->setMinimumHeight(qtarch_labelThird->sizeHint().height());
|
||||||
resize( 545,460 );
|
if (qtarch_labelThird->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelThird->setMaximumWidth(qtarch_labelThird->sizeHint().width());
|
||||||
|
if (qtarch_labelThird->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelThird->setMaximumHeight(qtarch_labelThird->sizeHint().height());
|
||||||
|
if (qtarch_labelFourth->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelFourth->setMinimumWidth(qtarch_labelFourth->sizeHint().width());
|
||||||
|
if (qtarch_labelFourth->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelFourth->setMinimumHeight(qtarch_labelFourth->sizeHint().height());
|
||||||
|
if (qtarch_labelFourth->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelFourth->setMaximumWidth(qtarch_labelFourth->sizeHint().width());
|
||||||
|
if (qtarch_labelFourth->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelFourth->setMaximumHeight(qtarch_labelFourth->sizeHint().height());
|
||||||
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
|
qtarch_layout_1->addStrut( 0 );
|
||||||
|
qtarch_layout_1->addWidget( qtarch_placementBox, 3, 36 );
|
||||||
|
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( qtarch_placementBox, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
|
qtarch_layout_1_1->addStrut( 0 );
|
||||||
|
QGridLayout* qtarch_layout_1_1_1 = new QGridLayout( 4, 4, 5, NULL );
|
||||||
|
qtarch_layout_1_1->addLayout( qtarch_layout_1_1_1, 3 );
|
||||||
|
qtarch_layout_1_1_1->addColSpacing( 0, 5 );
|
||||||
|
qtarch_layout_1_1_1->setColStretch( 0, 1 );
|
||||||
|
qtarch_layout_1_1_1->addColSpacing( 1, 5 );
|
||||||
|
qtarch_layout_1_1_1->setColStretch( 1, 1 );
|
||||||
|
qtarch_layout_1_1_1->addColSpacing( 2, 5 );
|
||||||
|
qtarch_layout_1_1_1->setColStretch( 2, 1 );
|
||||||
|
qtarch_layout_1_1_1->addColSpacing( 3, 5 );
|
||||||
|
qtarch_layout_1_1_1->setColStretch( 3, 1 );
|
||||||
|
qtarch_layout_1_1_1->addRowSpacing( 0, 0 );
|
||||||
|
qtarch_layout_1_1_1->setRowStretch( 0, 1 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( qtarch_labelFirst, 0, 0, 36 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( first, 0, 2, 36 );
|
||||||
|
qtarch_layout_1_1_1->addRowSpacing( 1, 0 );
|
||||||
|
qtarch_layout_1_1_1->setRowStretch( 1, 1 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( qtarch_labelSecond, 1, 0, 36 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( second, 1, 2, 36 );
|
||||||
|
qtarch_layout_1_1_1->addRowSpacing( 2, 0 );
|
||||||
|
qtarch_layout_1_1_1->setRowStretch( 2, 1 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( qtarch_labelThird, 2, 0, 36 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( third, 2, 2, 36 );
|
||||||
|
qtarch_layout_1_1_1->addRowSpacing( 3, 0 );
|
||||||
|
qtarch_layout_1_1_1->setRowStretch( 3, 1 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( qtarch_labelFourth, 3, 0, 36 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( fourth, 3, 2, 36 );
|
||||||
|
QBoxLayout* qtarch_layout_1_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1_1->addLayout( qtarch_layout_1_1_2, 1 );
|
||||||
|
qtarch_layout_1_1_2->addStrut( 0 );
|
||||||
|
qtarch_layout_1_1_2->addWidget( ignore, 1, 36 );
|
||||||
|
QGridLayout* qtarch_layout_1_2 = new QGridLayout( 4, 4, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_2, 2 );
|
||||||
|
qtarch_layout_1_2->addColSpacing( 0, 5 );
|
||||||
|
qtarch_layout_1_2->setColStretch( 0, 1 );
|
||||||
|
qtarch_layout_1_2->addColSpacing( 1, 5 );
|
||||||
|
qtarch_layout_1_2->setColStretch( 1, 1 );
|
||||||
|
qtarch_layout_1_2->addColSpacing( 2, 5 );
|
||||||
|
qtarch_layout_1_2->setColStretch( 2, 1 );
|
||||||
|
qtarch_layout_1_2->addColSpacing( 3, 5 );
|
||||||
|
qtarch_layout_1_2->setColStretch( 3, 1 );
|
||||||
|
qtarch_layout_1_2->addRowSpacing( 0, 0 );
|
||||||
|
qtarch_layout_1_2->setRowStretch( 0, 1 );
|
||||||
|
qtarch_layout_1_2->addWidget( qtarch_labelsectiondepth, 0, 0, 36 );
|
||||||
|
qtarch_layout_1_2->addWidget( sectiondepth, 0, 2, 36 );
|
||||||
|
qtarch_layout_1_2->addRowSpacing( 1, 0 );
|
||||||
|
qtarch_layout_1_2->setRowStretch( 1, 1 );
|
||||||
|
qtarch_layout_1_2->addWidget( qtarch_labeltocdepth, 1, 0, 36 );
|
||||||
|
qtarch_layout_1_2->addWidget( tocdepth, 1, 2, 36 );
|
||||||
|
qtarch_layout_1_2->addRowSpacing( 2, 0 );
|
||||||
|
qtarch_layout_1_2->setRowStretch( 2, 1 );
|
||||||
|
qtarch_layout_1_2->addWidget( qtarch_labelPSDriver, 2, 0, 36 );
|
||||||
|
qtarch_layout_1_2->addWidget( psdriver, 2, 2, 36 );
|
||||||
|
qtarch_layout_1_2->addRowSpacing( 3, 0 );
|
||||||
|
qtarch_layout_1_2->setRowStretch( 3, 1 );
|
||||||
|
qtarch_layout_1_2->addWidget( amsmath, 3, 0, 36 );
|
||||||
|
resize( 635,640 );
|
||||||
setMinimumSize( 0, 0 );
|
setMinimumSize( 0, 0 );
|
||||||
setMaximumSize( 32767, 32767 );
|
setMaximumSize( 32767, 32767 );
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: docextradlgdata.h
|
File: docextradlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:31 2001
|
Last generated: Sat Feb 10 23:32:07 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -17,7 +17,6 @@
|
|||||||
#include <qcheckbox.h>
|
#include <qcheckbox.h>
|
||||||
#include <qcombobox.h>
|
#include <qcombobox.h>
|
||||||
#include <qspinbox.h>
|
#include <qspinbox.h>
|
||||||
#include <qlineedit.h>
|
|
||||||
|
|
||||||
class DocExtraDialogData : public QWidget
|
class DocExtraDialogData : public QWidget
|
||||||
{
|
{
|
||||||
@ -40,11 +39,15 @@ protected slots:
|
|||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QLineEdit* floatplacement;
|
QComboBox* first;
|
||||||
QCheckBox* amsmath;
|
QComboBox* second;
|
||||||
|
QComboBox* third;
|
||||||
|
QComboBox* fourth;
|
||||||
|
QCheckBox* ignore;
|
||||||
QSpinBox* sectiondepth;
|
QSpinBox* sectiondepth;
|
||||||
QSpinBox* tocdepth;
|
QSpinBox* tocdepth;
|
||||||
QComboBox* psdriver;
|
QComboBox* psdriver;
|
||||||
|
QCheckBox* amsmath;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: docgeometrydlgdata.C
|
File: docgeometrydlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:37 2001
|
Last generated: Sat Feb 10 21:35:53 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -126,6 +126,51 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
papersize->setMaxCount( 2147483647 );
|
papersize->setMaxCount( 2147483647 );
|
||||||
papersize->setAutoCompletion( false );
|
papersize->setAutoCompletion( false );
|
||||||
|
|
||||||
|
width = new LengthEntry( qtarch_paperGroup, "width" );
|
||||||
|
width->setGeometry( 5, 135, 285, 35 );
|
||||||
|
width->setMinimumSize( 0, 0 );
|
||||||
|
width->setMaximumSize( 32767, 32767 );
|
||||||
|
width->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
width->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
width->setFontPropagation( QWidget::NoChildren );
|
||||||
|
width->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
height = new LengthEntry( qtarch_paperGroup, "height" );
|
||||||
|
height->setGeometry( 5, 250, 285, 35 );
|
||||||
|
height->setMinimumSize( 0, 0 );
|
||||||
|
height->setMaximumSize( 32767, 32767 );
|
||||||
|
height->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
height->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
height->setFontPropagation( QWidget::NoChildren );
|
||||||
|
height->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
headheight = new LengthEntry( qtarch_headfootGroup, "headheight" );
|
||||||
|
headheight->setGeometry( 5, 80, 285, 28 );
|
||||||
|
headheight->setMinimumSize( 0, 0 );
|
||||||
|
headheight->setMaximumSize( 32767, 32767 );
|
||||||
|
headheight->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
headheight->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
headheight->setFontPropagation( QWidget::NoChildren );
|
||||||
|
headheight->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
headsep = new LengthEntry( qtarch_headfootGroup, "headsep" );
|
||||||
|
headsep->setGeometry( 5, 173, 285, 27 );
|
||||||
|
headsep->setMinimumSize( 0, 0 );
|
||||||
|
headsep->setMaximumSize( 32767, 32767 );
|
||||||
|
headsep->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
headsep->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
headsep->setFontPropagation( QWidget::NoChildren );
|
||||||
|
headsep->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
footskip = new LengthEntry( qtarch_headfootGroup, "footskip" );
|
||||||
|
footskip->setGeometry( 5, 265, 285, 28 );
|
||||||
|
footskip->setMinimumSize( 0, 0 );
|
||||||
|
footskip->setMaximumSize( 32767, 32767 );
|
||||||
|
footskip->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
footskip->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
footskip->setFontPropagation( QWidget::NoChildren );
|
||||||
|
footskip->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
QLabel* qtarch_labelMargin;
|
QLabel* qtarch_labelMargin;
|
||||||
qtarch_labelMargin = new QLabel( qtarch_marginsGroup, "labelMargin" );
|
qtarch_labelMargin = new QLabel( qtarch_marginsGroup, "labelMargin" );
|
||||||
qtarch_labelMargin->setGeometry( 5, 20, 113, 54 );
|
qtarch_labelMargin->setGeometry( 5, 20, 113, 54 );
|
||||||
@ -143,20 +188,6 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
qtarch_labelMargin->setAlignment( 0 );
|
qtarch_labelMargin->setAlignment( 0 );
|
||||||
qtarch_labelMargin->setMargin( -1 );
|
qtarch_labelMargin->setMargin( -1 );
|
||||||
|
|
||||||
margins = new QComboBox( FALSE, qtarch_marginsGroup, "margins" );
|
|
||||||
margins->setGeometry( 236, 20, 112, 54 );
|
|
||||||
margins->setMinimumSize( 0, 0 );
|
|
||||||
margins->setMaximumSize( 32767, 32767 );
|
|
||||||
connect( margins, SIGNAL(highlighted(const char*)), SLOT(marginsChanged(const char*)) );
|
|
||||||
margins->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
margins->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
margins->setFontPropagation( QWidget::AllChildren );
|
|
||||||
margins->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
margins->setSizeLimit( 30 );
|
|
||||||
margins->setAutoResize( true );
|
|
||||||
margins->setMaxCount( 2147483647 );
|
|
||||||
margins->setAutoCompletion( false );
|
|
||||||
|
|
||||||
QLabel* qtarch_labelWidth;
|
QLabel* qtarch_labelWidth;
|
||||||
qtarch_labelWidth = new QLabel( qtarch_paperGroup, "labelWidth" );
|
qtarch_labelWidth = new QLabel( qtarch_paperGroup, "labelWidth" );
|
||||||
qtarch_labelWidth->setGeometry( 5, 95, 1, 35 );
|
qtarch_labelWidth->setGeometry( 5, 95, 1, 35 );
|
||||||
@ -259,32 +290,6 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
qtarch_labelRight->setAlignment( 0 );
|
qtarch_labelRight->setAlignment( 0 );
|
||||||
qtarch_labelRight->setMargin( -1 );
|
qtarch_labelRight->setMargin( -1 );
|
||||||
|
|
||||||
portrait = new QRadioButton( qtarch_orientation, "portrait" );
|
|
||||||
portrait->setGeometry( 5, 77, 1, 57 );
|
|
||||||
portrait->setMinimumSize( 0, 0 );
|
|
||||||
portrait->setMaximumSize( 32767, 32767 );
|
|
||||||
portrait->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
portrait->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
portrait->setFontPropagation( QWidget::NoChildren );
|
|
||||||
portrait->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
portrait->setText( _("Portrait") );
|
|
||||||
portrait->setAutoRepeat( false );
|
|
||||||
portrait->setAutoResize( false );
|
|
||||||
portrait->setChecked( true );
|
|
||||||
|
|
||||||
landscape = new QRadioButton( qtarch_orientation, "landscape" );
|
|
||||||
landscape->setGeometry( 5, 196, 1, 57 );
|
|
||||||
landscape->setMinimumSize( 0, 0 );
|
|
||||||
landscape->setMaximumSize( 32767, 32767 );
|
|
||||||
landscape->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
landscape->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
landscape->setFontPropagation( QWidget::NoChildren );
|
|
||||||
landscape->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
landscape->setText( _("Landscape") );
|
|
||||||
landscape->setAutoRepeat( false );
|
|
||||||
landscape->setAutoResize( false );
|
|
||||||
landscape->setChecked( false );
|
|
||||||
|
|
||||||
QLabel* qtarch_labelheadheight;
|
QLabel* qtarch_labelheadheight;
|
||||||
qtarch_labelheadheight = new QLabel( qtarch_headfootGroup, "labelheadheight" );
|
qtarch_labelheadheight = new QLabel( qtarch_headfootGroup, "labelheadheight" );
|
||||||
qtarch_labelheadheight->setGeometry( 5, 48, 1, 27 );
|
qtarch_labelheadheight->setGeometry( 5, 48, 1, 27 );
|
||||||
@ -336,23 +341,19 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
qtarch_labelFootskip->setAlignment( 0 );
|
qtarch_labelFootskip->setAlignment( 0 );
|
||||||
qtarch_labelFootskip->setMargin( -1 );
|
qtarch_labelFootskip->setMargin( -1 );
|
||||||
|
|
||||||
width = new LengthEntry( qtarch_paperGroup, "width" );
|
margins = new QComboBox( FALSE, qtarch_marginsGroup, "margins" );
|
||||||
width->setGeometry( 5, 135, 285, 35 );
|
margins->setGeometry( 236, 20, 112, 54 );
|
||||||
width->setMinimumSize( 0, 0 );
|
margins->setMinimumSize( 0, 0 );
|
||||||
width->setMaximumSize( 32767, 32767 );
|
margins->setMaximumSize( 32767, 32767 );
|
||||||
width->setFocusPolicy( QWidget::NoFocus );
|
connect( margins, SIGNAL(highlighted(const char*)), SLOT(marginsChanged(const char*)) );
|
||||||
width->setBackgroundMode( QWidget::PaletteBackground );
|
margins->setFocusPolicy( QWidget::StrongFocus );
|
||||||
width->setFontPropagation( QWidget::NoChildren );
|
margins->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
width->setPalettePropagation( QWidget::NoChildren );
|
margins->setFontPropagation( QWidget::AllChildren );
|
||||||
|
margins->setPalettePropagation( QWidget::AllChildren );
|
||||||
height = new LengthEntry( qtarch_paperGroup, "height" );
|
margins->setSizeLimit( 30 );
|
||||||
height->setGeometry( 5, 250, 285, 35 );
|
margins->setAutoResize( true );
|
||||||
height->setMinimumSize( 0, 0 );
|
margins->setMaxCount( 2147483647 );
|
||||||
height->setMaximumSize( 32767, 32767 );
|
margins->setAutoCompletion( false );
|
||||||
height->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
height->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
height->setFontPropagation( QWidget::NoChildren );
|
|
||||||
height->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
|
|
||||||
top = new LengthEntry( qtarch_marginsGroup, "top" );
|
top = new LengthEntry( qtarch_marginsGroup, "top" );
|
||||||
top->setGeometry( 199, 133, 211, 41 );
|
top->setGeometry( 199, 133, 211, 41 );
|
||||||
@ -381,33 +382,6 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
left->setFontPropagation( QWidget::NoChildren );
|
left->setFontPropagation( QWidget::NoChildren );
|
||||||
left->setPalettePropagation( QWidget::NoChildren );
|
left->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
headheight = new LengthEntry( qtarch_headfootGroup, "headheight" );
|
|
||||||
headheight->setGeometry( 5, 80, 285, 28 );
|
|
||||||
headheight->setMinimumSize( 0, 0 );
|
|
||||||
headheight->setMaximumSize( 32767, 32767 );
|
|
||||||
headheight->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
headheight->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
headheight->setFontPropagation( QWidget::NoChildren );
|
|
||||||
headheight->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
|
|
||||||
headsep = new LengthEntry( qtarch_headfootGroup, "headsep" );
|
|
||||||
headsep->setGeometry( 5, 173, 285, 27 );
|
|
||||||
headsep->setMinimumSize( 0, 0 );
|
|
||||||
headsep->setMaximumSize( 32767, 32767 );
|
|
||||||
headsep->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
headsep->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
headsep->setFontPropagation( QWidget::NoChildren );
|
|
||||||
headsep->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
|
|
||||||
footskip = new LengthEntry( qtarch_headfootGroup, "footskip" );
|
|
||||||
footskip->setGeometry( 5, 265, 285, 28 );
|
|
||||||
footskip->setMinimumSize( 0, 0 );
|
|
||||||
footskip->setMaximumSize( 32767, 32767 );
|
|
||||||
footskip->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
footskip->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
footskip->setFontPropagation( QWidget::NoChildren );
|
|
||||||
footskip->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
|
|
||||||
right = new LengthEntry( qtarch_marginsGroup, "right" );
|
right = new LengthEntry( qtarch_marginsGroup, "right" );
|
||||||
right->setGeometry( 199, 270, 211, 40 );
|
right->setGeometry( 199, 270, 211, 40 );
|
||||||
right->setMinimumSize( 0, 0 );
|
right->setMinimumSize( 0, 0 );
|
||||||
@ -417,6 +391,32 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
right->setFontPropagation( QWidget::NoChildren );
|
right->setFontPropagation( QWidget::NoChildren );
|
||||||
right->setPalettePropagation( QWidget::NoChildren );
|
right->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
portrait = new QRadioButton( qtarch_orientation, "portrait" );
|
||||||
|
portrait->setGeometry( 5, 77, 1, 57 );
|
||||||
|
portrait->setMinimumSize( 0, 0 );
|
||||||
|
portrait->setMaximumSize( 32767, 32767 );
|
||||||
|
portrait->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
portrait->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
portrait->setFontPropagation( QWidget::NoChildren );
|
||||||
|
portrait->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
portrait->setText( _("Portrait") );
|
||||||
|
portrait->setAutoRepeat( false );
|
||||||
|
portrait->setAutoResize( false );
|
||||||
|
portrait->setChecked( true );
|
||||||
|
|
||||||
|
landscape = new QRadioButton( qtarch_orientation, "landscape" );
|
||||||
|
landscape->setGeometry( 5, 196, 1, 57 );
|
||||||
|
landscape->setMinimumSize( 0, 0 );
|
||||||
|
landscape->setMaximumSize( 32767, 32767 );
|
||||||
|
landscape->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
landscape->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
landscape->setFontPropagation( QWidget::NoChildren );
|
||||||
|
landscape->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
landscape->setText( _("Landscape") );
|
||||||
|
landscape->setAutoRepeat( false );
|
||||||
|
landscape->setAutoResize( false );
|
||||||
|
landscape->setChecked( false );
|
||||||
|
|
||||||
if (qtarch_orientation->sizeHint().width()!=-1)
|
if (qtarch_orientation->sizeHint().width()!=-1)
|
||||||
qtarch_orientation->setMinimumWidth(qtarch_orientation->sizeHint().width());
|
qtarch_orientation->setMinimumWidth(qtarch_orientation->sizeHint().width());
|
||||||
if (qtarch_orientation->sizeHint().height()!=-1)
|
if (qtarch_orientation->sizeHint().height()!=-1)
|
||||||
@ -438,6 +438,36 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
papersize->setMinimumHeight(papersize->sizeHint().height());
|
papersize->setMinimumHeight(papersize->sizeHint().height());
|
||||||
if (papersize->sizeHint().height()!=-1)
|
if (papersize->sizeHint().height()!=-1)
|
||||||
papersize->setMaximumHeight(papersize->sizeHint().height());
|
papersize->setMaximumHeight(papersize->sizeHint().height());
|
||||||
|
if (width->sizeHint().width()!=-1)
|
||||||
|
width->setMinimumWidth(width->sizeHint().width());
|
||||||
|
if (width->sizeHint().height()!=-1)
|
||||||
|
width->setMinimumHeight(width->sizeHint().height());
|
||||||
|
if (width->sizeHint().height()!=-1)
|
||||||
|
width->setMaximumHeight(width->sizeHint().height());
|
||||||
|
if (height->sizeHint().width()!=-1)
|
||||||
|
height->setMinimumWidth(height->sizeHint().width());
|
||||||
|
if (height->sizeHint().height()!=-1)
|
||||||
|
height->setMinimumHeight(height->sizeHint().height());
|
||||||
|
if (height->sizeHint().height()!=-1)
|
||||||
|
height->setMaximumHeight(height->sizeHint().height());
|
||||||
|
if (headheight->sizeHint().width()!=-1)
|
||||||
|
headheight->setMinimumWidth(headheight->sizeHint().width());
|
||||||
|
if (headheight->sizeHint().height()!=-1)
|
||||||
|
headheight->setMinimumHeight(headheight->sizeHint().height());
|
||||||
|
if (headheight->sizeHint().height()!=-1)
|
||||||
|
headheight->setMaximumHeight(headheight->sizeHint().height());
|
||||||
|
if (headsep->sizeHint().width()!=-1)
|
||||||
|
headsep->setMinimumWidth(headsep->sizeHint().width());
|
||||||
|
if (headsep->sizeHint().height()!=-1)
|
||||||
|
headsep->setMinimumHeight(headsep->sizeHint().height());
|
||||||
|
if (headsep->sizeHint().height()!=-1)
|
||||||
|
headsep->setMaximumHeight(headsep->sizeHint().height());
|
||||||
|
if (footskip->sizeHint().width()!=-1)
|
||||||
|
footskip->setMinimumWidth(footskip->sizeHint().width());
|
||||||
|
if (footskip->sizeHint().height()!=-1)
|
||||||
|
footskip->setMinimumHeight(footskip->sizeHint().height());
|
||||||
|
if (footskip->sizeHint().height()!=-1)
|
||||||
|
footskip->setMaximumHeight(footskip->sizeHint().height());
|
||||||
if (qtarch_labelMargin->sizeHint().width()!=-1)
|
if (qtarch_labelMargin->sizeHint().width()!=-1)
|
||||||
qtarch_labelMargin->setMinimumWidth(qtarch_labelMargin->sizeHint().width());
|
qtarch_labelMargin->setMinimumWidth(qtarch_labelMargin->sizeHint().width());
|
||||||
if (qtarch_labelMargin->sizeHint().height()!=-1)
|
if (qtarch_labelMargin->sizeHint().height()!=-1)
|
||||||
@ -446,12 +476,6 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
qtarch_labelMargin->setMaximumWidth(qtarch_labelMargin->sizeHint().width());
|
qtarch_labelMargin->setMaximumWidth(qtarch_labelMargin->sizeHint().width());
|
||||||
if (qtarch_labelMargin->sizeHint().height()!=-1)
|
if (qtarch_labelMargin->sizeHint().height()!=-1)
|
||||||
qtarch_labelMargin->setMaximumHeight(qtarch_labelMargin->sizeHint().height());
|
qtarch_labelMargin->setMaximumHeight(qtarch_labelMargin->sizeHint().height());
|
||||||
if (margins->sizeHint().width()!=-1)
|
|
||||||
margins->setMinimumWidth(margins->sizeHint().width());
|
|
||||||
if (margins->sizeHint().height()!=-1)
|
|
||||||
margins->setMinimumHeight(margins->sizeHint().height());
|
|
||||||
if (margins->sizeHint().height()!=-1)
|
|
||||||
margins->setMaximumHeight(margins->sizeHint().height());
|
|
||||||
if (qtarch_labelWidth->sizeHint().width()!=-1)
|
if (qtarch_labelWidth->sizeHint().width()!=-1)
|
||||||
qtarch_labelWidth->setMinimumWidth(qtarch_labelWidth->sizeHint().width());
|
qtarch_labelWidth->setMinimumWidth(qtarch_labelWidth->sizeHint().width());
|
||||||
if (qtarch_labelWidth->sizeHint().height()!=-1)
|
if (qtarch_labelWidth->sizeHint().height()!=-1)
|
||||||
@ -500,22 +524,6 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
qtarch_labelRight->setMaximumWidth(qtarch_labelRight->sizeHint().width());
|
qtarch_labelRight->setMaximumWidth(qtarch_labelRight->sizeHint().width());
|
||||||
if (qtarch_labelRight->sizeHint().height()!=-1)
|
if (qtarch_labelRight->sizeHint().height()!=-1)
|
||||||
qtarch_labelRight->setMaximumHeight(qtarch_labelRight->sizeHint().height());
|
qtarch_labelRight->setMaximumHeight(qtarch_labelRight->sizeHint().height());
|
||||||
if (portrait->sizeHint().width()!=-1)
|
|
||||||
portrait->setMinimumWidth(portrait->sizeHint().width());
|
|
||||||
if (portrait->sizeHint().height()!=-1)
|
|
||||||
portrait->setMinimumHeight(portrait->sizeHint().height());
|
|
||||||
if (portrait->sizeHint().width()!=-1)
|
|
||||||
portrait->setMaximumWidth(portrait->sizeHint().width());
|
|
||||||
if (portrait->sizeHint().height()!=-1)
|
|
||||||
portrait->setMaximumHeight(portrait->sizeHint().height());
|
|
||||||
if (landscape->sizeHint().width()!=-1)
|
|
||||||
landscape->setMinimumWidth(landscape->sizeHint().width());
|
|
||||||
if (landscape->sizeHint().height()!=-1)
|
|
||||||
landscape->setMinimumHeight(landscape->sizeHint().height());
|
|
||||||
if (landscape->sizeHint().width()!=-1)
|
|
||||||
landscape->setMaximumWidth(landscape->sizeHint().width());
|
|
||||||
if (landscape->sizeHint().height()!=-1)
|
|
||||||
landscape->setMaximumHeight(landscape->sizeHint().height());
|
|
||||||
if (qtarch_labelheadheight->sizeHint().width()!=-1)
|
if (qtarch_labelheadheight->sizeHint().width()!=-1)
|
||||||
qtarch_labelheadheight->setMinimumWidth(qtarch_labelheadheight->sizeHint().width());
|
qtarch_labelheadheight->setMinimumWidth(qtarch_labelheadheight->sizeHint().width());
|
||||||
if (qtarch_labelheadheight->sizeHint().height()!=-1)
|
if (qtarch_labelheadheight->sizeHint().height()!=-1)
|
||||||
@ -540,18 +548,12 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
qtarch_labelFootskip->setMaximumWidth(qtarch_labelFootskip->sizeHint().width());
|
qtarch_labelFootskip->setMaximumWidth(qtarch_labelFootskip->sizeHint().width());
|
||||||
if (qtarch_labelFootskip->sizeHint().height()!=-1)
|
if (qtarch_labelFootskip->sizeHint().height()!=-1)
|
||||||
qtarch_labelFootskip->setMaximumHeight(qtarch_labelFootskip->sizeHint().height());
|
qtarch_labelFootskip->setMaximumHeight(qtarch_labelFootskip->sizeHint().height());
|
||||||
if (width->sizeHint().width()!=-1)
|
if (margins->sizeHint().width()!=-1)
|
||||||
width->setMinimumWidth(width->sizeHint().width());
|
margins->setMinimumWidth(margins->sizeHint().width());
|
||||||
if (width->sizeHint().height()!=-1)
|
if (margins->sizeHint().height()!=-1)
|
||||||
width->setMinimumHeight(width->sizeHint().height());
|
margins->setMinimumHeight(margins->sizeHint().height());
|
||||||
if (width->sizeHint().height()!=-1)
|
if (margins->sizeHint().height()!=-1)
|
||||||
width->setMaximumHeight(width->sizeHint().height());
|
margins->setMaximumHeight(margins->sizeHint().height());
|
||||||
if (height->sizeHint().width()!=-1)
|
|
||||||
height->setMinimumWidth(height->sizeHint().width());
|
|
||||||
if (height->sizeHint().height()!=-1)
|
|
||||||
height->setMinimumHeight(height->sizeHint().height());
|
|
||||||
if (height->sizeHint().height()!=-1)
|
|
||||||
height->setMaximumHeight(height->sizeHint().height());
|
|
||||||
if (top->sizeHint().width()!=-1)
|
if (top->sizeHint().width()!=-1)
|
||||||
top->setMinimumWidth(top->sizeHint().width());
|
top->setMinimumWidth(top->sizeHint().width());
|
||||||
if (top->sizeHint().height()!=-1)
|
if (top->sizeHint().height()!=-1)
|
||||||
@ -570,30 +572,28 @@ DocGeometryDialogData::DocGeometryDialogData
|
|||||||
left->setMinimumHeight(left->sizeHint().height());
|
left->setMinimumHeight(left->sizeHint().height());
|
||||||
if (left->sizeHint().height()!=-1)
|
if (left->sizeHint().height()!=-1)
|
||||||
left->setMaximumHeight(left->sizeHint().height());
|
left->setMaximumHeight(left->sizeHint().height());
|
||||||
if (headheight->sizeHint().width()!=-1)
|
|
||||||
headheight->setMinimumWidth(headheight->sizeHint().width());
|
|
||||||
if (headheight->sizeHint().height()!=-1)
|
|
||||||
headheight->setMinimumHeight(headheight->sizeHint().height());
|
|
||||||
if (headheight->sizeHint().height()!=-1)
|
|
||||||
headheight->setMaximumHeight(headheight->sizeHint().height());
|
|
||||||
if (headsep->sizeHint().width()!=-1)
|
|
||||||
headsep->setMinimumWidth(headsep->sizeHint().width());
|
|
||||||
if (headsep->sizeHint().height()!=-1)
|
|
||||||
headsep->setMinimumHeight(headsep->sizeHint().height());
|
|
||||||
if (headsep->sizeHint().height()!=-1)
|
|
||||||
headsep->setMaximumHeight(headsep->sizeHint().height());
|
|
||||||
if (footskip->sizeHint().width()!=-1)
|
|
||||||
footskip->setMinimumWidth(footskip->sizeHint().width());
|
|
||||||
if (footskip->sizeHint().height()!=-1)
|
|
||||||
footskip->setMinimumHeight(footskip->sizeHint().height());
|
|
||||||
if (footskip->sizeHint().height()!=-1)
|
|
||||||
footskip->setMaximumHeight(footskip->sizeHint().height());
|
|
||||||
if (right->sizeHint().width()!=-1)
|
if (right->sizeHint().width()!=-1)
|
||||||
right->setMinimumWidth(right->sizeHint().width());
|
right->setMinimumWidth(right->sizeHint().width());
|
||||||
if (right->sizeHint().height()!=-1)
|
if (right->sizeHint().height()!=-1)
|
||||||
right->setMinimumHeight(right->sizeHint().height());
|
right->setMinimumHeight(right->sizeHint().height());
|
||||||
if (right->sizeHint().height()!=-1)
|
if (right->sizeHint().height()!=-1)
|
||||||
right->setMaximumHeight(right->sizeHint().height());
|
right->setMaximumHeight(right->sizeHint().height());
|
||||||
|
if (portrait->sizeHint().width()!=-1)
|
||||||
|
portrait->setMinimumWidth(portrait->sizeHint().width());
|
||||||
|
if (portrait->sizeHint().height()!=-1)
|
||||||
|
portrait->setMinimumHeight(portrait->sizeHint().height());
|
||||||
|
if (portrait->sizeHint().width()!=-1)
|
||||||
|
portrait->setMaximumWidth(portrait->sizeHint().width());
|
||||||
|
if (portrait->sizeHint().height()!=-1)
|
||||||
|
portrait->setMaximumHeight(portrait->sizeHint().height());
|
||||||
|
if (landscape->sizeHint().width()!=-1)
|
||||||
|
landscape->setMinimumWidth(landscape->sizeHint().width());
|
||||||
|
if (landscape->sizeHint().height()!=-1)
|
||||||
|
landscape->setMinimumHeight(landscape->sizeHint().height());
|
||||||
|
if (landscape->sizeHint().width()!=-1)
|
||||||
|
landscape->setMaximumWidth(landscape->sizeHint().width());
|
||||||
|
if (landscape->sizeHint().height()!=-1)
|
||||||
|
landscape->setMaximumHeight(landscape->sizeHint().height());
|
||||||
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
qtarch_layout_1->addStrut( 0 );
|
qtarch_layout_1->addStrut( 0 );
|
||||||
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: docgeometrydlgdata.h
|
File: docgeometrydlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:37 2001
|
Last generated: Sat Feb 10 21:35:53 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -42,18 +42,18 @@ protected slots:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
QComboBox* papersize;
|
QComboBox* papersize;
|
||||||
QComboBox* margins;
|
|
||||||
QRadioButton* portrait;
|
|
||||||
QRadioButton* landscape;
|
|
||||||
LengthEntry* width;
|
LengthEntry* width;
|
||||||
LengthEntry* height;
|
LengthEntry* height;
|
||||||
LengthEntry* top;
|
|
||||||
LengthEntry* bottom;
|
|
||||||
LengthEntry* left;
|
|
||||||
LengthEntry* headheight;
|
LengthEntry* headheight;
|
||||||
LengthEntry* headsep;
|
LengthEntry* headsep;
|
||||||
LengthEntry* footskip;
|
LengthEntry* footskip;
|
||||||
|
QComboBox* margins;
|
||||||
|
LengthEntry* top;
|
||||||
|
LengthEntry* bottom;
|
||||||
|
LengthEntry* left;
|
||||||
LengthEntry* right;
|
LengthEntry* right;
|
||||||
|
QRadioButton* portrait;
|
||||||
|
QRadioButton* landscape;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: doclanguagedlgdata.C
|
File: doclanguagedlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:17 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: doclanguagedlgdata.h
|
File: doclanguagedlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:17 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: docsettingsdlgdata.C
|
File: docsettingsdlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:24 2001
|
Last generated: Sun Feb 11 00:57:35 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -19,6 +19,7 @@
|
|||||||
#define Inherited QWidget
|
#define Inherited QWidget
|
||||||
|
|
||||||
#include <qlabel.h>
|
#include <qlabel.h>
|
||||||
|
#include <qgroupbox.h>
|
||||||
|
|
||||||
DocSettingsDialogData::DocSettingsDialogData
|
DocSettingsDialogData::DocSettingsDialogData
|
||||||
(
|
(
|
||||||
@ -28,9 +29,76 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
:
|
:
|
||||||
Inherited( parent, name, 0 )
|
Inherited( parent, name, 0 )
|
||||||
{
|
{
|
||||||
|
QGroupBox* qtarch_paraspacingbox;
|
||||||
|
qtarch_paraspacingbox = new QGroupBox( this, "paraspacingbox" );
|
||||||
|
qtarch_paraspacingbox->setGeometry( 5, 180, 540, 220 );
|
||||||
|
qtarch_paraspacingbox->setMinimumSize( 35, 69 );
|
||||||
|
qtarch_paraspacingbox->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_paraspacingbox->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_paraspacingbox->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_paraspacingbox->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_paraspacingbox->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_paraspacingbox->setFrameStyle( 49 );
|
||||||
|
qtarch_paraspacingbox->setLineWidth( 1 );
|
||||||
|
qtarch_paraspacingbox->setMidLineWidth( 0 );
|
||||||
|
qtarch_paraspacingbox->QFrame::setMargin( 17 );
|
||||||
|
qtarch_paraspacingbox->setTitle( _("Paragraph spacing") );
|
||||||
|
qtarch_paraspacingbox->setAlignment( 1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_labelFontSize;
|
||||||
|
qtarch_labelFontSize = new QLabel( this, "labelFontSize" );
|
||||||
|
qtarch_labelFontSize->setGeometry( 114, 95, 104, 25 );
|
||||||
|
qtarch_labelFontSize->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_labelFontSize->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_labelFontSize->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_labelFontSize->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_labelFontSize->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelFontSize->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelFontSize->setFrameStyle( 0 );
|
||||||
|
qtarch_labelFontSize->setLineWidth( 1 );
|
||||||
|
qtarch_labelFontSize->setMidLineWidth( 0 );
|
||||||
|
qtarch_labelFontSize->QFrame::setMargin( 0 );
|
||||||
|
qtarch_labelFontSize->setText( _("Font size :") );
|
||||||
|
qtarch_labelFontSize->setAlignment( 289 );
|
||||||
|
qtarch_labelFontSize->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_labelFont;
|
||||||
|
qtarch_labelFont = new QLabel( this, "labelFont" );
|
||||||
|
qtarch_labelFont->setGeometry( 114, 65, 104, 25 );
|
||||||
|
qtarch_labelFont->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_labelFont->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_labelFont->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_labelFont->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_labelFont->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelFont->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelFont->setFrameStyle( 0 );
|
||||||
|
qtarch_labelFont->setLineWidth( 1 );
|
||||||
|
qtarch_labelFont->setMidLineWidth( 0 );
|
||||||
|
qtarch_labelFont->QFrame::setMargin( 0 );
|
||||||
|
qtarch_labelFont->setText( _("Font family :") );
|
||||||
|
qtarch_labelFont->setAlignment( 289 );
|
||||||
|
qtarch_labelFont->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_labelPagestyle;
|
||||||
|
qtarch_labelPagestyle = new QLabel( this, "labelPagestyle" );
|
||||||
|
qtarch_labelPagestyle->setGeometry( 114, 35, 104, 25 );
|
||||||
|
qtarch_labelPagestyle->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_labelPagestyle->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_labelPagestyle->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_labelPagestyle->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_labelPagestyle->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelPagestyle->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelPagestyle->setFrameStyle( 0 );
|
||||||
|
qtarch_labelPagestyle->setLineWidth( 1 );
|
||||||
|
qtarch_labelPagestyle->setMidLineWidth( 0 );
|
||||||
|
qtarch_labelPagestyle->QFrame::setMargin( 0 );
|
||||||
|
qtarch_labelPagestyle->setText( _("Page style :") );
|
||||||
|
qtarch_labelPagestyle->setAlignment( 289 );
|
||||||
|
qtarch_labelPagestyle->setMargin( -1 );
|
||||||
|
|
||||||
QLabel* qtarch_labelClass;
|
QLabel* qtarch_labelClass;
|
||||||
qtarch_labelClass = new QLabel( this, "labelClass" );
|
qtarch_labelClass = new QLabel( this, "labelClass" );
|
||||||
qtarch_labelClass->setGeometry( 95, 5, 85, 23 );
|
qtarch_labelClass->setGeometry( 114, 5, 104, 25 );
|
||||||
qtarch_labelClass->setMinimumSize( 0, 0 );
|
qtarch_labelClass->setMinimumSize( 0, 0 );
|
||||||
qtarch_labelClass->setMaximumSize( 32767, 32767 );
|
qtarch_labelClass->setMaximumSize( 32767, 32767 );
|
||||||
qtarch_labelClass->setFocusPolicy( QWidget::NoFocus );
|
qtarch_labelClass->setFocusPolicy( QWidget::NoFocus );
|
||||||
@ -46,7 +114,7 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
qtarch_labelClass->setMargin( -1 );
|
qtarch_labelClass->setMargin( -1 );
|
||||||
|
|
||||||
docclass = new QComboBox( FALSE, this, "docclass" );
|
docclass = new QComboBox( FALSE, this, "docclass" );
|
||||||
docclass->setGeometry( 275, 5, 85, 23 );
|
docclass->setGeometry( 332, 5, 104, 25 );
|
||||||
docclass->setMinimumSize( 0, 0 );
|
docclass->setMinimumSize( 0, 0 );
|
||||||
docclass->setMaximumSize( 32767, 32767 );
|
docclass->setMaximumSize( 32767, 32767 );
|
||||||
connect( docclass, SIGNAL(highlighted(const char*)), SLOT(classChanged(const char*)) );
|
connect( docclass, SIGNAL(highlighted(const char*)), SLOT(classChanged(const char*)) );
|
||||||
@ -59,59 +127,8 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
docclass->setMaxCount( 2147483647 );
|
docclass->setMaxCount( 2147483647 );
|
||||||
docclass->setAutoCompletion( false );
|
docclass->setAutoCompletion( false );
|
||||||
|
|
||||||
QLabel* qtarch_labelPagestyle;
|
|
||||||
qtarch_labelPagestyle = new QLabel( this, "labelPagestyle" );
|
|
||||||
qtarch_labelPagestyle->setGeometry( 95, 33, 85, 23 );
|
|
||||||
qtarch_labelPagestyle->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_labelPagestyle->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_labelPagestyle->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_labelPagestyle->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_labelPagestyle->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_labelPagestyle->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_labelPagestyle->setFrameStyle( 0 );
|
|
||||||
qtarch_labelPagestyle->setLineWidth( 1 );
|
|
||||||
qtarch_labelPagestyle->setMidLineWidth( 0 );
|
|
||||||
qtarch_labelPagestyle->QFrame::setMargin( 0 );
|
|
||||||
qtarch_labelPagestyle->setText( _("Page style :") );
|
|
||||||
qtarch_labelPagestyle->setAlignment( 289 );
|
|
||||||
qtarch_labelPagestyle->setMargin( -1 );
|
|
||||||
|
|
||||||
QLabel* qtarch_labelFont;
|
|
||||||
qtarch_labelFont = new QLabel( this, "labelFont" );
|
|
||||||
qtarch_labelFont->setGeometry( 95, 61, 85, 22 );
|
|
||||||
qtarch_labelFont->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_labelFont->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_labelFont->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_labelFont->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_labelFont->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_labelFont->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_labelFont->setFrameStyle( 0 );
|
|
||||||
qtarch_labelFont->setLineWidth( 1 );
|
|
||||||
qtarch_labelFont->setMidLineWidth( 0 );
|
|
||||||
qtarch_labelFont->QFrame::setMargin( 0 );
|
|
||||||
qtarch_labelFont->setText( _("Font family :") );
|
|
||||||
qtarch_labelFont->setAlignment( 289 );
|
|
||||||
qtarch_labelFont->setMargin( -1 );
|
|
||||||
|
|
||||||
QLabel* qtarch_labelFontSize;
|
|
||||||
qtarch_labelFontSize = new QLabel( this, "labelFontSize" );
|
|
||||||
qtarch_labelFontSize->setGeometry( 95, 88, 85, 23 );
|
|
||||||
qtarch_labelFontSize->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_labelFontSize->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_labelFontSize->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_labelFontSize->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_labelFontSize->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_labelFontSize->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_labelFontSize->setFrameStyle( 0 );
|
|
||||||
qtarch_labelFontSize->setLineWidth( 1 );
|
|
||||||
qtarch_labelFontSize->setMidLineWidth( 0 );
|
|
||||||
qtarch_labelFontSize->QFrame::setMargin( 0 );
|
|
||||||
qtarch_labelFontSize->setText( _("Font size :") );
|
|
||||||
qtarch_labelFontSize->setAlignment( 289 );
|
|
||||||
qtarch_labelFontSize->setMargin( -1 );
|
|
||||||
|
|
||||||
pagestyle = new QComboBox( FALSE, this, "pagestyle" );
|
pagestyle = new QComboBox( FALSE, this, "pagestyle" );
|
||||||
pagestyle->setGeometry( 275, 33, 85, 23 );
|
pagestyle->setGeometry( 332, 35, 104, 25 );
|
||||||
pagestyle->setMinimumSize( 0, 0 );
|
pagestyle->setMinimumSize( 0, 0 );
|
||||||
pagestyle->setMaximumSize( 32767, 32767 );
|
pagestyle->setMaximumSize( 32767, 32767 );
|
||||||
pagestyle->setFocusPolicy( QWidget::StrongFocus );
|
pagestyle->setFocusPolicy( QWidget::StrongFocus );
|
||||||
@ -124,7 +141,7 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
pagestyle->setAutoCompletion( false );
|
pagestyle->setAutoCompletion( false );
|
||||||
|
|
||||||
font = new QComboBox( FALSE, this, "font" );
|
font = new QComboBox( FALSE, this, "font" );
|
||||||
font->setGeometry( 275, 61, 85, 22 );
|
font->setGeometry( 332, 65, 104, 25 );
|
||||||
font->setMinimumSize( 0, 0 );
|
font->setMinimumSize( 0, 0 );
|
||||||
font->setMaximumSize( 32767, 32767 );
|
font->setMaximumSize( 32767, 32767 );
|
||||||
font->setFocusPolicy( QWidget::StrongFocus );
|
font->setFocusPolicy( QWidget::StrongFocus );
|
||||||
@ -137,7 +154,7 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
font->setAutoCompletion( false );
|
font->setAutoCompletion( false );
|
||||||
|
|
||||||
fontsize = new QComboBox( FALSE, this, "fontsize" );
|
fontsize = new QComboBox( FALSE, this, "fontsize" );
|
||||||
fontsize->setGeometry( 275, 88, 85, 23 );
|
fontsize->setGeometry( 332, 95, 104, 25 );
|
||||||
fontsize->setMinimumSize( 0, 0 );
|
fontsize->setMinimumSize( 0, 0 );
|
||||||
fontsize->setMaximumSize( 32767, 32767 );
|
fontsize->setMaximumSize( 32767, 32767 );
|
||||||
fontsize->setFocusPolicy( QWidget::StrongFocus );
|
fontsize->setFocusPolicy( QWidget::StrongFocus );
|
||||||
@ -150,7 +167,7 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
fontsize->setAutoCompletion( false );
|
fontsize->setAutoCompletion( false );
|
||||||
|
|
||||||
sides = new QCheckBox( this, "sides" );
|
sides = new QCheckBox( this, "sides" );
|
||||||
sides->setGeometry( 93, 116, 88, 91 );
|
sides->setGeometry( 112, 125, 107, 50 );
|
||||||
sides->setMinimumSize( 0, 0 );
|
sides->setMinimumSize( 0, 0 );
|
||||||
sides->setMaximumSize( 32767, 32767 );
|
sides->setMaximumSize( 32767, 32767 );
|
||||||
sides->setFocusPolicy( QWidget::TabFocus );
|
sides->setFocusPolicy( QWidget::TabFocus );
|
||||||
@ -163,7 +180,7 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
sides->setChecked( false );
|
sides->setChecked( false );
|
||||||
|
|
||||||
columns = new QCheckBox( this, "columns" );
|
columns = new QCheckBox( this, "columns" );
|
||||||
columns->setGeometry( 274, 116, 88, 91 );
|
columns->setGeometry( 331, 125, 107, 50 );
|
||||||
columns->setMinimumSize( 0, 0 );
|
columns->setMinimumSize( 0, 0 );
|
||||||
columns->setMaximumSize( 32767, 32767 );
|
columns->setMaximumSize( 32767, 32767 );
|
||||||
columns->setFocusPolicy( QWidget::TabFocus );
|
columns->setFocusPolicy( QWidget::TabFocus );
|
||||||
@ -175,22 +192,9 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
columns->setAutoResize( false );
|
columns->setAutoResize( false );
|
||||||
columns->setChecked( false );
|
columns->setChecked( false );
|
||||||
|
|
||||||
separation = new QCheckBox( this, "separation" );
|
|
||||||
separation->setGeometry( 153, 212, 149, 91 );
|
|
||||||
separation->setMinimumSize( 0, 0 );
|
|
||||||
separation->setMaximumSize( 32767, 32767 );
|
|
||||||
separation->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
separation->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
separation->setFontPropagation( QWidget::NoChildren );
|
|
||||||
separation->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
separation->setText( _("Skip separation (FIXME)") );
|
|
||||||
separation->setAutoRepeat( false );
|
|
||||||
separation->setAutoResize( false );
|
|
||||||
separation->setChecked( false );
|
|
||||||
|
|
||||||
QLabel* qtarch_labelSpacing;
|
QLabel* qtarch_labelSpacing;
|
||||||
qtarch_labelSpacing = new QLabel( this, "labelSpacing" );
|
qtarch_labelSpacing = new QLabel( this, "labelSpacing" );
|
||||||
qtarch_labelSpacing->setGeometry( 5, 308, 145, 46 );
|
qtarch_labelSpacing->setGeometry( 5, 405, 177, 50 );
|
||||||
qtarch_labelSpacing->setMinimumSize( 0, 0 );
|
qtarch_labelSpacing->setMinimumSize( 0, 0 );
|
||||||
qtarch_labelSpacing->setMaximumSize( 32767, 32767 );
|
qtarch_labelSpacing->setMaximumSize( 32767, 32767 );
|
||||||
qtarch_labelSpacing->setFocusPolicy( QWidget::NoFocus );
|
qtarch_labelSpacing->setFocusPolicy( QWidget::NoFocus );
|
||||||
@ -205,65 +209,9 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
qtarch_labelSpacing->setAlignment( 289 );
|
qtarch_labelSpacing->setAlignment( 289 );
|
||||||
qtarch_labelSpacing->setMargin( -1 );
|
qtarch_labelSpacing->setMargin( -1 );
|
||||||
|
|
||||||
linespacing = new QComboBox( FALSE, this, "linespacing" );
|
|
||||||
linespacing->setGeometry( 155, 308, 215, 46 );
|
|
||||||
linespacing->setMinimumSize( 0, 0 );
|
|
||||||
linespacing->setMaximumSize( 32767, 32767 );
|
|
||||||
linespacing->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
linespacing->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
linespacing->setFontPropagation( QWidget::AllChildren );
|
|
||||||
linespacing->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
linespacing->setSizeLimit( 30 );
|
|
||||||
linespacing->setAutoResize( false );
|
|
||||||
linespacing->setMaxCount( 2147483647 );
|
|
||||||
linespacing->setAutoCompletion( false );
|
|
||||||
|
|
||||||
QLabel* qtarch_labelSkip;
|
|
||||||
qtarch_labelSkip = new QLabel( this, "labelSkip" );
|
|
||||||
qtarch_labelSkip->setGeometry( 5, 359, 145, 45 );
|
|
||||||
qtarch_labelSkip->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_labelSkip->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_labelSkip->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_labelSkip->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_labelSkip->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_labelSkip->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_labelSkip->setFrameStyle( 0 );
|
|
||||||
qtarch_labelSkip->setLineWidth( 1 );
|
|
||||||
qtarch_labelSkip->setMidLineWidth( 0 );
|
|
||||||
qtarch_labelSkip->QFrame::setMargin( 0 );
|
|
||||||
qtarch_labelSkip->setText( _("Default skip spacing :") );
|
|
||||||
qtarch_labelSkip->setAlignment( 289 );
|
|
||||||
qtarch_labelSkip->setMargin( -1 );
|
|
||||||
|
|
||||||
skipspacing = new QComboBox( FALSE, this, "skipspacing" );
|
|
||||||
skipspacing->setGeometry( 155, 359, 215, 45 );
|
|
||||||
skipspacing->setMinimumSize( 0, 0 );
|
|
||||||
skipspacing->setMaximumSize( 32767, 32767 );
|
|
||||||
skipspacing->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
skipspacing->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
skipspacing->setFontPropagation( QWidget::AllChildren );
|
|
||||||
skipspacing->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
skipspacing->setSizeLimit( 30 );
|
|
||||||
skipspacing->setAutoResize( false );
|
|
||||||
skipspacing->setMaxCount( 2147483647 );
|
|
||||||
skipspacing->setAutoCompletion( false );
|
|
||||||
|
|
||||||
extraoptions = new QLineEdit( this, "extraoptions" );
|
|
||||||
extraoptions->setGeometry( 230, 409, 220, 91 );
|
|
||||||
extraoptions->setMinimumSize( 0, 0 );
|
|
||||||
extraoptions->setMaximumSize( 32767, 32767 );
|
|
||||||
extraoptions->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
extraoptions->setBackgroundMode( QWidget::PaletteBase );
|
|
||||||
extraoptions->setFontPropagation( QWidget::NoChildren );
|
|
||||||
extraoptions->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
extraoptions->setText( "" );
|
|
||||||
extraoptions->setMaxLength( 32767 );
|
|
||||||
extraoptions->setFrame( QLineEdit::Normal );
|
|
||||||
extraoptions->setFrame( true );
|
|
||||||
|
|
||||||
QLabel* qtarch_labelExtraoptions;
|
QLabel* qtarch_labelExtraoptions;
|
||||||
qtarch_labelExtraoptions = new QLabel( this, "labelExtraoptions" );
|
qtarch_labelExtraoptions = new QLabel( this, "labelExtraoptions" );
|
||||||
qtarch_labelExtraoptions->setGeometry( 5, 409, 220, 91 );
|
qtarch_labelExtraoptions->setGeometry( 5, 460, 268, 50 );
|
||||||
qtarch_labelExtraoptions->setMinimumSize( 0, 0 );
|
qtarch_labelExtraoptions->setMinimumSize( 0, 0 );
|
||||||
qtarch_labelExtraoptions->setMaximumSize( 32767, 32767 );
|
qtarch_labelExtraoptions->setMaximumSize( 32767, 32767 );
|
||||||
qtarch_labelExtraoptions->setFocusPolicy( QWidget::NoFocus );
|
qtarch_labelExtraoptions->setFocusPolicy( QWidget::NoFocus );
|
||||||
@ -278,8 +226,130 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
qtarch_labelExtraoptions->setAlignment( 289 );
|
qtarch_labelExtraoptions->setAlignment( 289 );
|
||||||
qtarch_labelExtraoptions->setMargin( -1 );
|
qtarch_labelExtraoptions->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_labelSkip;
|
||||||
|
qtarch_labelSkip = new QLabel( qtarch_paraspacingbox, "labelSkip" );
|
||||||
|
qtarch_labelSkip->setGeometry( 5, 67, 128, 30 );
|
||||||
|
qtarch_labelSkip->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_labelSkip->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_labelSkip->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_labelSkip->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_labelSkip->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelSkip->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelSkip->setFrameStyle( 0 );
|
||||||
|
qtarch_labelSkip->setLineWidth( 1 );
|
||||||
|
qtarch_labelSkip->setMidLineWidth( 0 );
|
||||||
|
qtarch_labelSkip->QFrame::setMargin( 0 );
|
||||||
|
qtarch_labelSkip->setText( _("Default paragraph spacing :") );
|
||||||
|
qtarch_labelSkip->setAlignment( 289 );
|
||||||
|
qtarch_labelSkip->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_labelparasize;
|
||||||
|
qtarch_labelparasize = new QLabel( qtarch_paraspacingbox, "labelparasize" );
|
||||||
|
qtarch_labelparasize->setGeometry( 5, 114, 173, 30 );
|
||||||
|
qtarch_labelparasize->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_labelparasize->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_labelparasize->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_labelparasize->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_labelparasize->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelparasize->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelparasize->setFrameStyle( 0 );
|
||||||
|
qtarch_labelparasize->setLineWidth( 1 );
|
||||||
|
qtarch_labelparasize->setMidLineWidth( 0 );
|
||||||
|
qtarch_labelparasize->QFrame::setMargin( 0 );
|
||||||
|
qtarch_labelparasize->setText( _("Size :") );
|
||||||
|
qtarch_labelparasize->setAlignment( 289 );
|
||||||
|
qtarch_labelparasize->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_paralabelShrink;
|
||||||
|
qtarch_paralabelShrink = new QLabel( qtarch_paraspacingbox, "paralabelShrink" );
|
||||||
|
qtarch_paralabelShrink->setGeometry( 5, 185, 173, 30 );
|
||||||
|
qtarch_paralabelShrink->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_paralabelShrink->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_paralabelShrink->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_paralabelShrink->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_paralabelShrink->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_paralabelShrink->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_paralabelShrink->setFrameStyle( 0 );
|
||||||
|
qtarch_paralabelShrink->setLineWidth( 1 );
|
||||||
|
qtarch_paralabelShrink->setMidLineWidth( 0 );
|
||||||
|
qtarch_paralabelShrink->QFrame::setMargin( 0 );
|
||||||
|
qtarch_paralabelShrink->setText( _("Shrink :") );
|
||||||
|
qtarch_paralabelShrink->setAlignment( 289 );
|
||||||
|
qtarch_paralabelShrink->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_paralabelStretch;
|
||||||
|
qtarch_paralabelStretch = new QLabel( qtarch_paraspacingbox, "paralabelStretch" );
|
||||||
|
qtarch_paralabelStretch->setGeometry( 5, 149, 173, 31 );
|
||||||
|
qtarch_paralabelStretch->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_paralabelStretch->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_paralabelStretch->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_paralabelStretch->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_paralabelStretch->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_paralabelStretch->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_paralabelStretch->setFrameStyle( 0 );
|
||||||
|
qtarch_paralabelStretch->setLineWidth( 1 );
|
||||||
|
qtarch_paralabelStretch->setMidLineWidth( 0 );
|
||||||
|
qtarch_paralabelStretch->QFrame::setMargin( 0 );
|
||||||
|
qtarch_paralabelStretch->setText( _("Stretch :") );
|
||||||
|
qtarch_paralabelStretch->setAlignment( 289 );
|
||||||
|
qtarch_paralabelStretch->setMargin( -1 );
|
||||||
|
|
||||||
|
paraspacing = new QComboBox( FALSE, qtarch_paraspacingbox, "paraspacing" );
|
||||||
|
paraspacing->setGeometry( 279, 67, 128, 30 );
|
||||||
|
paraspacing->setMinimumSize( 0, 0 );
|
||||||
|
paraspacing->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( paraspacing, SIGNAL(highlighted(const char*)), SLOT(paraspacingChanged(const char*)) );
|
||||||
|
paraspacing->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
paraspacing->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
paraspacing->setFontPropagation( QWidget::AllChildren );
|
||||||
|
paraspacing->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
paraspacing->setSizeLimit( 30 );
|
||||||
|
paraspacing->setAutoResize( false );
|
||||||
|
paraspacing->setMaxCount( 2147483647 );
|
||||||
|
paraspacing->setAutoCompletion( false );
|
||||||
|
|
||||||
|
paraspacingValue = new LengthEntry( qtarch_paraspacingbox, "paraspacingValue" );
|
||||||
|
paraspacingValue->setGeometry( 183, 114, 174, 30 );
|
||||||
|
paraspacingValue->setMinimumSize( 0, 0 );
|
||||||
|
paraspacingValue->setMaximumSize( 32767, 32767 );
|
||||||
|
paraspacingValue->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
paraspacingValue->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
paraspacingValue->setFontPropagation( QWidget::NoChildren );
|
||||||
|
paraspacingValue->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
paraspacingStretch = new LengthEntry( qtarch_paraspacingbox, "paraspacingStretch" );
|
||||||
|
paraspacingStretch->setGeometry( 183, 149, 174, 31 );
|
||||||
|
paraspacingStretch->setMinimumSize( 0, 0 );
|
||||||
|
paraspacingStretch->setMaximumSize( 32767, 32767 );
|
||||||
|
paraspacingStretch->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
paraspacingStretch->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
paraspacingStretch->setFontPropagation( QWidget::NoChildren );
|
||||||
|
paraspacingStretch->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
paraspacingShrink = new LengthEntry( qtarch_paraspacingbox, "paraspacingShrink" );
|
||||||
|
paraspacingShrink->setGeometry( 183, 185, 174, 30 );
|
||||||
|
paraspacingShrink->setMinimumSize( 0, 0 );
|
||||||
|
paraspacingShrink->setMaximumSize( 32767, 32767 );
|
||||||
|
paraspacingShrink->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
paraspacingShrink->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
paraspacingShrink->setFontPropagation( QWidget::NoChildren );
|
||||||
|
paraspacingShrink->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
linespacing = new QComboBox( FALSE, this, "linespacing" );
|
||||||
|
linespacing->setGeometry( 187, 405, 176, 50 );
|
||||||
|
linespacing->setMinimumSize( 0, 0 );
|
||||||
|
linespacing->setMaximumSize( 32767, 32767 );
|
||||||
|
linespacing->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
linespacing->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
linespacing->setFontPropagation( QWidget::AllChildren );
|
||||||
|
linespacing->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
linespacing->setSizeLimit( 30 );
|
||||||
|
linespacing->setAutoResize( false );
|
||||||
|
linespacing->setMaxCount( 2147483647 );
|
||||||
|
linespacing->setAutoCompletion( false );
|
||||||
|
|
||||||
linespacingVal = new KRestrictedLine( this, "linespacingVal" );
|
linespacingVal = new KRestrictedLine( this, "linespacingVal" );
|
||||||
linespacingVal->setGeometry( 375, 308, 75, 46 );
|
linespacingVal->setGeometry( 368, 405, 177, 50 );
|
||||||
linespacingVal->setMinimumSize( 0, 0 );
|
linespacingVal->setMinimumSize( 0, 0 );
|
||||||
linespacingVal->setMaximumSize( 32767, 32767 );
|
linespacingVal->setMaximumSize( 32767, 32767 );
|
||||||
linespacingVal->setFocusPolicy( QWidget::StrongFocus );
|
linespacingVal->setFocusPolicy( QWidget::StrongFocus );
|
||||||
@ -292,23 +362,61 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
linespacingVal->setFrame( true );
|
linespacingVal->setFrame( true );
|
||||||
linespacingVal->setValidChars( "0123456789.," );
|
linespacingVal->setValidChars( "0123456789.," );
|
||||||
|
|
||||||
QLabel* qtarch_FIXME;
|
extraoptions = new QLineEdit( this, "extraoptions" );
|
||||||
qtarch_FIXME = new QLabel( this, "FIXME" );
|
extraoptions->setGeometry( 278, 460, 267, 50 );
|
||||||
qtarch_FIXME->setGeometry( 375, 359, 75, 45 );
|
extraoptions->setMinimumSize( 0, 0 );
|
||||||
qtarch_FIXME->setMinimumSize( 0, 0 );
|
extraoptions->setMaximumSize( 32767, 32767 );
|
||||||
qtarch_FIXME->setMaximumSize( 32767, 32767 );
|
extraoptions->setFocusPolicy( QWidget::StrongFocus );
|
||||||
qtarch_FIXME->setFocusPolicy( QWidget::NoFocus );
|
extraoptions->setBackgroundMode( QWidget::PaletteBase );
|
||||||
qtarch_FIXME->setBackgroundMode( QWidget::PaletteBackground );
|
extraoptions->setFontPropagation( QWidget::NoChildren );
|
||||||
qtarch_FIXME->setFontPropagation( QWidget::NoChildren );
|
extraoptions->setPalettePropagation( QWidget::NoChildren );
|
||||||
qtarch_FIXME->setPalettePropagation( QWidget::NoChildren );
|
extraoptions->setText( "" );
|
||||||
qtarch_FIXME->setFrameStyle( 0 );
|
extraoptions->setMaxLength( 32767 );
|
||||||
qtarch_FIXME->setLineWidth( 1 );
|
extraoptions->setFrame( QLineEdit::Normal );
|
||||||
qtarch_FIXME->setMidLineWidth( 0 );
|
extraoptions->setFrame( true );
|
||||||
qtarch_FIXME->QFrame::setMargin( 0 );
|
|
||||||
qtarch_FIXME->setText( _("FIXME") );
|
|
||||||
qtarch_FIXME->setAlignment( 289 );
|
|
||||||
qtarch_FIXME->setMargin( -1 );
|
|
||||||
|
|
||||||
|
addspace = new QCheckBox( this, "addspace" );
|
||||||
|
addspace->setGeometry( 10, 200, 398, 30 );
|
||||||
|
addspace->setMinimumSize( 0, 0 );
|
||||||
|
addspace->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( addspace, SIGNAL(toggled(bool)), SLOT(addspaceChanged(bool)) );
|
||||||
|
addspace->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
addspace->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
addspace->setFontPropagation( QWidget::NoChildren );
|
||||||
|
addspace->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
addspace->setText( _("Add space") );
|
||||||
|
addspace->setAutoRepeat( false );
|
||||||
|
addspace->setAutoResize( false );
|
||||||
|
addspace->setChecked( false );
|
||||||
|
|
||||||
|
if (qtarch_paraspacingbox->sizeHint().width()!=-1)
|
||||||
|
qtarch_paraspacingbox->setMinimumWidth(qtarch_paraspacingbox->sizeHint().width());
|
||||||
|
if (qtarch_paraspacingbox->sizeHint().height()!=-1)
|
||||||
|
qtarch_paraspacingbox->setMinimumHeight(qtarch_paraspacingbox->sizeHint().height());
|
||||||
|
if (qtarch_labelFontSize->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelFontSize->setMinimumWidth(qtarch_labelFontSize->sizeHint().width());
|
||||||
|
if (qtarch_labelFontSize->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelFontSize->setMinimumHeight(qtarch_labelFontSize->sizeHint().height());
|
||||||
|
if (qtarch_labelFontSize->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelFontSize->setMaximumWidth(qtarch_labelFontSize->sizeHint().width());
|
||||||
|
if (qtarch_labelFontSize->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelFontSize->setMaximumHeight(qtarch_labelFontSize->sizeHint().height());
|
||||||
|
if (qtarch_labelFont->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelFont->setMinimumWidth(qtarch_labelFont->sizeHint().width());
|
||||||
|
if (qtarch_labelFont->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelFont->setMinimumHeight(qtarch_labelFont->sizeHint().height());
|
||||||
|
if (qtarch_labelFont->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelFont->setMaximumWidth(qtarch_labelFont->sizeHint().width());
|
||||||
|
if (qtarch_labelFont->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelFont->setMaximumHeight(qtarch_labelFont->sizeHint().height());
|
||||||
|
if (qtarch_labelPagestyle->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelPagestyle->setMinimumWidth(qtarch_labelPagestyle->sizeHint().width());
|
||||||
|
if (qtarch_labelPagestyle->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelPagestyle->setMinimumHeight(qtarch_labelPagestyle->sizeHint().height());
|
||||||
|
if (qtarch_labelPagestyle->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelPagestyle->setMaximumWidth(qtarch_labelPagestyle->sizeHint().width());
|
||||||
|
if (qtarch_labelPagestyle->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelPagestyle->setMaximumHeight(qtarch_labelPagestyle->sizeHint().height());
|
||||||
if (qtarch_labelClass->sizeHint().width()!=-1)
|
if (qtarch_labelClass->sizeHint().width()!=-1)
|
||||||
qtarch_labelClass->setMinimumWidth(qtarch_labelClass->sizeHint().width());
|
qtarch_labelClass->setMinimumWidth(qtarch_labelClass->sizeHint().width());
|
||||||
if (qtarch_labelClass->sizeHint().height()!=-1)
|
if (qtarch_labelClass->sizeHint().height()!=-1)
|
||||||
@ -323,30 +431,6 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
docclass->setMinimumHeight(docclass->sizeHint().height());
|
docclass->setMinimumHeight(docclass->sizeHint().height());
|
||||||
if (docclass->sizeHint().height()!=-1)
|
if (docclass->sizeHint().height()!=-1)
|
||||||
docclass->setMaximumHeight(docclass->sizeHint().height());
|
docclass->setMaximumHeight(docclass->sizeHint().height());
|
||||||
if (qtarch_labelPagestyle->sizeHint().width()!=-1)
|
|
||||||
qtarch_labelPagestyle->setMinimumWidth(qtarch_labelPagestyle->sizeHint().width());
|
|
||||||
if (qtarch_labelPagestyle->sizeHint().height()!=-1)
|
|
||||||
qtarch_labelPagestyle->setMinimumHeight(qtarch_labelPagestyle->sizeHint().height());
|
|
||||||
if (qtarch_labelPagestyle->sizeHint().width()!=-1)
|
|
||||||
qtarch_labelPagestyle->setMaximumWidth(qtarch_labelPagestyle->sizeHint().width());
|
|
||||||
if (qtarch_labelPagestyle->sizeHint().height()!=-1)
|
|
||||||
qtarch_labelPagestyle->setMaximumHeight(qtarch_labelPagestyle->sizeHint().height());
|
|
||||||
if (qtarch_labelFont->sizeHint().width()!=-1)
|
|
||||||
qtarch_labelFont->setMinimumWidth(qtarch_labelFont->sizeHint().width());
|
|
||||||
if (qtarch_labelFont->sizeHint().height()!=-1)
|
|
||||||
qtarch_labelFont->setMinimumHeight(qtarch_labelFont->sizeHint().height());
|
|
||||||
if (qtarch_labelFont->sizeHint().width()!=-1)
|
|
||||||
qtarch_labelFont->setMaximumWidth(qtarch_labelFont->sizeHint().width());
|
|
||||||
if (qtarch_labelFont->sizeHint().height()!=-1)
|
|
||||||
qtarch_labelFont->setMaximumHeight(qtarch_labelFont->sizeHint().height());
|
|
||||||
if (qtarch_labelFontSize->sizeHint().width()!=-1)
|
|
||||||
qtarch_labelFontSize->setMinimumWidth(qtarch_labelFontSize->sizeHint().width());
|
|
||||||
if (qtarch_labelFontSize->sizeHint().height()!=-1)
|
|
||||||
qtarch_labelFontSize->setMinimumHeight(qtarch_labelFontSize->sizeHint().height());
|
|
||||||
if (qtarch_labelFontSize->sizeHint().width()!=-1)
|
|
||||||
qtarch_labelFontSize->setMaximumWidth(qtarch_labelFontSize->sizeHint().width());
|
|
||||||
if (qtarch_labelFontSize->sizeHint().height()!=-1)
|
|
||||||
qtarch_labelFontSize->setMaximumHeight(qtarch_labelFontSize->sizeHint().height());
|
|
||||||
if (pagestyle->sizeHint().width()!=-1)
|
if (pagestyle->sizeHint().width()!=-1)
|
||||||
pagestyle->setMinimumWidth(pagestyle->sizeHint().width());
|
pagestyle->setMinimumWidth(pagestyle->sizeHint().width());
|
||||||
if (pagestyle->sizeHint().height()!=-1)
|
if (pagestyle->sizeHint().height()!=-1)
|
||||||
@ -381,14 +465,6 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
columns->setMaximumWidth(columns->sizeHint().width());
|
columns->setMaximumWidth(columns->sizeHint().width());
|
||||||
if (columns->sizeHint().height()!=-1)
|
if (columns->sizeHint().height()!=-1)
|
||||||
columns->setMaximumHeight(columns->sizeHint().height());
|
columns->setMaximumHeight(columns->sizeHint().height());
|
||||||
if (separation->sizeHint().width()!=-1)
|
|
||||||
separation->setMinimumWidth(separation->sizeHint().width());
|
|
||||||
if (separation->sizeHint().height()!=-1)
|
|
||||||
separation->setMinimumHeight(separation->sizeHint().height());
|
|
||||||
if (separation->sizeHint().width()!=-1)
|
|
||||||
separation->setMaximumWidth(separation->sizeHint().width());
|
|
||||||
if (separation->sizeHint().height()!=-1)
|
|
||||||
separation->setMaximumHeight(separation->sizeHint().height());
|
|
||||||
if (qtarch_labelSpacing->sizeHint().width()!=-1)
|
if (qtarch_labelSpacing->sizeHint().width()!=-1)
|
||||||
qtarch_labelSpacing->setMinimumWidth(qtarch_labelSpacing->sizeHint().width());
|
qtarch_labelSpacing->setMinimumWidth(qtarch_labelSpacing->sizeHint().width());
|
||||||
if (qtarch_labelSpacing->sizeHint().height()!=-1)
|
if (qtarch_labelSpacing->sizeHint().height()!=-1)
|
||||||
@ -397,32 +473,6 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
qtarch_labelSpacing->setMaximumWidth(qtarch_labelSpacing->sizeHint().width());
|
qtarch_labelSpacing->setMaximumWidth(qtarch_labelSpacing->sizeHint().width());
|
||||||
if (qtarch_labelSpacing->sizeHint().height()!=-1)
|
if (qtarch_labelSpacing->sizeHint().height()!=-1)
|
||||||
qtarch_labelSpacing->setMaximumHeight(qtarch_labelSpacing->sizeHint().height());
|
qtarch_labelSpacing->setMaximumHeight(qtarch_labelSpacing->sizeHint().height());
|
||||||
if (linespacing->sizeHint().width()!=-1)
|
|
||||||
linespacing->setMinimumWidth(linespacing->sizeHint().width());
|
|
||||||
if (linespacing->sizeHint().height()!=-1)
|
|
||||||
linespacing->setMinimumHeight(linespacing->sizeHint().height());
|
|
||||||
if (linespacing->sizeHint().height()!=-1)
|
|
||||||
linespacing->setMaximumHeight(linespacing->sizeHint().height());
|
|
||||||
if (qtarch_labelSkip->sizeHint().width()!=-1)
|
|
||||||
qtarch_labelSkip->setMinimumWidth(qtarch_labelSkip->sizeHint().width());
|
|
||||||
if (qtarch_labelSkip->sizeHint().height()!=-1)
|
|
||||||
qtarch_labelSkip->setMinimumHeight(qtarch_labelSkip->sizeHint().height());
|
|
||||||
if (qtarch_labelSkip->sizeHint().width()!=-1)
|
|
||||||
qtarch_labelSkip->setMaximumWidth(qtarch_labelSkip->sizeHint().width());
|
|
||||||
if (qtarch_labelSkip->sizeHint().height()!=-1)
|
|
||||||
qtarch_labelSkip->setMaximumHeight(qtarch_labelSkip->sizeHint().height());
|
|
||||||
if (skipspacing->sizeHint().width()!=-1)
|
|
||||||
skipspacing->setMinimumWidth(skipspacing->sizeHint().width());
|
|
||||||
if (skipspacing->sizeHint().height()!=-1)
|
|
||||||
skipspacing->setMinimumHeight(skipspacing->sizeHint().height());
|
|
||||||
if (skipspacing->sizeHint().height()!=-1)
|
|
||||||
skipspacing->setMaximumHeight(skipspacing->sizeHint().height());
|
|
||||||
if (extraoptions->sizeHint().width()!=-1)
|
|
||||||
extraoptions->setMinimumWidth(extraoptions->sizeHint().width());
|
|
||||||
if (extraoptions->sizeHint().height()!=-1)
|
|
||||||
extraoptions->setMinimumHeight(extraoptions->sizeHint().height());
|
|
||||||
if (extraoptions->sizeHint().height()!=-1)
|
|
||||||
extraoptions->setMaximumHeight(extraoptions->sizeHint().height());
|
|
||||||
if (qtarch_labelExtraoptions->sizeHint().width()!=-1)
|
if (qtarch_labelExtraoptions->sizeHint().width()!=-1)
|
||||||
qtarch_labelExtraoptions->setMinimumWidth(qtarch_labelExtraoptions->sizeHint().width());
|
qtarch_labelExtraoptions->setMinimumWidth(qtarch_labelExtraoptions->sizeHint().width());
|
||||||
if (qtarch_labelExtraoptions->sizeHint().height()!=-1)
|
if (qtarch_labelExtraoptions->sizeHint().height()!=-1)
|
||||||
@ -431,16 +481,92 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
qtarch_labelExtraoptions->setMaximumWidth(qtarch_labelExtraoptions->sizeHint().width());
|
qtarch_labelExtraoptions->setMaximumWidth(qtarch_labelExtraoptions->sizeHint().width());
|
||||||
if (qtarch_labelExtraoptions->sizeHint().height()!=-1)
|
if (qtarch_labelExtraoptions->sizeHint().height()!=-1)
|
||||||
qtarch_labelExtraoptions->setMaximumHeight(qtarch_labelExtraoptions->sizeHint().height());
|
qtarch_labelExtraoptions->setMaximumHeight(qtarch_labelExtraoptions->sizeHint().height());
|
||||||
|
if (qtarch_labelSkip->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelSkip->setMinimumWidth(qtarch_labelSkip->sizeHint().width());
|
||||||
|
if (qtarch_labelSkip->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelSkip->setMinimumHeight(qtarch_labelSkip->sizeHint().height());
|
||||||
|
if (qtarch_labelSkip->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelSkip->setMaximumWidth(qtarch_labelSkip->sizeHint().width());
|
||||||
|
if (qtarch_labelSkip->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelSkip->setMaximumHeight(qtarch_labelSkip->sizeHint().height());
|
||||||
|
if (qtarch_labelparasize->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelparasize->setMinimumWidth(qtarch_labelparasize->sizeHint().width());
|
||||||
|
if (qtarch_labelparasize->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelparasize->setMinimumHeight(qtarch_labelparasize->sizeHint().height());
|
||||||
|
if (qtarch_labelparasize->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelparasize->setMaximumWidth(qtarch_labelparasize->sizeHint().width());
|
||||||
|
if (qtarch_labelparasize->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelparasize->setMaximumHeight(qtarch_labelparasize->sizeHint().height());
|
||||||
|
if (qtarch_paralabelShrink->sizeHint().width()!=-1)
|
||||||
|
qtarch_paralabelShrink->setMinimumWidth(qtarch_paralabelShrink->sizeHint().width());
|
||||||
|
if (qtarch_paralabelShrink->sizeHint().height()!=-1)
|
||||||
|
qtarch_paralabelShrink->setMinimumHeight(qtarch_paralabelShrink->sizeHint().height());
|
||||||
|
if (qtarch_paralabelShrink->sizeHint().width()!=-1)
|
||||||
|
qtarch_paralabelShrink->setMaximumWidth(qtarch_paralabelShrink->sizeHint().width());
|
||||||
|
if (qtarch_paralabelShrink->sizeHint().height()!=-1)
|
||||||
|
qtarch_paralabelShrink->setMaximumHeight(qtarch_paralabelShrink->sizeHint().height());
|
||||||
|
if (qtarch_paralabelStretch->sizeHint().width()!=-1)
|
||||||
|
qtarch_paralabelStretch->setMinimumWidth(qtarch_paralabelStretch->sizeHint().width());
|
||||||
|
if (qtarch_paralabelStretch->sizeHint().height()!=-1)
|
||||||
|
qtarch_paralabelStretch->setMinimumHeight(qtarch_paralabelStretch->sizeHint().height());
|
||||||
|
if (qtarch_paralabelStretch->sizeHint().width()!=-1)
|
||||||
|
qtarch_paralabelStretch->setMaximumWidth(qtarch_paralabelStretch->sizeHint().width());
|
||||||
|
if (qtarch_paralabelStretch->sizeHint().height()!=-1)
|
||||||
|
qtarch_paralabelStretch->setMaximumHeight(qtarch_paralabelStretch->sizeHint().height());
|
||||||
|
if (paraspacing->sizeHint().width()!=-1)
|
||||||
|
paraspacing->setMinimumWidth(paraspacing->sizeHint().width());
|
||||||
|
if (paraspacing->sizeHint().height()!=-1)
|
||||||
|
paraspacing->setMinimumHeight(paraspacing->sizeHint().height());
|
||||||
|
if (paraspacing->sizeHint().height()!=-1)
|
||||||
|
paraspacing->setMaximumHeight(paraspacing->sizeHint().height());
|
||||||
|
if (paraspacingValue->sizeHint().width()!=-1)
|
||||||
|
paraspacingValue->setMinimumWidth(paraspacingValue->sizeHint().width());
|
||||||
|
if (paraspacingValue->sizeHint().height()!=-1)
|
||||||
|
paraspacingValue->setMinimumHeight(paraspacingValue->sizeHint().height());
|
||||||
|
if (paraspacingValue->sizeHint().height()!=-1)
|
||||||
|
paraspacingValue->setMaximumHeight(paraspacingValue->sizeHint().height());
|
||||||
|
if (paraspacingStretch->sizeHint().width()!=-1)
|
||||||
|
paraspacingStretch->setMinimumWidth(paraspacingStretch->sizeHint().width());
|
||||||
|
if (paraspacingStretch->sizeHint().height()!=-1)
|
||||||
|
paraspacingStretch->setMinimumHeight(paraspacingStretch->sizeHint().height());
|
||||||
|
if (paraspacingStretch->sizeHint().height()!=-1)
|
||||||
|
paraspacingStretch->setMaximumHeight(paraspacingStretch->sizeHint().height());
|
||||||
|
if (paraspacingShrink->sizeHint().width()!=-1)
|
||||||
|
paraspacingShrink->setMinimumWidth(paraspacingShrink->sizeHint().width());
|
||||||
|
if (paraspacingShrink->sizeHint().height()!=-1)
|
||||||
|
paraspacingShrink->setMinimumHeight(paraspacingShrink->sizeHint().height());
|
||||||
|
if (paraspacingShrink->sizeHint().height()!=-1)
|
||||||
|
paraspacingShrink->setMaximumHeight(paraspacingShrink->sizeHint().height());
|
||||||
|
if (linespacing->sizeHint().width()!=-1)
|
||||||
|
linespacing->setMinimumWidth(linespacing->sizeHint().width());
|
||||||
|
if (linespacing->sizeHint().height()!=-1)
|
||||||
|
linespacing->setMinimumHeight(linespacing->sizeHint().height());
|
||||||
|
if (linespacing->sizeHint().height()!=-1)
|
||||||
|
linespacing->setMaximumHeight(linespacing->sizeHint().height());
|
||||||
if (linespacingVal->sizeHint().width()!=-1)
|
if (linespacingVal->sizeHint().width()!=-1)
|
||||||
linespacingVal->setMinimumWidth(linespacingVal->sizeHint().width());
|
linespacingVal->setMinimumWidth(linespacingVal->sizeHint().width());
|
||||||
if (linespacingVal->sizeHint().height()!=-1)
|
if (linespacingVal->sizeHint().height()!=-1)
|
||||||
linespacingVal->setMinimumHeight(linespacingVal->sizeHint().height());
|
linespacingVal->setMinimumHeight(linespacingVal->sizeHint().height());
|
||||||
if (linespacingVal->sizeHint().height()!=-1)
|
if (linespacingVal->sizeHint().height()!=-1)
|
||||||
linespacingVal->setMaximumHeight(linespacingVal->sizeHint().height());
|
linespacingVal->setMaximumHeight(linespacingVal->sizeHint().height());
|
||||||
|
if (extraoptions->sizeHint().width()!=-1)
|
||||||
|
extraoptions->setMinimumWidth(extraoptions->sizeHint().width());
|
||||||
|
if (extraoptions->sizeHint().height()!=-1)
|
||||||
|
extraoptions->setMinimumHeight(extraoptions->sizeHint().height());
|
||||||
|
if (extraoptions->sizeHint().height()!=-1)
|
||||||
|
extraoptions->setMaximumHeight(extraoptions->sizeHint().height());
|
||||||
|
if (addspace->sizeHint().width()!=-1)
|
||||||
|
addspace->setMinimumWidth(addspace->sizeHint().width());
|
||||||
|
if (addspace->sizeHint().height()!=-1)
|
||||||
|
addspace->setMinimumHeight(addspace->sizeHint().height());
|
||||||
|
if (addspace->sizeHint().width()!=-1)
|
||||||
|
addspace->setMaximumWidth(addspace->sizeHint().width());
|
||||||
|
if (addspace->sizeHint().height()!=-1)
|
||||||
|
addspace->setMaximumHeight(addspace->sizeHint().height());
|
||||||
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
qtarch_layout_1->addStrut( 0 );
|
qtarch_layout_1->addStrut( 0 );
|
||||||
QGridLayout* qtarch_layout_1_1 = new QGridLayout( 4, 5, 5, NULL );
|
QGridLayout* qtarch_layout_1_1 = new QGridLayout( 4, 5, 5, NULL );
|
||||||
qtarch_layout_1->addLayout( qtarch_layout_1_1, 1 );
|
qtarch_layout_1->addLayout( qtarch_layout_1_1, 2 );
|
||||||
qtarch_layout_1_1->addColSpacing( 0, 5 );
|
qtarch_layout_1_1->addColSpacing( 0, 5 );
|
||||||
qtarch_layout_1_1->setColStretch( 0, 1 );
|
qtarch_layout_1_1->setColStretch( 0, 1 );
|
||||||
qtarch_layout_1_1->addColSpacing( 1, 5 );
|
qtarch_layout_1_1->addColSpacing( 1, 5 );
|
||||||
@ -475,36 +601,53 @@ DocSettingsDialogData::DocSettingsDialogData
|
|||||||
qtarch_layout_1_2->addStretch( 1 );
|
qtarch_layout_1_2->addStretch( 1 );
|
||||||
qtarch_layout_1_2->addWidget( columns, 1, 33 );
|
qtarch_layout_1_2->addWidget( columns, 1, 33 );
|
||||||
qtarch_layout_1_2->addStretch( 1 );
|
qtarch_layout_1_2->addStretch( 1 );
|
||||||
QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
qtarch_layout_1->addWidget( qtarch_paraspacingbox, 3, 33 );
|
||||||
qtarch_layout_1->addLayout( qtarch_layout_1_3, 1 );
|
QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( qtarch_paraspacingbox, QBoxLayout::TopToBottom, 5, 17, NULL );
|
||||||
qtarch_layout_1_3->addStrut( 0 );
|
qtarch_layout_1_3->addStrut( 0 );
|
||||||
qtarch_layout_1_3->addStretch( 1 );
|
qtarch_layout_1_3->addSpacing( 15 );
|
||||||
qtarch_layout_1_3->addWidget( separation, 1, 33 );
|
QBoxLayout* qtarch_layout_1_3_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
qtarch_layout_1_3->addStretch( 1 );
|
qtarch_layout_1_3->addLayout( qtarch_layout_1_3_2, 1 );
|
||||||
QGridLayout* qtarch_layout_1_4 = new QGridLayout( 2, 3, 5, NULL );
|
qtarch_layout_1_3_2->addStrut( 0 );
|
||||||
|
qtarch_layout_1_3_2->addStretch( 1 );
|
||||||
|
QBoxLayout* qtarch_layout_1_3_3 = new QBoxLayout( QBoxLayout::LeftToRight, 17, NULL );
|
||||||
|
qtarch_layout_1_3->addLayout( qtarch_layout_1_3_3, 1 );
|
||||||
|
qtarch_layout_1_3_3->addStrut( 0 );
|
||||||
|
qtarch_layout_1_3_3->addWidget( qtarch_labelSkip, 1, 36 );
|
||||||
|
qtarch_layout_1_3_3->addStretch( 1 );
|
||||||
|
qtarch_layout_1_3_3->addWidget( paraspacing, 1, 36 );
|
||||||
|
qtarch_layout_1_3_3->addStretch( 1 );
|
||||||
|
QGridLayout* qtarch_layout_1_3_4 = new QGridLayout( 3, 3, 5, NULL );
|
||||||
|
qtarch_layout_1_3->addLayout( qtarch_layout_1_3_4, 3 );
|
||||||
|
qtarch_layout_1_3_4->addColSpacing( 0, 5 );
|
||||||
|
qtarch_layout_1_3_4->setColStretch( 0, 1 );
|
||||||
|
qtarch_layout_1_3_4->addColSpacing( 1, 5 );
|
||||||
|
qtarch_layout_1_3_4->setColStretch( 1, 1 );
|
||||||
|
qtarch_layout_1_3_4->addColSpacing( 2, 5 );
|
||||||
|
qtarch_layout_1_3_4->setColStretch( 2, 1 );
|
||||||
|
qtarch_layout_1_3_4->addRowSpacing( 0, 0 );
|
||||||
|
qtarch_layout_1_3_4->setRowStretch( 0, 1 );
|
||||||
|
qtarch_layout_1_3_4->addWidget( qtarch_labelparasize, 0, 0, 33 );
|
||||||
|
qtarch_layout_1_3_4->addWidget( paraspacingValue, 0, 1, 33 );
|
||||||
|
qtarch_layout_1_3_4->addRowSpacing( 1, 0 );
|
||||||
|
qtarch_layout_1_3_4->setRowStretch( 1, 1 );
|
||||||
|
qtarch_layout_1_3_4->addWidget( qtarch_paralabelStretch, 1, 0, 33 );
|
||||||
|
qtarch_layout_1_3_4->addWidget( paraspacingStretch, 1, 1, 33 );
|
||||||
|
qtarch_layout_1_3_4->addRowSpacing( 2, 0 );
|
||||||
|
qtarch_layout_1_3_4->setRowStretch( 2, 1 );
|
||||||
|
qtarch_layout_1_3_4->addWidget( qtarch_paralabelShrink, 2, 0, 33 );
|
||||||
|
qtarch_layout_1_3_4->addWidget( paraspacingShrink, 2, 1, 33 );
|
||||||
|
QBoxLayout* qtarch_layout_1_4 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
qtarch_layout_1->addLayout( qtarch_layout_1_4, 1 );
|
qtarch_layout_1->addLayout( qtarch_layout_1_4, 1 );
|
||||||
qtarch_layout_1_4->addColSpacing( 0, 5 );
|
qtarch_layout_1_4->addStrut( 0 );
|
||||||
qtarch_layout_1_4->setColStretch( 0, 2 );
|
qtarch_layout_1_4->addWidget( qtarch_labelSpacing, 1, 36 );
|
||||||
qtarch_layout_1_4->addColSpacing( 1, 5 );
|
qtarch_layout_1_4->addWidget( linespacing, 1, 36 );
|
||||||
qtarch_layout_1_4->setColStretch( 1, 3 );
|
qtarch_layout_1_4->addWidget( linespacingVal, 1, 36 );
|
||||||
qtarch_layout_1_4->addColSpacing( 2, 5 );
|
|
||||||
qtarch_layout_1_4->setColStretch( 2, 1 );
|
|
||||||
qtarch_layout_1_4->addRowSpacing( 0, 0 );
|
|
||||||
qtarch_layout_1_4->setRowStretch( 0, 1 );
|
|
||||||
qtarch_layout_1_4->addWidget( qtarch_labelSpacing, 0, 0, 33 );
|
|
||||||
qtarch_layout_1_4->addWidget( linespacing, 0, 1, 33 );
|
|
||||||
qtarch_layout_1_4->addWidget( linespacingVal, 0, 2, 33 );
|
|
||||||
qtarch_layout_1_4->addRowSpacing( 1, 0 );
|
|
||||||
qtarch_layout_1_4->setRowStretch( 1, 1 );
|
|
||||||
qtarch_layout_1_4->addWidget( qtarch_labelSkip, 1, 0, 33 );
|
|
||||||
qtarch_layout_1_4->addWidget( skipspacing, 1, 1, 33 );
|
|
||||||
qtarch_layout_1_4->addWidget( qtarch_FIXME, 1, 2, 33 );
|
|
||||||
QBoxLayout* qtarch_layout_1_5 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
QBoxLayout* qtarch_layout_1_5 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
qtarch_layout_1->addLayout( qtarch_layout_1_5, 1 );
|
qtarch_layout_1->addLayout( qtarch_layout_1_5, 1 );
|
||||||
qtarch_layout_1_5->addStrut( 0 );
|
qtarch_layout_1_5->addStrut( 0 );
|
||||||
qtarch_layout_1_5->addWidget( qtarch_labelExtraoptions, 1, 36 );
|
qtarch_layout_1_5->addWidget( qtarch_labelExtraoptions, 1, 36 );
|
||||||
qtarch_layout_1_5->addWidget( extraoptions, 1, 33 );
|
qtarch_layout_1_5->addWidget( extraoptions, 1, 33 );
|
||||||
setGeometry( 0,0, 455,505 );
|
setGeometry( 0,0, 550,515 );
|
||||||
setMinimumSize( 0, 0 );
|
setMinimumSize( 0, 0 );
|
||||||
setMaximumSize( 32767, 32767 );
|
setMaximumSize( 32767, 32767 );
|
||||||
}
|
}
|
||||||
@ -516,3 +659,9 @@ DocSettingsDialogData::~DocSettingsDialogData()
|
|||||||
void DocSettingsDialogData::classChanged(const char*)
|
void DocSettingsDialogData::classChanged(const char*)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
void DocSettingsDialogData::paraspacingChanged(const char*)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void DocSettingsDialogData::addspaceChanged(bool)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: docsettingsdlgdata.h
|
File: docsettingsdlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:24 2001
|
Last generated: Sun Feb 11 00:57:35 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -14,6 +14,7 @@
|
|||||||
#define DocSettingsDialogData_included
|
#define DocSettingsDialogData_included
|
||||||
|
|
||||||
#include <qwidget.h>
|
#include <qwidget.h>
|
||||||
|
#include "lengthentry.h"
|
||||||
#include <qcheckbox.h>
|
#include <qcheckbox.h>
|
||||||
#include <qcombobox.h>
|
#include <qcombobox.h>
|
||||||
#include <qlineedit.h>
|
#include <qlineedit.h>
|
||||||
@ -38,7 +39,9 @@ public slots:
|
|||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
|
||||||
|
virtual void paraspacingChanged(const char*);
|
||||||
virtual void classChanged(const char*);
|
virtual void classChanged(const char*);
|
||||||
|
virtual void addspaceChanged(bool);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QComboBox* docclass;
|
QComboBox* docclass;
|
||||||
@ -47,11 +50,14 @@ public:
|
|||||||
QComboBox* fontsize;
|
QComboBox* fontsize;
|
||||||
QCheckBox* sides;
|
QCheckBox* sides;
|
||||||
QCheckBox* columns;
|
QCheckBox* columns;
|
||||||
QCheckBox* separation;
|
QComboBox* paraspacing;
|
||||||
|
LengthEntry* paraspacingValue;
|
||||||
|
LengthEntry* paraspacingStretch;
|
||||||
|
LengthEntry* paraspacingShrink;
|
||||||
QComboBox* linespacing;
|
QComboBox* linespacing;
|
||||||
QComboBox* skipspacing;
|
|
||||||
QLineEdit* extraoptions;
|
|
||||||
KRestrictedLine* linespacingVal;
|
KRestrictedLine* linespacingVal;
|
||||||
|
QLineEdit* extraoptions;
|
||||||
|
QCheckBox* addspace;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ const unsigned int cellsize = 20;
|
|||||||
EmptyTable::EmptyTable(QWidget * parent, const char * name)
|
EmptyTable::EmptyTable(QWidget * parent, const char * name)
|
||||||
: QTableView(parent,name)
|
: QTableView(parent,name)
|
||||||
{
|
{
|
||||||
|
setBackgroundMode(NoBackground);
|
||||||
setNumCols(5);
|
setNumCols(5);
|
||||||
setNumRows(5);
|
setNumRows(5);
|
||||||
setCellWidth(cellsize);
|
setCellWidth(cellsize);
|
||||||
@ -72,9 +73,9 @@ void EmptyTable::mouseMoveEvent(QMouseEvent *ev)
|
|||||||
int x = ev->pos().x();
|
int x = ev->pos().x();
|
||||||
int y = ev->pos().y();
|
int y = ev->pos().y();
|
||||||
|
|
||||||
if (x > 0)
|
if (x > 0)
|
||||||
setNumberColumns(x / cellsize + leftCell());
|
setNumberColumns(x / cellsize + leftCell());
|
||||||
|
|
||||||
if (y > 0)
|
if (y > 0)
|
||||||
setNumberRows(y / cellsize + topCell());
|
setNumberRows(y / cellsize + topCell());
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: indexdlgdata.C
|
File: indexdlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:28 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -16,7 +16,7 @@
|
|||||||
#include <qlayout.h>
|
#include <qlayout.h>
|
||||||
#include "indexdlgdata.h"
|
#include "indexdlgdata.h"
|
||||||
|
|
||||||
#define Inherited QWidget
|
#define Inherited QDialog
|
||||||
|
|
||||||
|
|
||||||
IndexDialogData::IndexDialogData
|
IndexDialogData::IndexDialogData
|
||||||
@ -25,7 +25,7 @@ IndexDialogData::IndexDialogData
|
|||||||
const char* name
|
const char* name
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
Inherited( parent, name, 53248 )
|
Inherited( parent, name, TRUE, 53248 )
|
||||||
{
|
{
|
||||||
labelindex = new QLabel( this, "Label_1" );
|
labelindex = new QLabel( this, "Label_1" );
|
||||||
labelindex->setGeometry( 5, 15, 60, 25 );
|
labelindex->setGeometry( 5, 15, 60, 25 );
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: indexdlgdata.h
|
File: indexdlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:28 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -13,12 +13,12 @@
|
|||||||
#ifndef IndexDialogData_included
|
#ifndef IndexDialogData_included
|
||||||
#define IndexDialogData_included
|
#define IndexDialogData_included
|
||||||
|
|
||||||
#include <qwidget.h>
|
#include <qdialog.h>
|
||||||
#include <qlabel.h>
|
#include <qlabel.h>
|
||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
#include <qlineedit.h>
|
#include <qlineedit.h>
|
||||||
|
|
||||||
class IndexDialogData : public QWidget
|
class IndexDialogData : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
129
src/frontends/kde/dlg/logdlgdata.C
Normal file
129
src/frontends/kde/dlg/logdlgdata.C
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: logdlgdata.C
|
||||||
|
Last generated: Mon Feb 12 01:41:52 2001
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#include <qpixmap.h>
|
||||||
|
#include <qlayout.h>
|
||||||
|
#include "logdlgdata.h"
|
||||||
|
|
||||||
|
#define Inherited QDialog
|
||||||
|
|
||||||
|
|
||||||
|
LogDialogData::LogDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name, FALSE, 0 )
|
||||||
|
{
|
||||||
|
close = new QPushButton( this, "close" );
|
||||||
|
close->setGeometry( 241, 269, 77, 26 );
|
||||||
|
close->setMinimumSize( 0, 0 );
|
||||||
|
close->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( close, SIGNAL(clicked()), SLOT(closePressed()) );
|
||||||
|
close->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
close->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
close->setFontPropagation( QWidget::NoChildren );
|
||||||
|
close->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
close->setText( _("&Close") );
|
||||||
|
close->setAutoRepeat( false );
|
||||||
|
close->setAutoResize( false );
|
||||||
|
close->setToggleButton( false );
|
||||||
|
close->setDefault( true );
|
||||||
|
close->setAutoDefault( false );
|
||||||
|
close->setIsMenuButton( false );
|
||||||
|
|
||||||
|
updateb = new QPushButton( this, "updateb" );
|
||||||
|
updateb->setGeometry( 82, 269, 77, 26 );
|
||||||
|
updateb->setMinimumSize( 0, 0 );
|
||||||
|
updateb->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( updateb, SIGNAL(clicked()), SLOT(updatePressed()) );
|
||||||
|
updateb->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
updateb->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
updateb->setFontPropagation( QWidget::NoChildren );
|
||||||
|
updateb->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
updateb->setText( _("&Update") );
|
||||||
|
updateb->setAutoRepeat( false );
|
||||||
|
updateb->setAutoResize( false );
|
||||||
|
updateb->setToggleButton( false );
|
||||||
|
updateb->setDefault( false );
|
||||||
|
updateb->setAutoDefault( false );
|
||||||
|
updateb->setIsMenuButton( false );
|
||||||
|
|
||||||
|
viewer = new QMultiLineEdit( this, "viewer" );
|
||||||
|
viewer->setGeometry( 5, 5, 390, 259 );
|
||||||
|
viewer->setMinimumSize( 0, 0 );
|
||||||
|
viewer->setMaximumSize( 32767, 32767 );
|
||||||
|
viewer->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
viewer->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
viewer->setFontPropagation( QWidget::SameFont );
|
||||||
|
viewer->setPalettePropagation( QWidget::SameFont );
|
||||||
|
viewer->setFrameStyle( 51 );
|
||||||
|
viewer->setLineWidth( 2 );
|
||||||
|
viewer->setMidLineWidth( 0 );
|
||||||
|
viewer->QFrame::setMargin( 0 );
|
||||||
|
viewer->insertLine( "" );
|
||||||
|
viewer->setReadOnly( true );
|
||||||
|
viewer->setOverwriteMode( false );
|
||||||
|
viewer->setAutoUpdate( true );
|
||||||
|
|
||||||
|
if (close->sizeHint().width()!=-1)
|
||||||
|
close->setMinimumWidth(close->sizeHint().width());
|
||||||
|
if (close->sizeHint().height()!=-1)
|
||||||
|
close->setMinimumHeight(close->sizeHint().height());
|
||||||
|
if (close->sizeHint().width()!=-1)
|
||||||
|
close->setMaximumWidth(close->sizeHint().width());
|
||||||
|
if (close->sizeHint().height()!=-1)
|
||||||
|
close->setMaximumHeight(close->sizeHint().height());
|
||||||
|
if (updateb->sizeHint().width()!=-1)
|
||||||
|
updateb->setMinimumWidth(updateb->sizeHint().width());
|
||||||
|
if (updateb->sizeHint().height()!=-1)
|
||||||
|
updateb->setMinimumHeight(updateb->sizeHint().height());
|
||||||
|
if (updateb->sizeHint().width()!=-1)
|
||||||
|
updateb->setMaximumWidth(updateb->sizeHint().width());
|
||||||
|
if (updateb->sizeHint().height()!=-1)
|
||||||
|
updateb->setMaximumHeight(updateb->sizeHint().height());
|
||||||
|
if (viewer->sizeHint().width()!=-1)
|
||||||
|
viewer->setMinimumWidth(viewer->sizeHint().width());
|
||||||
|
if (viewer->sizeHint().height()!=-1)
|
||||||
|
viewer->setMinimumHeight(viewer->sizeHint().height());
|
||||||
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
|
qtarch_layout_1->addStrut( 0 );
|
||||||
|
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_1, 10 );
|
||||||
|
qtarch_layout_1_1->addStrut( 0 );
|
||||||
|
qtarch_layout_1_1->addWidget( viewer, 1, 36 );
|
||||||
|
QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_2, 1 );
|
||||||
|
qtarch_layout_1_2->addStrut( 0 );
|
||||||
|
qtarch_layout_1_2->addStretch( 1 );
|
||||||
|
qtarch_layout_1_2->addWidget( updateb, 1, 36 );
|
||||||
|
qtarch_layout_1_2->addStretch( 1 );
|
||||||
|
qtarch_layout_1_2->addWidget( close, 1, 36 );
|
||||||
|
qtarch_layout_1_2->addStretch( 1 );
|
||||||
|
resize( 400,300 );
|
||||||
|
setMinimumSize( 0, 0 );
|
||||||
|
setMaximumSize( 32767, 32767 );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
LogDialogData::~LogDialogData()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void LogDialogData::closePressed()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void LogDialogData::updatePressed()
|
||||||
|
{
|
||||||
|
}
|
49
src/frontends/kde/dlg/logdlgdata.h
Normal file
49
src/frontends/kde/dlg/logdlgdata.h
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: logdlgdata.h
|
||||||
|
Last generated: Mon Feb 12 01:41:52 2001
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef LogDialogData_included
|
||||||
|
#define LogDialogData_included
|
||||||
|
|
||||||
|
#include <qdialog.h>
|
||||||
|
#include <qpushbutton.h>
|
||||||
|
#include <qmultilinedit.h>
|
||||||
|
|
||||||
|
class LogDialogData : public QDialog
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
LogDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~LogDialogData();
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
|
||||||
|
virtual void updatePressed();
|
||||||
|
virtual void closePressed();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
QPushButton* close;
|
||||||
|
QPushButton* updateb;
|
||||||
|
QMultiLineEdit* viewer;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // LogDialogData_included
|
@ -13,6 +13,7 @@ libkdedlgmoc_la_SOURCES = copyrightdlgdata_moc.C \
|
|||||||
docextradlgdata_moc.C \
|
docextradlgdata_moc.C \
|
||||||
docbulletsdlgdata_moc.C \
|
docbulletsdlgdata_moc.C \
|
||||||
indexdlgdata_moc.C \
|
indexdlgdata_moc.C \
|
||||||
|
logdlgdata_moc.C \
|
||||||
paradlgdata_moc.C \
|
paradlgdata_moc.C \
|
||||||
parageneraldlgdata_moc.C \
|
parageneraldlgdata_moc.C \
|
||||||
paraabovedlgdata_moc.C \
|
paraabovedlgdata_moc.C \
|
||||||
@ -48,6 +49,8 @@ emptytable_moc.C: ../emptytable.h
|
|||||||
$(MOC) $< -o $@
|
$(MOC) $< -o $@
|
||||||
indexdlgdata_moc.C: ../indexdlgdata.h
|
indexdlgdata_moc.C: ../indexdlgdata.h
|
||||||
$(MOC) $< -o $@
|
$(MOC) $< -o $@
|
||||||
|
logdlgdata_moc.C: ../logdlgdata.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
paradlgdata_moc.C: ../paradlgdata.h
|
paradlgdata_moc.C: ../paradlgdata.h
|
||||||
$(MOC) $< -o $@
|
$(MOC) $< -o $@
|
||||||
parageneraldlgdata_moc.C: ../parageneraldlgdata.h
|
parageneraldlgdata_moc.C: ../parageneraldlgdata.h
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: paraabovedlgdata.C
|
File: paraabovedlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:38 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -98,7 +98,7 @@ ParaAboveDialogData::ParaAboveDialogData
|
|||||||
qtarch_ValueLabel->setLineWidth( 1 );
|
qtarch_ValueLabel->setLineWidth( 1 );
|
||||||
qtarch_ValueLabel->setMidLineWidth( 0 );
|
qtarch_ValueLabel->setMidLineWidth( 0 );
|
||||||
qtarch_ValueLabel->QFrame::setMargin( 0 );
|
qtarch_ValueLabel->QFrame::setMargin( 0 );
|
||||||
qtarch_ValueLabel->setText( _("Value") );
|
qtarch_ValueLabel->setText( _("Size") );
|
||||||
qtarch_ValueLabel->setAlignment( 289 );
|
qtarch_ValueLabel->setAlignment( 289 );
|
||||||
qtarch_ValueLabel->setMargin( -1 );
|
qtarch_ValueLabel->setMargin( -1 );
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ ParaAboveDialogData::ParaAboveDialogData
|
|||||||
qtarch_Label_14->setLineWidth( 1 );
|
qtarch_Label_14->setLineWidth( 1 );
|
||||||
qtarch_Label_14->setMidLineWidth( 0 );
|
qtarch_Label_14->setMidLineWidth( 0 );
|
||||||
qtarch_Label_14->QFrame::setMargin( 0 );
|
qtarch_Label_14->QFrame::setMargin( 0 );
|
||||||
qtarch_Label_14->setText( _("Plus") );
|
qtarch_Label_14->setText( _("Stretch") );
|
||||||
qtarch_Label_14->setAlignment( 289 );
|
qtarch_Label_14->setAlignment( 289 );
|
||||||
qtarch_Label_14->setMargin( -1 );
|
qtarch_Label_14->setMargin( -1 );
|
||||||
|
|
||||||
@ -132,7 +132,7 @@ ParaAboveDialogData::ParaAboveDialogData
|
|||||||
qtarch_aboveminuslabel->setLineWidth( 1 );
|
qtarch_aboveminuslabel->setLineWidth( 1 );
|
||||||
qtarch_aboveminuslabel->setMidLineWidth( 0 );
|
qtarch_aboveminuslabel->setMidLineWidth( 0 );
|
||||||
qtarch_aboveminuslabel->QFrame::setMargin( 0 );
|
qtarch_aboveminuslabel->QFrame::setMargin( 0 );
|
||||||
qtarch_aboveminuslabel->setText( _("Minus") );
|
qtarch_aboveminuslabel->setText( _("Shrink") );
|
||||||
qtarch_aboveminuslabel->setAlignment( 289 );
|
qtarch_aboveminuslabel->setAlignment( 289 );
|
||||||
qtarch_aboveminuslabel->setMargin( -1 );
|
qtarch_aboveminuslabel->setMargin( -1 );
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: paraabovedlgdata.h
|
File: paraabovedlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:38 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: parabelowdlgdata.C
|
File: parabelowdlgdata.C
|
||||||
Last generated: Wed Jan 24 07:26:08 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -98,7 +98,7 @@ ParaBelowDialogData::ParaBelowDialogData
|
|||||||
qtarch_ValueLabel->setLineWidth( 1 );
|
qtarch_ValueLabel->setLineWidth( 1 );
|
||||||
qtarch_ValueLabel->setMidLineWidth( 0 );
|
qtarch_ValueLabel->setMidLineWidth( 0 );
|
||||||
qtarch_ValueLabel->QFrame::setMargin( 0 );
|
qtarch_ValueLabel->QFrame::setMargin( 0 );
|
||||||
qtarch_ValueLabel->setText( _("Value") );
|
qtarch_ValueLabel->setText( _("Size") );
|
||||||
qtarch_ValueLabel->setAlignment( 289 );
|
qtarch_ValueLabel->setAlignment( 289 );
|
||||||
qtarch_ValueLabel->setMargin( -1 );
|
qtarch_ValueLabel->setMargin( -1 );
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ ParaBelowDialogData::ParaBelowDialogData
|
|||||||
qtarch_Label_14->setLineWidth( 1 );
|
qtarch_Label_14->setLineWidth( 1 );
|
||||||
qtarch_Label_14->setMidLineWidth( 0 );
|
qtarch_Label_14->setMidLineWidth( 0 );
|
||||||
qtarch_Label_14->QFrame::setMargin( 0 );
|
qtarch_Label_14->QFrame::setMargin( 0 );
|
||||||
qtarch_Label_14->setText( _("Plus") );
|
qtarch_Label_14->setText( _("Stretch") );
|
||||||
qtarch_Label_14->setAlignment( 289 );
|
qtarch_Label_14->setAlignment( 289 );
|
||||||
qtarch_Label_14->setMargin( -1 );
|
qtarch_Label_14->setMargin( -1 );
|
||||||
|
|
||||||
@ -132,7 +132,7 @@ ParaBelowDialogData::ParaBelowDialogData
|
|||||||
qtarch_belowminuslabel->setLineWidth( 1 );
|
qtarch_belowminuslabel->setLineWidth( 1 );
|
||||||
qtarch_belowminuslabel->setMidLineWidth( 0 );
|
qtarch_belowminuslabel->setMidLineWidth( 0 );
|
||||||
qtarch_belowminuslabel->QFrame::setMargin( 0 );
|
qtarch_belowminuslabel->QFrame::setMargin( 0 );
|
||||||
qtarch_belowminuslabel->setText( _("Minus") );
|
qtarch_belowminuslabel->setText( _("Shrink") );
|
||||||
qtarch_belowminuslabel->setAlignment( 289 );
|
qtarch_belowminuslabel->setAlignment( 289 );
|
||||||
qtarch_belowminuslabel->setMargin( -1 );
|
qtarch_belowminuslabel->setMargin( -1 );
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: parabelowdlgdata.h
|
File: parabelowdlgdata.h
|
||||||
Last generated: Wed Jan 24 07:26:08 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: paradlgdata.C
|
File: paradlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:33 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -16,7 +16,7 @@
|
|||||||
#include <qlayout.h>
|
#include <qlayout.h>
|
||||||
#include "paradlgdata.h"
|
#include "paradlgdata.h"
|
||||||
|
|
||||||
#define Inherited QWidget
|
#define Inherited QDialog
|
||||||
|
|
||||||
|
|
||||||
ParaDialogData::ParaDialogData
|
ParaDialogData::ParaDialogData
|
||||||
@ -25,7 +25,7 @@ ParaDialogData::ParaDialogData
|
|||||||
const char* name
|
const char* name
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
Inherited( parent, name, 0 )
|
Inherited( parent, name, TRUE, 0 )
|
||||||
{
|
{
|
||||||
ok = new QPushButton( this, "OK" );
|
ok = new QPushButton( this, "OK" );
|
||||||
ok->setGeometry( 73, 555, 69, 55 );
|
ok->setGeometry( 73, 555, 69, 55 );
|
||||||
@ -44,15 +44,6 @@ ParaDialogData::ParaDialogData
|
|||||||
ok->setAutoDefault( false );
|
ok->setAutoDefault( false );
|
||||||
ok->setIsMenuButton( false );
|
ok->setIsMenuButton( false );
|
||||||
|
|
||||||
tabstack = new TabStack( this, "User_1" );
|
|
||||||
tabstack->setGeometry( 5, 5, 630, 545 );
|
|
||||||
tabstack->setMinimumSize( 0, 0 );
|
|
||||||
tabstack->setMaximumSize( 32767, 32767 );
|
|
||||||
tabstack->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
tabstack->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
tabstack->setFontPropagation( QWidget::NoChildren );
|
|
||||||
tabstack->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
|
|
||||||
apply = new QPushButton( this, "apply" );
|
apply = new QPushButton( this, "apply" );
|
||||||
apply->setGeometry( 215, 555, 68, 55 );
|
apply->setGeometry( 215, 555, 68, 55 );
|
||||||
apply->setMinimumSize( 0, 0 );
|
apply->setMinimumSize( 0, 0 );
|
||||||
@ -104,6 +95,15 @@ ParaDialogData::ParaDialogData
|
|||||||
cancel->setAutoDefault( false );
|
cancel->setAutoDefault( false );
|
||||||
cancel->setIsMenuButton( false );
|
cancel->setIsMenuButton( false );
|
||||||
|
|
||||||
|
tabstack = new TabStack( this, "User_1" );
|
||||||
|
tabstack->setGeometry( 5, 5, 630, 545 );
|
||||||
|
tabstack->setMinimumSize( 0, 0 );
|
||||||
|
tabstack->setMaximumSize( 32767, 32767 );
|
||||||
|
tabstack->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
tabstack->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
tabstack->setFontPropagation( QWidget::NoChildren );
|
||||||
|
tabstack->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
if (ok->sizeHint().width()!=-1)
|
if (ok->sizeHint().width()!=-1)
|
||||||
ok->setMinimumWidth(ok->sizeHint().width());
|
ok->setMinimumWidth(ok->sizeHint().width());
|
||||||
if (ok->sizeHint().height()!=-1)
|
if (ok->sizeHint().height()!=-1)
|
||||||
@ -112,10 +112,6 @@ ParaDialogData::ParaDialogData
|
|||||||
ok->setMaximumWidth(ok->sizeHint().width());
|
ok->setMaximumWidth(ok->sizeHint().width());
|
||||||
if (ok->sizeHint().height()!=-1)
|
if (ok->sizeHint().height()!=-1)
|
||||||
ok->setMaximumHeight(ok->sizeHint().height());
|
ok->setMaximumHeight(ok->sizeHint().height());
|
||||||
if (tabstack->sizeHint().width()!=-1)
|
|
||||||
tabstack->setMinimumWidth(tabstack->sizeHint().width());
|
|
||||||
if (tabstack->sizeHint().height()!=-1)
|
|
||||||
tabstack->setMinimumHeight(tabstack->sizeHint().height());
|
|
||||||
if (apply->sizeHint().width()!=-1)
|
if (apply->sizeHint().width()!=-1)
|
||||||
apply->setMinimumWidth(apply->sizeHint().width());
|
apply->setMinimumWidth(apply->sizeHint().width());
|
||||||
if (apply->sizeHint().height()!=-1)
|
if (apply->sizeHint().height()!=-1)
|
||||||
@ -140,6 +136,10 @@ ParaDialogData::ParaDialogData
|
|||||||
cancel->setMaximumWidth(cancel->sizeHint().width());
|
cancel->setMaximumWidth(cancel->sizeHint().width());
|
||||||
if (cancel->sizeHint().height()!=-1)
|
if (cancel->sizeHint().height()!=-1)
|
||||||
cancel->setMaximumHeight(cancel->sizeHint().height());
|
cancel->setMaximumHeight(cancel->sizeHint().height());
|
||||||
|
if (tabstack->sizeHint().width()!=-1)
|
||||||
|
tabstack->setMinimumWidth(tabstack->sizeHint().width());
|
||||||
|
if (tabstack->sizeHint().height()!=-1)
|
||||||
|
tabstack->setMinimumHeight(tabstack->sizeHint().height());
|
||||||
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
qtarch_layout_1->addStrut( 0 );
|
qtarch_layout_1->addStrut( 0 );
|
||||||
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: paradlgdata.h
|
File: paradlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:33 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -13,11 +13,11 @@
|
|||||||
#ifndef ParaDialogData_included
|
#ifndef ParaDialogData_included
|
||||||
#define ParaDialogData_included
|
#define ParaDialogData_included
|
||||||
|
|
||||||
#include <qwidget.h>
|
#include <qdialog.h>
|
||||||
#include "tabstack.h"
|
#include "tabstack.h"
|
||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
|
|
||||||
class ParaDialogData : public QWidget
|
class ParaDialogData : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
@ -43,10 +43,10 @@ protected slots:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
QPushButton* ok;
|
QPushButton* ok;
|
||||||
TabStack* tabstack;
|
|
||||||
QPushButton* apply;
|
QPushButton* apply;
|
||||||
QPushButton* restore;
|
QPushButton* restore;
|
||||||
QPushButton* cancel;
|
QPushButton* cancel;
|
||||||
|
TabStack* tabstack;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: paraextradlgdata.C
|
File: paraextradlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:26 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -28,22 +28,6 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
:
|
:
|
||||||
Inherited( parent, name, 0 )
|
Inherited( parent, name, 0 )
|
||||||
{
|
{
|
||||||
specialalignment = new QButtonGroup( this, "specialalignment" );
|
|
||||||
specialalignment->setGeometry( 5, 124, 265, 331 );
|
|
||||||
specialalignment->setMinimumSize( 0, 0 );
|
|
||||||
specialalignment->setMaximumSize( 32767, 32767 );
|
|
||||||
specialalignment->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
specialalignment->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
specialalignment->setFontPropagation( QWidget::NoChildren );
|
|
||||||
specialalignment->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
specialalignment->setFrameStyle( 49 );
|
|
||||||
specialalignment->setLineWidth( 1 );
|
|
||||||
specialalignment->setMidLineWidth( 0 );
|
|
||||||
specialalignment->QFrame::setMargin( 0 );
|
|
||||||
specialalignment->setTitle( _("Alignment") );
|
|
||||||
specialalignment->setAlignment( 1 );
|
|
||||||
specialalignment->setExclusive( true );
|
|
||||||
|
|
||||||
type = new QComboBox( FALSE, this, "type" );
|
type = new QComboBox( FALSE, this, "type" );
|
||||||
type->setGeometry( 5, 65, 265, 54 );
|
type->setGeometry( 5, 65, 265, 54 );
|
||||||
type->setMinimumSize( 0, 0 );
|
type->setMinimumSize( 0, 0 );
|
||||||
@ -92,6 +76,20 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
qtarch_specialwidthlabel->setAlignment( 289 );
|
qtarch_specialwidthlabel->setAlignment( 289 );
|
||||||
qtarch_specialwidthlabel->setMargin( -1 );
|
qtarch_specialwidthlabel->setMargin( -1 );
|
||||||
|
|
||||||
|
widthvalue = new KRestrictedLine( this, "widthvalue" );
|
||||||
|
widthvalue->setGeometry( 275, 65, 87, 54 );
|
||||||
|
widthvalue->setMinimumSize( 0, 0 );
|
||||||
|
widthvalue->setMaximumSize( 32767, 32767 );
|
||||||
|
widthvalue->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
widthvalue->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
widthvalue->setFontPropagation( QWidget::NoChildren );
|
||||||
|
widthvalue->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
widthvalue->setText( "" );
|
||||||
|
widthvalue->setMaxLength( 32767 );
|
||||||
|
widthvalue->setFrame( QLineEdit::Normal );
|
||||||
|
widthvalue->setFrame( true );
|
||||||
|
widthvalue->setValidChars( "0123456789.-," );
|
||||||
|
|
||||||
widthvalueunits = new QComboBox( FALSE, this, "widthvalueunits" );
|
widthvalueunits = new QComboBox( FALSE, this, "widthvalueunits" );
|
||||||
widthvalueunits->setGeometry( 367, 65, 173, 54 );
|
widthvalueunits->setGeometry( 367, 65, 173, 54 );
|
||||||
widthvalueunits->setMinimumSize( 0, 0 );
|
widthvalueunits->setMinimumSize( 0, 0 );
|
||||||
@ -105,31 +103,21 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
widthvalueunits->setMaxCount( 2147483647 );
|
widthvalueunits->setMaxCount( 2147483647 );
|
||||||
widthvalueunits->setAutoCompletion( false );
|
widthvalueunits->setAutoCompletion( false );
|
||||||
|
|
||||||
hfillbetween = new QCheckBox( this, "hfillbetween" );
|
specialalignment = new QButtonGroup( this, "specialalignment" );
|
||||||
hfillbetween->setGeometry( 275, 189, 265, 65 );
|
specialalignment->setGeometry( 5, 124, 265, 331 );
|
||||||
hfillbetween->setMinimumSize( 0, 0 );
|
specialalignment->setMinimumSize( 0, 0 );
|
||||||
hfillbetween->setMaximumSize( 32767, 32767 );
|
specialalignment->setMaximumSize( 32767, 32767 );
|
||||||
hfillbetween->setFocusPolicy( QWidget::TabFocus );
|
specialalignment->setFocusPolicy( QWidget::NoFocus );
|
||||||
hfillbetween->setBackgroundMode( QWidget::PaletteBackground );
|
specialalignment->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
hfillbetween->setFontPropagation( QWidget::NoChildren );
|
specialalignment->setFontPropagation( QWidget::NoChildren );
|
||||||
hfillbetween->setPalettePropagation( QWidget::NoChildren );
|
specialalignment->setPalettePropagation( QWidget::NoChildren );
|
||||||
hfillbetween->setText( _("&HFill between minipage paragraphs") );
|
specialalignment->setFrameStyle( 49 );
|
||||||
hfillbetween->setAutoRepeat( false );
|
specialalignment->setLineWidth( 1 );
|
||||||
hfillbetween->setAutoResize( false );
|
specialalignment->setMidLineWidth( 0 );
|
||||||
hfillbetween->setChecked( false );
|
specialalignment->QFrame::setMargin( 0 );
|
||||||
|
specialalignment->setTitle( _("Alignment") );
|
||||||
startnewminipage = new QCheckBox( this, "startnewminipage" );
|
specialalignment->setAlignment( 1 );
|
||||||
startnewminipage->setGeometry( 275, 325, 265, 65 );
|
specialalignment->setExclusive( true );
|
||||||
startnewminipage->setMinimumSize( 0, 0 );
|
|
||||||
startnewminipage->setMaximumSize( 32767, 32767 );
|
|
||||||
startnewminipage->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
startnewminipage->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
startnewminipage->setFontPropagation( QWidget::NoChildren );
|
|
||||||
startnewminipage->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
startnewminipage->setText( _("&Start new minipage") );
|
|
||||||
startnewminipage->setAutoRepeat( false );
|
|
||||||
startnewminipage->setAutoResize( false );
|
|
||||||
startnewminipage->setChecked( false );
|
|
||||||
|
|
||||||
top = new QRadioButton( specialalignment, "top" );
|
top = new QRadioButton( specialalignment, "top" );
|
||||||
top->setGeometry( 5, 49, 255, 45 );
|
top->setGeometry( 5, 49, 255, 45 );
|
||||||
@ -170,23 +158,31 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
bottom->setAutoResize( false );
|
bottom->setAutoResize( false );
|
||||||
bottom->setChecked( false );
|
bottom->setChecked( false );
|
||||||
|
|
||||||
widthvalue = new KRestrictedLine( this, "widthvalue" );
|
hfillbetween = new QCheckBox( this, "hfillbetween" );
|
||||||
widthvalue->setGeometry( 275, 65, 87, 54 );
|
hfillbetween->setGeometry( 275, 189, 265, 65 );
|
||||||
widthvalue->setMinimumSize( 0, 0 );
|
hfillbetween->setMinimumSize( 0, 0 );
|
||||||
widthvalue->setMaximumSize( 32767, 32767 );
|
hfillbetween->setMaximumSize( 32767, 32767 );
|
||||||
widthvalue->setFocusPolicy( QWidget::StrongFocus );
|
hfillbetween->setFocusPolicy( QWidget::TabFocus );
|
||||||
widthvalue->setBackgroundMode( QWidget::PaletteBase );
|
hfillbetween->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
widthvalue->setFontPropagation( QWidget::NoChildren );
|
hfillbetween->setFontPropagation( QWidget::NoChildren );
|
||||||
widthvalue->setPalettePropagation( QWidget::NoChildren );
|
hfillbetween->setPalettePropagation( QWidget::NoChildren );
|
||||||
widthvalue->setText( "" );
|
hfillbetween->setText( _("&HFill between minipage paragraphs") );
|
||||||
widthvalue->setMaxLength( 32767 );
|
hfillbetween->setAutoRepeat( false );
|
||||||
widthvalue->setFrame( QLineEdit::Normal );
|
hfillbetween->setAutoResize( false );
|
||||||
widthvalue->setFrame( true );
|
hfillbetween->setChecked( false );
|
||||||
widthvalue->setValidChars( "0123456789.-," );
|
|
||||||
|
|
||||||
specialalignment->insert( top );
|
startnewminipage = new QCheckBox( this, "startnewminipage" );
|
||||||
specialalignment->insert( middle );
|
startnewminipage->setGeometry( 275, 325, 265, 65 );
|
||||||
specialalignment->insert( bottom );
|
startnewminipage->setMinimumSize( 0, 0 );
|
||||||
|
startnewminipage->setMaximumSize( 32767, 32767 );
|
||||||
|
startnewminipage->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
startnewminipage->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
startnewminipage->setFontPropagation( QWidget::NoChildren );
|
||||||
|
startnewminipage->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
startnewminipage->setText( _("&Start new minipage") );
|
||||||
|
startnewminipage->setAutoRepeat( false );
|
||||||
|
startnewminipage->setAutoResize( false );
|
||||||
|
startnewminipage->setChecked( false );
|
||||||
|
|
||||||
if (type->sizeHint().width()!=-1)
|
if (type->sizeHint().width()!=-1)
|
||||||
type->setMinimumWidth(type->sizeHint().width());
|
type->setMinimumWidth(type->sizeHint().width());
|
||||||
@ -210,28 +206,22 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
qtarch_specialwidthlabel->setMaximumWidth(qtarch_specialwidthlabel->sizeHint().width());
|
qtarch_specialwidthlabel->setMaximumWidth(qtarch_specialwidthlabel->sizeHint().width());
|
||||||
if (qtarch_specialwidthlabel->sizeHint().height()!=-1)
|
if (qtarch_specialwidthlabel->sizeHint().height()!=-1)
|
||||||
qtarch_specialwidthlabel->setMaximumHeight(qtarch_specialwidthlabel->sizeHint().height());
|
qtarch_specialwidthlabel->setMaximumHeight(qtarch_specialwidthlabel->sizeHint().height());
|
||||||
|
if (widthvalue->sizeHint().width()!=-1)
|
||||||
|
widthvalue->setMinimumWidth(widthvalue->sizeHint().width());
|
||||||
|
if (widthvalue->sizeHint().height()!=-1)
|
||||||
|
widthvalue->setMinimumHeight(widthvalue->sizeHint().height());
|
||||||
|
if (widthvalue->sizeHint().height()!=-1)
|
||||||
|
widthvalue->setMaximumHeight(widthvalue->sizeHint().height());
|
||||||
if (widthvalueunits->sizeHint().width()!=-1)
|
if (widthvalueunits->sizeHint().width()!=-1)
|
||||||
widthvalueunits->setMinimumWidth(widthvalueunits->sizeHint().width());
|
widthvalueunits->setMinimumWidth(widthvalueunits->sizeHint().width());
|
||||||
if (widthvalueunits->sizeHint().height()!=-1)
|
if (widthvalueunits->sizeHint().height()!=-1)
|
||||||
widthvalueunits->setMinimumHeight(widthvalueunits->sizeHint().height());
|
widthvalueunits->setMinimumHeight(widthvalueunits->sizeHint().height());
|
||||||
if (widthvalueunits->sizeHint().height()!=-1)
|
if (widthvalueunits->sizeHint().height()!=-1)
|
||||||
widthvalueunits->setMaximumHeight(widthvalueunits->sizeHint().height());
|
widthvalueunits->setMaximumHeight(widthvalueunits->sizeHint().height());
|
||||||
if (hfillbetween->sizeHint().width()!=-1)
|
specialalignment->insert( top );
|
||||||
hfillbetween->setMinimumWidth(hfillbetween->sizeHint().width());
|
specialalignment->insert( middle );
|
||||||
if (hfillbetween->sizeHint().height()!=-1)
|
specialalignment->insert( bottom );
|
||||||
hfillbetween->setMinimumHeight(hfillbetween->sizeHint().height());
|
|
||||||
if (hfillbetween->sizeHint().width()!=-1)
|
|
||||||
hfillbetween->setMaximumWidth(hfillbetween->sizeHint().width());
|
|
||||||
if (hfillbetween->sizeHint().height()!=-1)
|
|
||||||
hfillbetween->setMaximumHeight(hfillbetween->sizeHint().height());
|
|
||||||
if (startnewminipage->sizeHint().width()!=-1)
|
|
||||||
startnewminipage->setMinimumWidth(startnewminipage->sizeHint().width());
|
|
||||||
if (startnewminipage->sizeHint().height()!=-1)
|
|
||||||
startnewminipage->setMinimumHeight(startnewminipage->sizeHint().height());
|
|
||||||
if (startnewminipage->sizeHint().width()!=-1)
|
|
||||||
startnewminipage->setMaximumWidth(startnewminipage->sizeHint().width());
|
|
||||||
if (startnewminipage->sizeHint().height()!=-1)
|
|
||||||
startnewminipage->setMaximumHeight(startnewminipage->sizeHint().height());
|
|
||||||
if (top->sizeHint().width()!=-1)
|
if (top->sizeHint().width()!=-1)
|
||||||
top->setMinimumWidth(top->sizeHint().width());
|
top->setMinimumWidth(top->sizeHint().width());
|
||||||
if (top->sizeHint().height()!=-1)
|
if (top->sizeHint().height()!=-1)
|
||||||
@ -256,12 +246,22 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
bottom->setMaximumWidth(bottom->sizeHint().width());
|
bottom->setMaximumWidth(bottom->sizeHint().width());
|
||||||
if (bottom->sizeHint().height()!=-1)
|
if (bottom->sizeHint().height()!=-1)
|
||||||
bottom->setMaximumHeight(bottom->sizeHint().height());
|
bottom->setMaximumHeight(bottom->sizeHint().height());
|
||||||
if (widthvalue->sizeHint().width()!=-1)
|
if (hfillbetween->sizeHint().width()!=-1)
|
||||||
widthvalue->setMinimumWidth(widthvalue->sizeHint().width());
|
hfillbetween->setMinimumWidth(hfillbetween->sizeHint().width());
|
||||||
if (widthvalue->sizeHint().height()!=-1)
|
if (hfillbetween->sizeHint().height()!=-1)
|
||||||
widthvalue->setMinimumHeight(widthvalue->sizeHint().height());
|
hfillbetween->setMinimumHeight(hfillbetween->sizeHint().height());
|
||||||
if (widthvalue->sizeHint().height()!=-1)
|
if (hfillbetween->sizeHint().width()!=-1)
|
||||||
widthvalue->setMaximumHeight(widthvalue->sizeHint().height());
|
hfillbetween->setMaximumWidth(hfillbetween->sizeHint().width());
|
||||||
|
if (hfillbetween->sizeHint().height()!=-1)
|
||||||
|
hfillbetween->setMaximumHeight(hfillbetween->sizeHint().height());
|
||||||
|
if (startnewminipage->sizeHint().width()!=-1)
|
||||||
|
startnewminipage->setMinimumWidth(startnewminipage->sizeHint().width());
|
||||||
|
if (startnewminipage->sizeHint().height()!=-1)
|
||||||
|
startnewminipage->setMinimumHeight(startnewminipage->sizeHint().height());
|
||||||
|
if (startnewminipage->sizeHint().width()!=-1)
|
||||||
|
startnewminipage->setMaximumWidth(startnewminipage->sizeHint().width());
|
||||||
|
if (startnewminipage->sizeHint().height()!=-1)
|
||||||
|
startnewminipage->setMaximumHeight(startnewminipage->sizeHint().height());
|
||||||
QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 2, 5, 5, NULL );
|
QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 2, 5, 5, NULL );
|
||||||
qtarch_layout_1->addColSpacing( 0, 5 );
|
qtarch_layout_1->addColSpacing( 0, 5 );
|
||||||
qtarch_layout_1->setColStretch( 0, 1 );
|
qtarch_layout_1->setColStretch( 0, 1 );
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: paraextradlgdata.h
|
File: paraextradlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:26 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -42,15 +42,15 @@ protected slots:
|
|||||||
virtual void typeHighlighted(int);
|
virtual void typeHighlighted(int);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
QButtonGroup* specialalignment;
|
|
||||||
QComboBox* type;
|
QComboBox* type;
|
||||||
|
KRestrictedLine* widthvalue;
|
||||||
QComboBox* widthvalueunits;
|
QComboBox* widthvalueunits;
|
||||||
QCheckBox* hfillbetween;
|
QButtonGroup* specialalignment;
|
||||||
QCheckBox* startnewminipage;
|
|
||||||
QRadioButton* top;
|
QRadioButton* top;
|
||||||
QRadioButton* middle;
|
QRadioButton* middle;
|
||||||
QRadioButton* bottom;
|
QRadioButton* bottom;
|
||||||
KRestrictedLine* widthvalue;
|
QCheckBox* hfillbetween;
|
||||||
|
QCheckBox* startnewminipage;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: parageneraldlgdata.C
|
File: parageneraldlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:30 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -28,24 +28,30 @@ ParaGeneralDialogData::ParaGeneralDialogData
|
|||||||
:
|
:
|
||||||
Inherited( parent, name, 0 )
|
Inherited( parent, name, 0 )
|
||||||
{
|
{
|
||||||
alignment = new QButtonGroup( this, "alignment" );
|
justification = new QComboBox( FALSE, this, "justification" );
|
||||||
alignment->setGeometry( 5, 5, 123, 375 );
|
justification->setGeometry( 130, 5, 120, 59 );
|
||||||
alignment->setMinimumSize( 0, 0 );
|
justification->setMinimumSize( 0, 0 );
|
||||||
alignment->setMaximumSize( 32767, 32767 );
|
justification->setMaximumSize( 32767, 32767 );
|
||||||
alignment->setFocusPolicy( QWidget::NoFocus );
|
justification->setFocusPolicy( QWidget::StrongFocus );
|
||||||
alignment->setBackgroundMode( QWidget::PaletteBackground );
|
justification->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
alignment->setFontPropagation( QWidget::NoChildren );
|
justification->setFontPropagation( QWidget::AllChildren );
|
||||||
alignment->setPalettePropagation( QWidget::NoChildren );
|
justification->setPalettePropagation( QWidget::AllChildren );
|
||||||
alignment->setFrameStyle( 49 );
|
justification->setSizeLimit( 4 );
|
||||||
alignment->setLineWidth( 1 );
|
justification->setAutoResize( false );
|
||||||
alignment->setMidLineWidth( 0 );
|
justification->setMaxCount( 4 );
|
||||||
alignment->QFrame::setMargin( 0 );
|
justification->setAutoCompletion( false );
|
||||||
alignment->setTitle( _("Alignment") );
|
|
||||||
alignment->setAlignment( 1 );
|
spacetab = new TabStack( this, "spacetab" );
|
||||||
alignment->setExclusive( true );
|
spacetab->setGeometry( 5, 69, 605, 294 );
|
||||||
|
spacetab->setMinimumSize( 0, 0 );
|
||||||
|
spacetab->setMaximumSize( 32767, 32767 );
|
||||||
|
spacetab->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
spacetab->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
spacetab->setFontPropagation( QWidget::NoChildren );
|
||||||
|
spacetab->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
lineabove = new QCheckBox( this, "lineabove" );
|
lineabove = new QCheckBox( this, "lineabove" );
|
||||||
lineabove->setGeometry( 5, 385, 365, 50 );
|
lineabove->setGeometry( 5, 368, 298, 39 );
|
||||||
lineabove->setMinimumSize( 0, 0 );
|
lineabove->setMinimumSize( 0, 0 );
|
||||||
lineabove->setMaximumSize( 32767, 32767 );
|
lineabove->setMaximumSize( 32767, 32767 );
|
||||||
lineabove->setFocusPolicy( QWidget::TabFocus );
|
lineabove->setFocusPolicy( QWidget::TabFocus );
|
||||||
@ -58,7 +64,7 @@ ParaGeneralDialogData::ParaGeneralDialogData
|
|||||||
lineabove->setChecked( false );
|
lineabove->setChecked( false );
|
||||||
|
|
||||||
linebelow = new QCheckBox( this, "linebelow" );
|
linebelow = new QCheckBox( this, "linebelow" );
|
||||||
linebelow->setGeometry( 5, 440, 365, 50 );
|
linebelow->setGeometry( 5, 412, 298, 39 );
|
||||||
linebelow->setMinimumSize( 0, 0 );
|
linebelow->setMinimumSize( 0, 0 );
|
||||||
linebelow->setMaximumSize( 32767, 32767 );
|
linebelow->setMaximumSize( 32767, 32767 );
|
||||||
linebelow->setFocusPolicy( QWidget::TabFocus );
|
linebelow->setFocusPolicy( QWidget::TabFocus );
|
||||||
@ -71,7 +77,7 @@ ParaGeneralDialogData::ParaGeneralDialogData
|
|||||||
linebelow->setChecked( false );
|
linebelow->setChecked( false );
|
||||||
|
|
||||||
noindent = new QCheckBox( this, "noindent" );
|
noindent = new QCheckBox( this, "noindent" );
|
||||||
noindent->setGeometry( 5, 495, 365, 50 );
|
noindent->setGeometry( 5, 456, 298, 39 );
|
||||||
noindent->setMinimumSize( 0, 0 );
|
noindent->setMinimumSize( 0, 0 );
|
||||||
noindent->setMaximumSize( 32767, 32767 );
|
noindent->setMaximumSize( 32767, 32767 );
|
||||||
noindent->setFocusPolicy( QWidget::TabFocus );
|
noindent->setFocusPolicy( QWidget::TabFocus );
|
||||||
@ -83,61 +89,9 @@ ParaGeneralDialogData::ParaGeneralDialogData
|
|||||||
noindent->setAutoResize( false );
|
noindent->setAutoResize( false );
|
||||||
noindent->setChecked( false );
|
noindent->setChecked( false );
|
||||||
|
|
||||||
block = new QRadioButton( alignment, "block" );
|
|
||||||
block->setGeometry( 5, 57, 113, 37 );
|
|
||||||
block->setMinimumSize( 0, 0 );
|
|
||||||
block->setMaximumSize( 32767, 32767 );
|
|
||||||
block->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
block->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
block->setFontPropagation( QWidget::NoChildren );
|
|
||||||
block->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
block->setText( _("Block") );
|
|
||||||
block->setAutoRepeat( false );
|
|
||||||
block->setAutoResize( false );
|
|
||||||
block->setChecked( false );
|
|
||||||
|
|
||||||
center = new QRadioButton( alignment, "center" );
|
|
||||||
center->setGeometry( 5, 137, 113, 37 );
|
|
||||||
center->setMinimumSize( 0, 0 );
|
|
||||||
center->setMaximumSize( 32767, 32767 );
|
|
||||||
center->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
center->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
center->setFontPropagation( QWidget::NoChildren );
|
|
||||||
center->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
center->setText( _("Center") );
|
|
||||||
center->setAutoRepeat( false );
|
|
||||||
center->setAutoResize( false );
|
|
||||||
center->setChecked( false );
|
|
||||||
|
|
||||||
left = new QRadioButton( alignment, "left" );
|
|
||||||
left->setGeometry( 5, 216, 113, 37 );
|
|
||||||
left->setMinimumSize( 0, 0 );
|
|
||||||
left->setMaximumSize( 32767, 32767 );
|
|
||||||
left->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
left->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
left->setFontPropagation( QWidget::NoChildren );
|
|
||||||
left->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
left->setText( _("Left") );
|
|
||||||
left->setAutoRepeat( false );
|
|
||||||
left->setAutoResize( false );
|
|
||||||
left->setChecked( false );
|
|
||||||
|
|
||||||
right = new QRadioButton( alignment, "right" );
|
|
||||||
right->setGeometry( 5, 296, 113, 37 );
|
|
||||||
right->setMinimumSize( 0, 0 );
|
|
||||||
right->setMaximumSize( 32767, 32767 );
|
|
||||||
right->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
right->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
right->setFontPropagation( QWidget::NoChildren );
|
|
||||||
right->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
right->setText( _("Right") );
|
|
||||||
right->setAutoRepeat( false );
|
|
||||||
right->setAutoResize( false );
|
|
||||||
right->setChecked( false );
|
|
||||||
|
|
||||||
QLabel* qtarch_labelwidthlabel;
|
QLabel* qtarch_labelwidthlabel;
|
||||||
qtarch_labelwidthlabel = new QLabel( this, "labelwidthlabel" );
|
qtarch_labelwidthlabel = new QLabel( this, "labelwidthlabel" );
|
||||||
qtarch_labelwidthlabel->setGeometry( 375, 385, 183, 160 );
|
qtarch_labelwidthlabel->setGeometry( 308, 368, 149, 127 );
|
||||||
qtarch_labelwidthlabel->setMinimumSize( 0, 0 );
|
qtarch_labelwidthlabel->setMinimumSize( 0, 0 );
|
||||||
qtarch_labelwidthlabel->setMaximumSize( 32767, 32767 );
|
qtarch_labelwidthlabel->setMaximumSize( 32767, 32767 );
|
||||||
qtarch_labelwidthlabel->setFocusPolicy( QWidget::NoFocus );
|
qtarch_labelwidthlabel->setFocusPolicy( QWidget::NoFocus );
|
||||||
@ -153,7 +107,7 @@ ParaGeneralDialogData::ParaGeneralDialogData
|
|||||||
qtarch_labelwidthlabel->setMargin( -1 );
|
qtarch_labelwidthlabel->setMargin( -1 );
|
||||||
|
|
||||||
labelwidth = new QLineEdit( this, "labelwidth" );
|
labelwidth = new QLineEdit( this, "labelwidth" );
|
||||||
labelwidth->setGeometry( 563, 385, 182, 160 );
|
labelwidth->setGeometry( 462, 368, 148, 127 );
|
||||||
labelwidth->setMinimumSize( 0, 0 );
|
labelwidth->setMinimumSize( 0, 0 );
|
||||||
labelwidth->setMaximumSize( 32767, 32767 );
|
labelwidth->setMaximumSize( 32767, 32767 );
|
||||||
labelwidth->setFocusPolicy( QWidget::StrongFocus );
|
labelwidth->setFocusPolicy( QWidget::StrongFocus );
|
||||||
@ -165,24 +119,33 @@ ParaGeneralDialogData::ParaGeneralDialogData
|
|||||||
labelwidth->setFrame( QLineEdit::Normal );
|
labelwidth->setFrame( QLineEdit::Normal );
|
||||||
labelwidth->setFrame( true );
|
labelwidth->setFrame( true );
|
||||||
|
|
||||||
spacetab = new TabStack( this, "spacetab" );
|
QLabel* qtarch_labelJustification;
|
||||||
spacetab->setGeometry( 133, 5, 612, 375 );
|
qtarch_labelJustification = new QLabel( this, "labelJustification" );
|
||||||
spacetab->setMinimumSize( 0, 0 );
|
qtarch_labelJustification->setGeometry( 5, 5, 120, 59 );
|
||||||
spacetab->setMaximumSize( 32767, 32767 );
|
qtarch_labelJustification->setMinimumSize( 0, 0 );
|
||||||
spacetab->setFocusPolicy( QWidget::NoFocus );
|
qtarch_labelJustification->setMaximumSize( 32767, 32767 );
|
||||||
spacetab->setBackgroundMode( QWidget::PaletteBackground );
|
qtarch_labelJustification->setFocusPolicy( QWidget::NoFocus );
|
||||||
spacetab->setFontPropagation( QWidget::NoChildren );
|
qtarch_labelJustification->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
spacetab->setPalettePropagation( QWidget::NoChildren );
|
qtarch_labelJustification->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelJustification->setPalettePropagation( QWidget::NoChildren );
|
||||||
if (alignment->sizeHint().width()!=-1)
|
qtarch_labelJustification->setFrameStyle( 0 );
|
||||||
alignment->setMinimumWidth(alignment->sizeHint().width());
|
qtarch_labelJustification->setLineWidth( 1 );
|
||||||
if (alignment->sizeHint().height()!=-1)
|
qtarch_labelJustification->setMidLineWidth( 0 );
|
||||||
alignment->setMinimumHeight(alignment->sizeHint().height());
|
qtarch_labelJustification->QFrame::setMargin( 0 );
|
||||||
alignment->insert( block );
|
qtarch_labelJustification->setText( _("Justification") );
|
||||||
alignment->insert( center );
|
qtarch_labelJustification->setAlignment( 289 );
|
||||||
alignment->insert( left );
|
qtarch_labelJustification->setMargin( -1 );
|
||||||
alignment->insert( right );
|
|
||||||
|
|
||||||
|
if (justification->sizeHint().width()!=-1)
|
||||||
|
justification->setMinimumWidth(justification->sizeHint().width());
|
||||||
|
if (justification->sizeHint().height()!=-1)
|
||||||
|
justification->setMinimumHeight(justification->sizeHint().height());
|
||||||
|
if (justification->sizeHint().height()!=-1)
|
||||||
|
justification->setMaximumHeight(justification->sizeHint().height());
|
||||||
|
if (spacetab->sizeHint().width()!=-1)
|
||||||
|
spacetab->setMinimumWidth(spacetab->sizeHint().width());
|
||||||
|
if (spacetab->sizeHint().height()!=-1)
|
||||||
|
spacetab->setMinimumHeight(spacetab->sizeHint().height());
|
||||||
if (lineabove->sizeHint().width()!=-1)
|
if (lineabove->sizeHint().width()!=-1)
|
||||||
lineabove->setMinimumWidth(lineabove->sizeHint().width());
|
lineabove->setMinimumWidth(lineabove->sizeHint().width());
|
||||||
if (lineabove->sizeHint().height()!=-1)
|
if (lineabove->sizeHint().height()!=-1)
|
||||||
@ -207,38 +170,6 @@ ParaGeneralDialogData::ParaGeneralDialogData
|
|||||||
noindent->setMaximumWidth(noindent->sizeHint().width());
|
noindent->setMaximumWidth(noindent->sizeHint().width());
|
||||||
if (noindent->sizeHint().height()!=-1)
|
if (noindent->sizeHint().height()!=-1)
|
||||||
noindent->setMaximumHeight(noindent->sizeHint().height());
|
noindent->setMaximumHeight(noindent->sizeHint().height());
|
||||||
if (block->sizeHint().width()!=-1)
|
|
||||||
block->setMinimumWidth(block->sizeHint().width());
|
|
||||||
if (block->sizeHint().height()!=-1)
|
|
||||||
block->setMinimumHeight(block->sizeHint().height());
|
|
||||||
if (block->sizeHint().width()!=-1)
|
|
||||||
block->setMaximumWidth(block->sizeHint().width());
|
|
||||||
if (block->sizeHint().height()!=-1)
|
|
||||||
block->setMaximumHeight(block->sizeHint().height());
|
|
||||||
if (center->sizeHint().width()!=-1)
|
|
||||||
center->setMinimumWidth(center->sizeHint().width());
|
|
||||||
if (center->sizeHint().height()!=-1)
|
|
||||||
center->setMinimumHeight(center->sizeHint().height());
|
|
||||||
if (center->sizeHint().width()!=-1)
|
|
||||||
center->setMaximumWidth(center->sizeHint().width());
|
|
||||||
if (center->sizeHint().height()!=-1)
|
|
||||||
center->setMaximumHeight(center->sizeHint().height());
|
|
||||||
if (left->sizeHint().width()!=-1)
|
|
||||||
left->setMinimumWidth(left->sizeHint().width());
|
|
||||||
if (left->sizeHint().height()!=-1)
|
|
||||||
left->setMinimumHeight(left->sizeHint().height());
|
|
||||||
if (left->sizeHint().width()!=-1)
|
|
||||||
left->setMaximumWidth(left->sizeHint().width());
|
|
||||||
if (left->sizeHint().height()!=-1)
|
|
||||||
left->setMaximumHeight(left->sizeHint().height());
|
|
||||||
if (right->sizeHint().width()!=-1)
|
|
||||||
right->setMinimumWidth(right->sizeHint().width());
|
|
||||||
if (right->sizeHint().height()!=-1)
|
|
||||||
right->setMinimumHeight(right->sizeHint().height());
|
|
||||||
if (right->sizeHint().width()!=-1)
|
|
||||||
right->setMaximumWidth(right->sizeHint().width());
|
|
||||||
if (right->sizeHint().height()!=-1)
|
|
||||||
right->setMaximumHeight(right->sizeHint().height());
|
|
||||||
if (qtarch_labelwidthlabel->sizeHint().width()!=-1)
|
if (qtarch_labelwidthlabel->sizeHint().width()!=-1)
|
||||||
qtarch_labelwidthlabel->setMinimumWidth(qtarch_labelwidthlabel->sizeHint().width());
|
qtarch_labelwidthlabel->setMinimumWidth(qtarch_labelwidthlabel->sizeHint().width());
|
||||||
if (qtarch_labelwidthlabel->sizeHint().height()!=-1)
|
if (qtarch_labelwidthlabel->sizeHint().height()!=-1)
|
||||||
@ -253,44 +184,41 @@ ParaGeneralDialogData::ParaGeneralDialogData
|
|||||||
labelwidth->setMinimumHeight(labelwidth->sizeHint().height());
|
labelwidth->setMinimumHeight(labelwidth->sizeHint().height());
|
||||||
if (labelwidth->sizeHint().height()!=-1)
|
if (labelwidth->sizeHint().height()!=-1)
|
||||||
labelwidth->setMaximumHeight(labelwidth->sizeHint().height());
|
labelwidth->setMaximumHeight(labelwidth->sizeHint().height());
|
||||||
if (spacetab->sizeHint().width()!=-1)
|
if (qtarch_labelJustification->sizeHint().width()!=-1)
|
||||||
spacetab->setMinimumWidth(spacetab->sizeHint().width());
|
qtarch_labelJustification->setMinimumWidth(qtarch_labelJustification->sizeHint().width());
|
||||||
if (spacetab->sizeHint().height()!=-1)
|
if (qtarch_labelJustification->sizeHint().height()!=-1)
|
||||||
spacetab->setMinimumHeight(spacetab->sizeHint().height());
|
qtarch_labelJustification->setMinimumHeight(qtarch_labelJustification->sizeHint().height());
|
||||||
|
if (qtarch_labelJustification->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelJustification->setMaximumWidth(qtarch_labelJustification->sizeHint().width());
|
||||||
|
if (qtarch_labelJustification->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelJustification->setMaximumHeight(qtarch_labelJustification->sizeHint().height());
|
||||||
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
qtarch_layout_1->addStrut( 0 );
|
qtarch_layout_1->addStrut( 0 );
|
||||||
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
qtarch_layout_1->addLayout( qtarch_layout_1_1, 5 );
|
qtarch_layout_1->addLayout( qtarch_layout_1_1, 1 );
|
||||||
qtarch_layout_1_1->addStrut( 0 );
|
qtarch_layout_1_1->addStrut( 0 );
|
||||||
qtarch_layout_1_1->addWidget( alignment, 1, 33 );
|
qtarch_layout_1_1->addWidget( qtarch_labelJustification, 1, 36 );
|
||||||
QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( alignment, QBoxLayout::TopToBottom, 5, 5, NULL );
|
qtarch_layout_1_1->addWidget( justification, 1, 36 );
|
||||||
qtarch_layout_1_1_1->addStrut( 0 );
|
qtarch_layout_1_1->addStretch( 3 );
|
||||||
qtarch_layout_1_1_1->addSpacing( 15 );
|
|
||||||
qtarch_layout_1_1_1->addStretch( 1 );
|
|
||||||
qtarch_layout_1_1_1->addWidget( block, 1, 1 );
|
|
||||||
qtarch_layout_1_1_1->addStretch( 1 );
|
|
||||||
qtarch_layout_1_1_1->addWidget( center, 1, 1 );
|
|
||||||
qtarch_layout_1_1_1->addStretch( 1 );
|
|
||||||
qtarch_layout_1_1_1->addWidget( left, 1, 1 );
|
|
||||||
qtarch_layout_1_1_1->addStretch( 1 );
|
|
||||||
qtarch_layout_1_1_1->addWidget( right, 1, 1 );
|
|
||||||
qtarch_layout_1_1_1->addStretch( 1 );
|
|
||||||
qtarch_layout_1_1->addWidget( spacetab, 5, 36 );
|
|
||||||
QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
qtarch_layout_1->addLayout( qtarch_layout_1_2, 2 );
|
qtarch_layout_1->addLayout( qtarch_layout_1_2, 5 );
|
||||||
qtarch_layout_1_2->addStrut( 0 );
|
qtarch_layout_1_2->addStrut( 0 );
|
||||||
QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
|
qtarch_layout_1_2->addWidget( spacetab, 5, 36 );
|
||||||
qtarch_layout_1_2->addLayout( qtarch_layout_1_2_1, 1 );
|
QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
qtarch_layout_1_2_1->addStrut( 0 );
|
qtarch_layout_1->addLayout( qtarch_layout_1_3, 2 );
|
||||||
qtarch_layout_1_2_1->addWidget( lineabove, 1, 1 );
|
qtarch_layout_1_3->addStrut( 0 );
|
||||||
qtarch_layout_1_2_1->addWidget( linebelow, 1, 1 );
|
QBoxLayout* qtarch_layout_1_3_1 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
|
||||||
qtarch_layout_1_2_1->addWidget( noindent, 1, 1 );
|
qtarch_layout_1_3->addLayout( qtarch_layout_1_3_1, 1 );
|
||||||
QBoxLayout* qtarch_layout_1_2_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
qtarch_layout_1_3_1->addStrut( 0 );
|
||||||
qtarch_layout_1_2->addLayout( qtarch_layout_1_2_2, 1 );
|
qtarch_layout_1_3_1->addWidget( lineabove, 1, 1 );
|
||||||
qtarch_layout_1_2_2->addStrut( 0 );
|
qtarch_layout_1_3_1->addWidget( linebelow, 1, 1 );
|
||||||
qtarch_layout_1_2_2->addWidget( qtarch_labelwidthlabel, 1, 36 );
|
qtarch_layout_1_3_1->addWidget( noindent, 1, 1 );
|
||||||
qtarch_layout_1_2_2->addWidget( labelwidth, 1, 36 );
|
QBoxLayout* qtarch_layout_1_3_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
resize( 750,550 );
|
qtarch_layout_1_3->addLayout( qtarch_layout_1_3_2, 1 );
|
||||||
|
qtarch_layout_1_3_2->addStrut( 0 );
|
||||||
|
qtarch_layout_1_3_2->addWidget( qtarch_labelwidthlabel, 1, 36 );
|
||||||
|
qtarch_layout_1_3_2->addWidget( labelwidth, 1, 36 );
|
||||||
|
resize( 615,500 );
|
||||||
setMinimumSize( 0, 0 );
|
setMinimumSize( 0, 0 );
|
||||||
setMaximumSize( 32767, 32767 );
|
setMaximumSize( 32767, 32767 );
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: parageneraldlgdata.h
|
File: parageneraldlgdata.h
|
||||||
Last generated: Wed Jan 24 06:43:30 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -15,10 +15,9 @@
|
|||||||
|
|
||||||
#include <qwidget.h>
|
#include <qwidget.h>
|
||||||
#include "tabstack.h"
|
#include "tabstack.h"
|
||||||
#include <qradiobutton.h>
|
|
||||||
#include <qcheckbox.h>
|
#include <qcheckbox.h>
|
||||||
|
#include <qcombobox.h>
|
||||||
#include <qlineedit.h>
|
#include <qlineedit.h>
|
||||||
#include <qbuttongroup.h>
|
|
||||||
|
|
||||||
class ParaGeneralDialogData : public QWidget
|
class ParaGeneralDialogData : public QWidget
|
||||||
{
|
{
|
||||||
@ -41,16 +40,12 @@ protected slots:
|
|||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
QButtonGroup* alignment;
|
QComboBox* justification;
|
||||||
|
TabStack* spacetab;
|
||||||
QCheckBox* lineabove;
|
QCheckBox* lineabove;
|
||||||
QCheckBox* linebelow;
|
QCheckBox* linebelow;
|
||||||
QCheckBox* noindent;
|
QCheckBox* noindent;
|
||||||
QRadioButton* block;
|
|
||||||
QRadioButton* center;
|
|
||||||
QRadioButton* left;
|
|
||||||
QRadioButton* right;
|
|
||||||
QLineEdit* labelwidth;
|
QLineEdit* labelwidth;
|
||||||
TabStack* spacetab;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
--- Qt Architect 1.4-6 generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: printdlgdata.C
|
File: printdlgdata.C
|
||||||
Last generated: Wed Jan 24 06:43:35 2001
|
Last generated: Sat Feb 10 21:08:55 2001
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -16,7 +16,7 @@
|
|||||||
#include <qlayout.h>
|
#include <qlayout.h>
|
||||||
#include "printdlgdata.h"
|
#include "printdlgdata.h"
|
||||||
|
|
||||||
#define Inherited QWidget
|
#define Inherited QDialog
|
||||||
|
|
||||||
|
|
||||||
PrintDialogData::PrintDialogData
|
PrintDialogData::PrintDialogData
|
||||||
@ -25,7 +25,7 @@ PrintDialogData::PrintDialogData
|
|||||||
const char* name
|
const char* name
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
Inherited( parent, name, 0 )
|
Inherited( parent, name, TRUE, 0 )
|
||||||
{
|
{
|
||||||
pagesGroupBox = new QGroupBox( this, "pagesGroupBox" );
|
pagesGroupBox = new QGroupBox( this, "pagesGroupBox" );
|
||||||
pagesGroupBox->setGeometry( 5, 5, 162, 270 );
|
pagesGroupBox->setGeometry( 5, 5, 162, 270 );
|
||||||
@ -134,7 +134,7 @@ PrintDialogData::PrintDialogData
|
|||||||
cancel->setAutoRepeat( false );
|
cancel->setAutoRepeat( false );
|
||||||
cancel->setAutoResize( false );
|
cancel->setAutoResize( false );
|
||||||
cancel->setToggleButton( false );
|
cancel->setToggleButton( false );
|
||||||
cancel->setDefault( false );
|
cancel->setDefault( true );
|
||||||
cancel->setAutoDefault( false );
|
cancel->setAutoDefault( false );
|
||||||
cancel->setIsMenuButton( false );
|
cancel->setIsMenuButton( false );
|
||||||
|
|
||||||
@ -151,6 +151,19 @@ PrintDialogData::PrintDialogData
|
|||||||
allpages->setAutoResize( false );
|
allpages->setAutoResize( false );
|
||||||
allpages->setChecked( false );
|
allpages->setChecked( false );
|
||||||
|
|
||||||
|
oddpages = new QRadioButton( pagesRadioGroup, "oddpages" );
|
||||||
|
oddpages->setGeometry( 5, 74, 142, 14 );
|
||||||
|
oddpages->setMinimumSize( 0, 0 );
|
||||||
|
oddpages->setMaximumSize( 32767, 32767 );
|
||||||
|
oddpages->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
oddpages->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
oddpages->setFontPropagation( QWidget::NoChildren );
|
||||||
|
oddpages->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
oddpages->setText( _("&Odd pages") );
|
||||||
|
oddpages->setAutoRepeat( false );
|
||||||
|
oddpages->setAutoResize( false );
|
||||||
|
oddpages->setChecked( false );
|
||||||
|
|
||||||
evenpages = new QRadioButton( pagesRadioGroup, "evenpages" );
|
evenpages = new QRadioButton( pagesRadioGroup, "evenpages" );
|
||||||
evenpages->setGeometry( 5, 108, 142, 14 );
|
evenpages->setGeometry( 5, 108, 142, 14 );
|
||||||
evenpages->setMinimumSize( 0, 0 );
|
evenpages->setMinimumSize( 0, 0 );
|
||||||
@ -177,6 +190,59 @@ PrintDialogData::PrintDialogData
|
|||||||
from->setFrame( QLineEdit::Normal );
|
from->setFrame( QLineEdit::Normal );
|
||||||
from->setFrame( true );
|
from->setFrame( true );
|
||||||
|
|
||||||
|
to = new KIntLineEdit( pagesGroupBox, "to" );
|
||||||
|
to->setGeometry( 108, 199, 49, 31 );
|
||||||
|
to->setMinimumSize( 0, 0 );
|
||||||
|
to->setMaximumSize( 32767, 32767 );
|
||||||
|
to->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
to->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
to->setFontPropagation( QWidget::NoChildren );
|
||||||
|
to->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
to->setText( "" );
|
||||||
|
to->setMaxLength( 32767 );
|
||||||
|
to->setFrame( QLineEdit::Normal );
|
||||||
|
to->setFrame( true );
|
||||||
|
|
||||||
|
reverse = new QCheckBox( pagesGroupBox, "reverse" );
|
||||||
|
reverse->setGeometry( 5, 235, 152, 30 );
|
||||||
|
reverse->setMinimumSize( 0, 0 );
|
||||||
|
reverse->setMaximumSize( 32767, 32767 );
|
||||||
|
reverse->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
reverse->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
reverse->setFontPropagation( QWidget::NoChildren );
|
||||||
|
reverse->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
reverse->setText( _("&Reverse order") );
|
||||||
|
reverse->setAutoRepeat( false );
|
||||||
|
reverse->setAutoResize( true );
|
||||||
|
reverse->setChecked( false );
|
||||||
|
|
||||||
|
count = new KIntLineEdit( copies, "count" );
|
||||||
|
count->setGeometry( 162, 12, 50, 46 );
|
||||||
|
count->setMinimumSize( 0, 0 );
|
||||||
|
count->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( count, SIGNAL(textChanged(const char*)), SLOT(changedCount(const char*)) );
|
||||||
|
count->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
count->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
count->setFontPropagation( QWidget::NoChildren );
|
||||||
|
count->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
count->setText( "" );
|
||||||
|
count->setMaxLength( 32767 );
|
||||||
|
count->setFrame( QLineEdit::Normal );
|
||||||
|
count->setFrame( true );
|
||||||
|
|
||||||
|
sort = new QCheckBox( copies, "sort" );
|
||||||
|
sort->setGeometry( 268, 12, 50, 46 );
|
||||||
|
sort->setMinimumSize( 0, 0 );
|
||||||
|
sort->setMaximumSize( 32767, 32767 );
|
||||||
|
sort->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
sort->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
sort->setFontPropagation( QWidget::NoChildren );
|
||||||
|
sort->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
sort->setText( _("Co&llate") );
|
||||||
|
sort->setAutoRepeat( false );
|
||||||
|
sort->setAutoResize( true );
|
||||||
|
sort->setChecked( false );
|
||||||
|
|
||||||
fromLabel = new QLabel( pagesGroupBox, "fromLabel" );
|
fromLabel = new QLabel( pagesGroupBox, "fromLabel" );
|
||||||
fromLabel->setGeometry( 5, 164, 98, 30 );
|
fromLabel->setGeometry( 5, 164, 98, 30 );
|
||||||
fromLabel->setMinimumSize( 0, 0 );
|
fromLabel->setMinimumSize( 0, 0 );
|
||||||
@ -209,19 +275,6 @@ PrintDialogData::PrintDialogData
|
|||||||
toLabel->setAlignment( 289 );
|
toLabel->setAlignment( 289 );
|
||||||
toLabel->setMargin( -1 );
|
toLabel->setMargin( -1 );
|
||||||
|
|
||||||
oddpages = new QRadioButton( pagesRadioGroup, "oddpages" );
|
|
||||||
oddpages->setGeometry( 5, 74, 142, 14 );
|
|
||||||
oddpages->setMinimumSize( 0, 0 );
|
|
||||||
oddpages->setMaximumSize( 32767, 32767 );
|
|
||||||
oddpages->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
oddpages->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
oddpages->setFontPropagation( QWidget::NoChildren );
|
|
||||||
oddpages->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
oddpages->setText( _("&Odd pages") );
|
|
||||||
oddpages->setAutoRepeat( false );
|
|
||||||
oddpages->setAutoResize( false );
|
|
||||||
oddpages->setChecked( false );
|
|
||||||
|
|
||||||
toprinter = new QRadioButton( printToRadioGroup, "toprinter" );
|
toprinter = new QRadioButton( printToRadioGroup, "toprinter" );
|
||||||
toprinter->setGeometry( 5, 5, 142, 23 );
|
toprinter->setGeometry( 5, 5, 142, 23 );
|
||||||
toprinter->setMinimumSize( 0, 0 );
|
toprinter->setMinimumSize( 0, 0 );
|
||||||
@ -261,19 +314,6 @@ PrintDialogData::PrintDialogData
|
|||||||
printername->setFrame( QLineEdit::Normal );
|
printername->setFrame( QLineEdit::Normal );
|
||||||
printername->setFrame( true );
|
printername->setFrame( true );
|
||||||
|
|
||||||
reverse = new QCheckBox( pagesGroupBox, "reverse" );
|
|
||||||
reverse->setGeometry( 5, 235, 152, 30 );
|
|
||||||
reverse->setMinimumSize( 0, 0 );
|
|
||||||
reverse->setMaximumSize( 32767, 32767 );
|
|
||||||
reverse->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
reverse->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
reverse->setFontPropagation( QWidget::NoChildren );
|
|
||||||
reverse->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
reverse->setText( _("&Reverse order") );
|
|
||||||
reverse->setAutoRepeat( false );
|
|
||||||
reverse->setAutoResize( true );
|
|
||||||
reverse->setChecked( false );
|
|
||||||
|
|
||||||
filename = new QLineEdit( printToGroupBox, "filename" );
|
filename = new QLineEdit( printToGroupBox, "filename" );
|
||||||
filename->setGeometry( 169, 96, 142, 26 );
|
filename->setGeometry( 169, 96, 142, 26 );
|
||||||
filename->setMinimumSize( 0, 0 );
|
filename->setMinimumSize( 0, 0 );
|
||||||
@ -287,19 +327,6 @@ PrintDialogData::PrintDialogData
|
|||||||
filename->setFrame( QLineEdit::Normal );
|
filename->setFrame( QLineEdit::Normal );
|
||||||
filename->setFrame( true );
|
filename->setFrame( true );
|
||||||
|
|
||||||
sort = new QCheckBox( copies, "sort" );
|
|
||||||
sort->setGeometry( 268, 12, 50, 46 );
|
|
||||||
sort->setMinimumSize( 0, 0 );
|
|
||||||
sort->setMaximumSize( 32767, 32767 );
|
|
||||||
sort->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
sort->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
sort->setFontPropagation( QWidget::NoChildren );
|
|
||||||
sort->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
sort->setText( _("Co&llate") );
|
|
||||||
sort->setAutoRepeat( false );
|
|
||||||
sort->setAutoResize( true );
|
|
||||||
sort->setChecked( false );
|
|
||||||
|
|
||||||
browse = new QPushButton( printToGroupBox, "browse" );
|
browse = new QPushButton( printToGroupBox, "browse" );
|
||||||
browse->setGeometry( 158, 149, 153, 23 );
|
browse->setGeometry( 158, 149, 153, 23 );
|
||||||
browse->setMinimumSize( 0, 0 );
|
browse->setMinimumSize( 0, 0 );
|
||||||
@ -317,20 +344,6 @@ PrintDialogData::PrintDialogData
|
|||||||
browse->setAutoDefault( false );
|
browse->setAutoDefault( false );
|
||||||
browse->setIsMenuButton( false );
|
browse->setIsMenuButton( false );
|
||||||
|
|
||||||
count = new KIntLineEdit( copies, "count" );
|
|
||||||
count->setGeometry( 162, 12, 50, 46 );
|
|
||||||
count->setMinimumSize( 0, 0 );
|
|
||||||
count->setMaximumSize( 32767, 32767 );
|
|
||||||
connect( count, SIGNAL(textChanged(const char*)), SLOT(changedCount(const char*)) );
|
|
||||||
count->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
count->setBackgroundMode( QWidget::PaletteBase );
|
|
||||||
count->setFontPropagation( QWidget::NoChildren );
|
|
||||||
count->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
count->setText( "" );
|
|
||||||
count->setMaxLength( 32767 );
|
|
||||||
count->setFrame( QLineEdit::Normal );
|
|
||||||
count->setFrame( true );
|
|
||||||
|
|
||||||
countLabel = new QLabel( copies, "countLabel" );
|
countLabel = new QLabel( copies, "countLabel" );
|
||||||
countLabel->setGeometry( 56, 12, 50, 46 );
|
countLabel->setGeometry( 56, 12, 50, 46 );
|
||||||
countLabel->setMinimumSize( 0, 0 );
|
countLabel->setMinimumSize( 0, 0 );
|
||||||
@ -347,22 +360,9 @@ PrintDialogData::PrintDialogData
|
|||||||
countLabel->setAlignment( 289 );
|
countLabel->setAlignment( 289 );
|
||||||
countLabel->setMargin( -1 );
|
countLabel->setMargin( -1 );
|
||||||
|
|
||||||
to = new KIntLineEdit( pagesGroupBox, "to" );
|
|
||||||
to->setGeometry( 108, 199, 49, 31 );
|
|
||||||
to->setMinimumSize( 0, 0 );
|
|
||||||
to->setMaximumSize( 32767, 32767 );
|
|
||||||
to->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
to->setBackgroundMode( QWidget::PaletteBase );
|
|
||||||
to->setFontPropagation( QWidget::NoChildren );
|
|
||||||
to->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
to->setText( "" );
|
|
||||||
to->setMaxLength( 32767 );
|
|
||||||
to->setFrame( QLineEdit::Normal );
|
|
||||||
to->setFrame( true );
|
|
||||||
|
|
||||||
pagesRadioGroup->insert( allpages );
|
pagesRadioGroup->insert( allpages );
|
||||||
pagesRadioGroup->insert( evenpages );
|
|
||||||
pagesRadioGroup->insert( oddpages );
|
pagesRadioGroup->insert( oddpages );
|
||||||
|
pagesRadioGroup->insert( evenpages );
|
||||||
|
|
||||||
printToRadioGroup->insert( toprinter );
|
printToRadioGroup->insert( toprinter );
|
||||||
printToRadioGroup->insert( tofile );
|
printToRadioGroup->insert( tofile );
|
||||||
@ -391,6 +391,14 @@ PrintDialogData::PrintDialogData
|
|||||||
allpages->setMaximumWidth(allpages->sizeHint().width());
|
allpages->setMaximumWidth(allpages->sizeHint().width());
|
||||||
if (allpages->sizeHint().height()!=-1)
|
if (allpages->sizeHint().height()!=-1)
|
||||||
allpages->setMaximumHeight(allpages->sizeHint().height());
|
allpages->setMaximumHeight(allpages->sizeHint().height());
|
||||||
|
if (oddpages->sizeHint().width()!=-1)
|
||||||
|
oddpages->setMinimumWidth(oddpages->sizeHint().width());
|
||||||
|
if (oddpages->sizeHint().height()!=-1)
|
||||||
|
oddpages->setMinimumHeight(oddpages->sizeHint().height());
|
||||||
|
if (oddpages->sizeHint().width()!=-1)
|
||||||
|
oddpages->setMaximumWidth(oddpages->sizeHint().width());
|
||||||
|
if (oddpages->sizeHint().height()!=-1)
|
||||||
|
oddpages->setMaximumHeight(oddpages->sizeHint().height());
|
||||||
if (evenpages->sizeHint().width()!=-1)
|
if (evenpages->sizeHint().width()!=-1)
|
||||||
evenpages->setMinimumWidth(evenpages->sizeHint().width());
|
evenpages->setMinimumWidth(evenpages->sizeHint().width());
|
||||||
if (evenpages->sizeHint().height()!=-1)
|
if (evenpages->sizeHint().height()!=-1)
|
||||||
@ -405,6 +413,34 @@ PrintDialogData::PrintDialogData
|
|||||||
from->setMinimumHeight(from->sizeHint().height());
|
from->setMinimumHeight(from->sizeHint().height());
|
||||||
if (from->sizeHint().height()!=-1)
|
if (from->sizeHint().height()!=-1)
|
||||||
from->setMaximumHeight(from->sizeHint().height());
|
from->setMaximumHeight(from->sizeHint().height());
|
||||||
|
if (to->sizeHint().width()!=-1)
|
||||||
|
to->setMinimumWidth(to->sizeHint().width());
|
||||||
|
if (to->sizeHint().height()!=-1)
|
||||||
|
to->setMinimumHeight(to->sizeHint().height());
|
||||||
|
if (to->sizeHint().height()!=-1)
|
||||||
|
to->setMaximumHeight(to->sizeHint().height());
|
||||||
|
if (reverse->sizeHint().width()!=-1)
|
||||||
|
reverse->setMinimumWidth(reverse->sizeHint().width());
|
||||||
|
if (reverse->sizeHint().height()!=-1)
|
||||||
|
reverse->setMinimumHeight(reverse->sizeHint().height());
|
||||||
|
if (reverse->sizeHint().width()!=-1)
|
||||||
|
reverse->setMaximumWidth(reverse->sizeHint().width());
|
||||||
|
if (reverse->sizeHint().height()!=-1)
|
||||||
|
reverse->setMaximumHeight(reverse->sizeHint().height());
|
||||||
|
if (count->sizeHint().width()!=-1)
|
||||||
|
count->setMinimumWidth(count->sizeHint().width());
|
||||||
|
if (count->sizeHint().height()!=-1)
|
||||||
|
count->setMinimumHeight(count->sizeHint().height());
|
||||||
|
if (count->sizeHint().height()!=-1)
|
||||||
|
count->setMaximumHeight(count->sizeHint().height());
|
||||||
|
if (sort->sizeHint().width()!=-1)
|
||||||
|
sort->setMinimumWidth(sort->sizeHint().width());
|
||||||
|
if (sort->sizeHint().height()!=-1)
|
||||||
|
sort->setMinimumHeight(sort->sizeHint().height());
|
||||||
|
if (sort->sizeHint().width()!=-1)
|
||||||
|
sort->setMaximumWidth(sort->sizeHint().width());
|
||||||
|
if (sort->sizeHint().height()!=-1)
|
||||||
|
sort->setMaximumHeight(sort->sizeHint().height());
|
||||||
if (fromLabel->sizeHint().width()!=-1)
|
if (fromLabel->sizeHint().width()!=-1)
|
||||||
fromLabel->setMinimumWidth(fromLabel->sizeHint().width());
|
fromLabel->setMinimumWidth(fromLabel->sizeHint().width());
|
||||||
if (fromLabel->sizeHint().height()!=-1)
|
if (fromLabel->sizeHint().height()!=-1)
|
||||||
@ -421,14 +457,6 @@ PrintDialogData::PrintDialogData
|
|||||||
toLabel->setMaximumWidth(toLabel->sizeHint().width());
|
toLabel->setMaximumWidth(toLabel->sizeHint().width());
|
||||||
if (toLabel->sizeHint().height()!=-1)
|
if (toLabel->sizeHint().height()!=-1)
|
||||||
toLabel->setMaximumHeight(toLabel->sizeHint().height());
|
toLabel->setMaximumHeight(toLabel->sizeHint().height());
|
||||||
if (oddpages->sizeHint().width()!=-1)
|
|
||||||
oddpages->setMinimumWidth(oddpages->sizeHint().width());
|
|
||||||
if (oddpages->sizeHint().height()!=-1)
|
|
||||||
oddpages->setMinimumHeight(oddpages->sizeHint().height());
|
|
||||||
if (oddpages->sizeHint().width()!=-1)
|
|
||||||
oddpages->setMaximumWidth(oddpages->sizeHint().width());
|
|
||||||
if (oddpages->sizeHint().height()!=-1)
|
|
||||||
oddpages->setMaximumHeight(oddpages->sizeHint().height());
|
|
||||||
if (toprinter->sizeHint().width()!=-1)
|
if (toprinter->sizeHint().width()!=-1)
|
||||||
toprinter->setMinimumWidth(toprinter->sizeHint().width());
|
toprinter->setMinimumWidth(toprinter->sizeHint().width());
|
||||||
if (toprinter->sizeHint().height()!=-1)
|
if (toprinter->sizeHint().height()!=-1)
|
||||||
@ -451,28 +479,12 @@ PrintDialogData::PrintDialogData
|
|||||||
printername->setMinimumHeight(printername->sizeHint().height());
|
printername->setMinimumHeight(printername->sizeHint().height());
|
||||||
if (printername->sizeHint().height()!=-1)
|
if (printername->sizeHint().height()!=-1)
|
||||||
printername->setMaximumHeight(printername->sizeHint().height());
|
printername->setMaximumHeight(printername->sizeHint().height());
|
||||||
if (reverse->sizeHint().width()!=-1)
|
|
||||||
reverse->setMinimumWidth(reverse->sizeHint().width());
|
|
||||||
if (reverse->sizeHint().height()!=-1)
|
|
||||||
reverse->setMinimumHeight(reverse->sizeHint().height());
|
|
||||||
if (reverse->sizeHint().width()!=-1)
|
|
||||||
reverse->setMaximumWidth(reverse->sizeHint().width());
|
|
||||||
if (reverse->sizeHint().height()!=-1)
|
|
||||||
reverse->setMaximumHeight(reverse->sizeHint().height());
|
|
||||||
if (filename->sizeHint().width()!=-1)
|
if (filename->sizeHint().width()!=-1)
|
||||||
filename->setMinimumWidth(filename->sizeHint().width());
|
filename->setMinimumWidth(filename->sizeHint().width());
|
||||||
if (filename->sizeHint().height()!=-1)
|
if (filename->sizeHint().height()!=-1)
|
||||||
filename->setMinimumHeight(filename->sizeHint().height());
|
filename->setMinimumHeight(filename->sizeHint().height());
|
||||||
if (filename->sizeHint().height()!=-1)
|
if (filename->sizeHint().height()!=-1)
|
||||||
filename->setMaximumHeight(filename->sizeHint().height());
|
filename->setMaximumHeight(filename->sizeHint().height());
|
||||||
if (sort->sizeHint().width()!=-1)
|
|
||||||
sort->setMinimumWidth(sort->sizeHint().width());
|
|
||||||
if (sort->sizeHint().height()!=-1)
|
|
||||||
sort->setMinimumHeight(sort->sizeHint().height());
|
|
||||||
if (sort->sizeHint().width()!=-1)
|
|
||||||
sort->setMaximumWidth(sort->sizeHint().width());
|
|
||||||
if (sort->sizeHint().height()!=-1)
|
|
||||||
sort->setMaximumHeight(sort->sizeHint().height());
|
|
||||||
if (browse->sizeHint().width()!=-1)
|
if (browse->sizeHint().width()!=-1)
|
||||||
browse->setMinimumWidth(browse->sizeHint().width());
|
browse->setMinimumWidth(browse->sizeHint().width());
|
||||||
if (browse->sizeHint().height()!=-1)
|
if (browse->sizeHint().height()!=-1)
|
||||||
@ -481,12 +493,6 @@ PrintDialogData::PrintDialogData
|
|||||||
browse->setMaximumWidth(browse->sizeHint().width());
|
browse->setMaximumWidth(browse->sizeHint().width());
|
||||||
if (browse->sizeHint().height()!=-1)
|
if (browse->sizeHint().height()!=-1)
|
||||||
browse->setMaximumHeight(browse->sizeHint().height());
|
browse->setMaximumHeight(browse->sizeHint().height());
|
||||||
if (count->sizeHint().width()!=-1)
|
|
||||||
count->setMinimumWidth(count->sizeHint().width());
|
|
||||||
if (count->sizeHint().height()!=-1)
|
|
||||||
count->setMinimumHeight(count->sizeHint().height());
|
|
||||||
if (count->sizeHint().height()!=-1)
|
|
||||||
count->setMaximumHeight(count->sizeHint().height());
|
|
||||||
if (countLabel->sizeHint().width()!=-1)
|
if (countLabel->sizeHint().width()!=-1)
|
||||||
countLabel->setMinimumWidth(countLabel->sizeHint().width());
|
countLabel->setMinimumWidth(countLabel->sizeHint().width());
|
||||||
if (countLabel->sizeHint().height()!=-1)
|
if (countLabel->sizeHint().height()!=-1)
|
||||||
@ -495,12 +501,6 @@ PrintDialogData::PrintDialogData
|
|||||||
countLabel->setMaximumWidth(countLabel->sizeHint().width());
|
countLabel->setMaximumWidth(countLabel->sizeHint().width());
|
||||||
if (countLabel->sizeHint().height()!=-1)
|
if (countLabel->sizeHint().height()!=-1)
|
||||||
countLabel->setMaximumHeight(countLabel->sizeHint().height());
|
countLabel->setMaximumHeight(countLabel->sizeHint().height());
|
||||||
if (to->sizeHint().width()!=-1)
|
|
||||||
to->setMinimumWidth(to->sizeHint().width());
|
|
||||||
if (to->sizeHint().height()!=-1)
|
|
||||||
to->setMinimumHeight(to->sizeHint().height());
|
|
||||||
if (to->sizeHint().height()!=-1)
|
|
||||||
to->setMaximumHeight(to->sizeHint().height());
|
|
||||||
QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 1, 5, 5, NULL );
|
QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 1, 5, 5, NULL );
|
||||||
qtarch_layout_1->addColSpacing( 0, 5 );
|
qtarch_layout_1->addColSpacing( 0, 5 );
|
||||||
qtarch_layout_1->setColStretch( 0, 1 );
|
qtarch_layout_1->setColStretch( 0, 1 );
|
||||||
@ -606,9 +606,9 @@ void PrintDialogData::clickedPrint()
|
|||||||
void PrintDialogData::clickedCancel()
|
void PrintDialogData::clickedCancel()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
void PrintDialogData::clickedBrowse()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
void PrintDialogData::changedCount(const char*)
|
void PrintDialogData::changedCount(const char*)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
void PrintDialogData::clickedBrowse()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user