implemented credits dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1876 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Kalle Dalheimer 2001-04-02 20:08:43 +00:00
parent 7b34646748
commit 0a26faefd1
11 changed files with 374 additions and 69 deletions

View File

@ -1,3 +1,7 @@
2001-04-02 Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
* Makefile.am: Simplified Makefile.am
2001-03-31 Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se> 2001-03-31 Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
* FormCitationDialogImpl.C (doPreviousNext): Propagated search * FormCitationDialogImpl.C (doPreviousNext): Propagated search

View File

@ -19,9 +19,9 @@
#include "FormCitationDialogImpl.h" #include "FormCitationDialogImpl.h"
#include "FormCopyrightDialogImpl.h" #include "FormCopyrightDialogImpl.h"
#include "FormCreditsDialogImpl.h"
#undef emit #undef emit
#include "../xforms/FormCredits.h"
#include "../xforms/FormError.h" #include "../xforms/FormError.h"
#include "../xforms/FormGraphics.h" #include "../xforms/FormGraphics.h"
#include "../xforms/FormPreferences.h" #include "../xforms/FormPreferences.h"
@ -30,6 +30,7 @@
#include "FormCharacter.h" #include "FormCharacter.h"
#include "FormCitation.h" #include "FormCitation.h"
#include "FormCopyright.h" #include "FormCopyright.h"
#include "FormCredits.h"
//#include "FormDocument.h" //#include "FormDocument.h"
//#include "FormIndex.h" //#include "FormIndex.h"
#include "FormParagraph.h" #include "FormParagraph.h"
@ -46,6 +47,7 @@
#include "controllers/ControlCitation.h" #include "controllers/ControlCitation.h"
#include "controllers/ControlCopyright.h" #include "controllers/ControlCopyright.h"
#include "controllers/ControlCredits.h"
#include "GUI.h" #include "GUI.h"
@ -63,15 +65,13 @@ Dialogs::Dialogs(LyXView * lv)
// dialogs that have been converted to new scheme // dialogs that have been converted to new scheme
add( new GUICitation<FormCitation, qt2BC>( *lv, *this ) ); add( new GUICitation<FormCitation, qt2BC>( *lv, *this ) );
add( new GUICopyright<FormCopyright, qt2BC>( *lv, *this ) ); add( new GUICopyright<FormCopyright, qt2BC>( *lv, *this ) );
add( new GUICredits<FormCredits, qt2BC>( *lv, *this ) );
// ------------------------------------------ // ------------------------------------------
// dialogs that are still old-style // dialogs that are still old-style
add( new FormCharacter(lv, this)); add( new FormCharacter(lv, this));
// REMOVED THIS UNTIL CHANGED TO NEW SCHEME -- Kalle, 2001-03-22
// add( new FormCredits(lv, this));
// add(new FormDocument(lv, this)); // add(new FormDocument(lv, this));

View File

@ -683,12 +683,6 @@
<receiver>FormCitationDialog</receiver> <receiver>FormCitationDialog</receiver>
<slot>slotDelClicked()</slot> <slot>slotDelClicked()</slot>
</connection> </connection>
<connection>
<sender>upPB</sender>
<signal>clicked()</signal>
<receiver>FormCitationDialog</receiver>
<slot>slotIUpClicked()</slot>
</connection>
<connection> <connection>
<sender>downPB</sender> <sender>downPB</sender>
<signal>clicked()</signal> <signal>clicked()</signal>
@ -743,18 +737,24 @@
<receiver>FormCitationDialog</receiver> <receiver>FormCitationDialog</receiver>
<slot>slotCiteSelected(int)</slot> <slot>slotCiteSelected(int)</slot>
</connection> </connection>
<slot access="protected">slotTextAfterReturn()</slot> <connection>
<sender>upPB</sender>
<signal>clicked()</signal>
<receiver>FormCitationDialog</receiver>
<slot>slotUpClicked()</slot>
</connection>
<slot access="protected">slotAddClicked()</slot> <slot access="protected">slotAddClicked()</slot>
<slot access="protected">slotBibSelected(int)</slot> <slot access="protected">slotBibSelected(int)</slot>
<slot access="protected">slotCitationStyleSelected(int)</slot> <slot access="protected">slotCitationStyleSelected(int)</slot>
<slot access="protected">slotCiteSelected(int)</slot> <slot access="protected">slotCiteSelected(int)</slot>
<slot access="protected">slotDelClicked()</slot> <slot access="protected">slotDelClicked()</slot>
<slot access="protected">slotDownClicked()</slot> <slot access="protected">slotDownClicked()</slot>
<slot access="protected">slotIUpClicked()</slot> <slot access="protected">slotUpClicked()</slot>
<slot access="protected">slotNextClicked()</slot> <slot access="protected">slotNextClicked()</slot>
<slot access="protected">slotPreviousClicked()</slot> <slot access="protected">slotPreviousClicked()</slot>
<slot access="protected">slotRestoreClicked()</slot> <slot access="protected">slotRestoreClicked()</slot>
<slot access="protected">slotSearchTypeSelected(bool)</slot> <slot access="protected">slotSearchTypeSelected(bool)</slot>
<slot access="protected">slotTextAfterReturn()</slot>
<slot access="protected">slotTextBeforeReturn()</slot> <slot access="protected">slotTextBeforeReturn()</slot>
</connections> </connections>
</UI> </UI>

View File

@ -1,5 +1,5 @@
/** /**
* $Id: FormCitationDialogImpl.C,v 1.5 2001/03/31 08:39:24 kalle Exp $ * $Id: FormCitationDialogImpl.C,v 1.6 2001/04/02 20:08:43 kalle Exp $
*/ */
#include "FormCitationDialogImpl.h" #include "FormCitationDialogImpl.h"
@ -61,7 +61,7 @@ void FormCitationDialogImpl::slotBibSelected( int sel )
citeLB->clearSelection(); citeLB->clearSelection();
if (sel < 0 || sel >= (int)form_->bibkeys.size()) { if (sel < 0 || sel >= (int)form_->bibkeys.size()) {
form_->bc().input( ButtonPolicy::SMI_NOOP ); // form_->bc().input( ButtonPolicy::SMI_NOOP );
return; return;
} }
@ -94,7 +94,7 @@ void FormCitationDialogImpl::slotBibSelected( int sel )
} }
} }
form_->bc().input( ButtonPolicy::SMI_VALID ); // form_->bc().input( ButtonPolicy::SMI_VALID );
} }
@ -103,7 +103,7 @@ void FormCitationDialogImpl::slotCiteSelected( int sel )
biblio::InfoMap const & theMap = form_->controller().bibkeysInfo(); biblio::InfoMap const & theMap = form_->controller().bibkeysInfo();
if (sel < 0 || sel >= (int)form_->citekeys.size()) { if (sel < 0 || sel >= (int)form_->citekeys.size()) {
form_->bc().input( ButtonPolicy::SMI_NOOP ); // form_->bc().input( ButtonPolicy::SMI_NOOP );
return; return;
} }
@ -127,7 +127,7 @@ void FormCitationDialogImpl::slotCiteSelected( int sel )
infoML->setText( biblio::getInfo( theMap, form_->bibkeys[sel] ).c_str() ); infoML->setText( biblio::getInfo( theMap, form_->bibkeys[sel] ).c_str() );
} }
form_->bc().input( ButtonPolicy::SMI_VALID ); // form_->bc().input( ButtonPolicy::SMI_VALID );
} }
@ -135,7 +135,7 @@ void FormCitationDialogImpl::slotAddClicked()
{ {
int const sel = bibLB->currentItem(); int const sel = bibLB->currentItem();
if (sel < 0 || sel >= (int)form_->bibkeys.size()) { if (sel < 0 || sel >= (int)form_->bibkeys.size()) {
form_->bc().input( ButtonPolicy::SMI_NOOP ); // form_->bc().input( ButtonPolicy::SMI_NOOP );
return; return;
} }
@ -149,7 +149,7 @@ void FormCitationDialogImpl::slotAddClicked()
form_->setBibButtons(FormCitation::OFF); form_->setBibButtons(FormCitation::OFF);
form_->setCiteButtons(FormCitation::ON); form_->setCiteButtons(FormCitation::ON);
form_->bc().input( ButtonPolicy::SMI_VALID ); // form_->bc().input( ButtonPolicy::SMI_VALID );
} }
@ -157,7 +157,7 @@ void FormCitationDialogImpl::slotDelClicked()
{ {
int const sel = citeLB->currentItem(); int const sel = citeLB->currentItem();
if (sel < 0 || sel >= (int)form_->citekeys.size()) { if (sel < 0 || sel >= (int)form_->citekeys.size()) {
form_->bc().input( ButtonPolicy::SMI_NOOP ); // form_->bc().input( ButtonPolicy::SMI_NOOP );
return; return;
} }
@ -168,7 +168,7 @@ void FormCitationDialogImpl::slotDelClicked()
form_->setBibButtons(FormCitation::ON); form_->setBibButtons(FormCitation::ON);
form_->setCiteButtons(FormCitation::OFF); form_->setCiteButtons(FormCitation::OFF);
form_->bc().input( ButtonPolicy::SMI_VALID ); // form_->bc().input( ButtonPolicy::SMI_VALID );
} }
@ -176,7 +176,7 @@ void FormCitationDialogImpl::slotUpClicked()
{ {
int const sel = citeLB->currentItem(); int const sel = citeLB->currentItem();
if (sel < 1 || sel >= (int)form_->citekeys.size()) { if (sel < 1 || sel >= (int)form_->citekeys.size()) {
form_->bc().input( ButtonPolicy::SMI_NOOP ); // form_->bc().input( ButtonPolicy::SMI_NOOP );
return; return;
} }
@ -192,7 +192,7 @@ void FormCitationDialogImpl::slotUpClicked()
form_->citekeys.insert(it-1, tmp); form_->citekeys.insert(it-1, tmp);
form_->setCiteButtons(FormCitation::ON); form_->setCiteButtons(FormCitation::ON);
form_->bc().input( ButtonPolicy::SMI_VALID ); // form_->bc().input( ButtonPolicy::SMI_VALID );
} }
@ -200,7 +200,7 @@ void FormCitationDialogImpl::slotDownClicked()
{ {
int const sel = citeLB->currentItem(); int const sel = citeLB->currentItem();
if (sel < 0 || sel >= (int)form_->citekeys.size()-1) { if (sel < 0 || sel >= (int)form_->citekeys.size()-1) {
form_->bc().input( ButtonPolicy::SMI_NOOP ); // form_->bc().input( ButtonPolicy::SMI_NOOP );
return; return;
} }
@ -216,7 +216,7 @@ void FormCitationDialogImpl::slotDownClicked()
form_->citekeys.insert(it+1, tmp); form_->citekeys.insert(it+1, tmp);
form_->setCiteButtons(FormCitation::ON); form_->setCiteButtons(FormCitation::ON);
form_->bc().input( ButtonPolicy::SMI_VALID ); // form_->bc().input( ButtonPolicy::SMI_VALID );
} }
@ -263,13 +263,13 @@ void FormCitationDialogImpl::doPreviousNext( bool next )
start, type, dir, caseSensitive ); start, type, dir, caseSensitive );
if (cit == form_->bibkeys.end()) { if (cit == form_->bibkeys.end()) {
form_->bc().input( ButtonPolicy::SMI_NOOP ); // form_->bc().input( ButtonPolicy::SMI_NOOP );
return; return;
} }
int const found = int(cit - form_->bibkeys.begin()); int const found = int(cit - form_->bibkeys.begin());
if (found == sel) { if (found == sel) {
form_->bc().input( ButtonPolicy::SMI_NOOP ); // form_->bc().input( ButtonPolicy::SMI_NOOP );
return; return;
} }
@ -279,24 +279,24 @@ void FormCitationDialogImpl::doPreviousNext( bool next )
bibLB->setSelected( found, true ); bibLB->setSelected( found, true );
slotBibSelected( 0 ); slotBibSelected( 0 );
form_->bc().input( ButtonPolicy::SMI_VALID ); // form_->bc().input( ButtonPolicy::SMI_VALID );
} }
void FormCitationDialogImpl::slotCitationStyleSelected( int ) void FormCitationDialogImpl::slotCitationStyleSelected( int )
{ {
form_->bc().input( ButtonPolicy::SMI_VALID ); // form_->bc().input( ButtonPolicy::SMI_VALID );
} }
void FormCitationDialogImpl::slotTextBeforeReturn() void FormCitationDialogImpl::slotTextBeforeReturn()
{ {
form_->bc().input( ButtonPolicy::SMI_VALID ); // form_->bc().input( ButtonPolicy::SMI_VALID );
} }
void FormCitationDialogImpl::slotTextAfterReturn() void FormCitationDialogImpl::slotTextAfterReturn()
{ {
form_->bc().input( ButtonPolicy::SMI_VALID ); // form_->bc().input( ButtonPolicy::SMI_VALID );
} }

View File

@ -0,0 +1,57 @@
/**
* \file FormCredits.C
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
* \author Edwin Leuven, leuven@fee.uva.nl
* \author Angus Leeming, a.leeming@.ac.uk
* \author Kalle Dalheimer, kalle@klaralvdalens-datakonsult.se
*/
#ifdef __GNUG__
#pragma implementation
#endif
#include <config.h>
#include "FormCreditsDialogImpl.h"
#include <qtextview.h>
#include <qpushbutton.h>
#undef emit
#include "qt2BC.h"
#include "ControlCredits.h"
#include "FormCredits.h"
#include "Lsstream.h"
using std::getline;
typedef Qt2CB<ControlCredits, Qt2DB<FormCreditsDialogImpl> > base_class;
FormCredits::FormCredits(ControlCredits & c)
: base_class(c, _("Credits"))
{}
void FormCredits::build()
{
// PENDING(kalle) Parent?
dialog_.reset(new FormCreditsDialogImpl( this ));
// Manage the cancel/close button
bc().setCancel(dialog_->okPB);
bc().refresh();
std::stringstream ss;
QString xformscredits = controller().getCredits( ss ).str().c_str();
QStringList xformslist = QStringList::split( '\n', controller().getCredits( ss ).str().c_str(), true );
for( QStringList::Iterator it = xformslist.begin(); it != xformslist.end(); ++it ) {
QString line = *it;
if( line.left( 2 ) == "@b" )
dialog_->creditsTV->append( "<b>" + line.mid( 2 ) + "</b>" );
else if( line.left( 2 ) == "@i" )
dialog_->creditsTV->append( "<i>" + line.mid( 2 ) + "</i>" );
else
dialog_->creditsTV->append( line );
}
}

View File

@ -0,0 +1,40 @@
/**
* \file FormCredits.h
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
* \author Edwin Leuven, leuven@fee.uva.nl
* \author Angus Leeming, a.leeming@.ac.uk
* \author Kalle Dalheimer, kalle@klaralvdalens-datakonsult.se
*/
#ifndef FORMCREDITS_H
#define FORMCREDITS_H
#ifdef __GNUG__
#pragma interface
#endif
#include "Qt2Base.h"
class ControlCredits;
class FormCreditsDialogImpl;
/** This class provides a Qt2 implementation of the FormCredits Dialog.
*/
class FormCredits : public Qt2CB<ControlCredits, Qt2DB<FormCreditsDialogImpl> > {
public:
///
FormCredits(ControlCredits &);
private:
/// not needed.
virtual void apply() {}
/// not needed.
virtual void update() {}
/// Build the dialog
virtual void build();
};
#endif

View File

@ -0,0 +1,167 @@
<!DOCTYPE UI><UI>
<class>FormCreditsDialog</class>
<widget>
<class>QDialog</class>
<property stdset="1">
<name>name</name>
<cstring>FormCreditsDialog</cstring>
</property>
<property stdset="1">
<name>geometry</name>
<rect>
<x>0</x>
<y>0</y>
<width>366</width>
<height>301</height>
</rect>
</property>
<property stdset="1">
<name>caption</name>
<string>Form1</string>
</property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>11</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel1</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>All these people have contributed to the LyX project. Thanks,</string>
</property>
<property stdset="1">
<name>alignment</name>
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel2</cstring>
</property>
<property stdset="1">
<name>font</name>
<font>
<italic>1</italic>
</font>
</property>
<property stdset="1">
<name>text</name>
<string>Matthias</string>
</property>
<property stdset="1">
<name>alignment</name>
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
<widget>
<class>QTextView</class>
<property stdset="1">
<name>name</name>
<cstring>creditsTV</cstring>
</property>
<property stdset="1">
<name>minimumSize</name>
<size>
<width>0</width>
<height>200</height>
</size>
</property>
<property stdset="1">
<name>textFormat</name>
<enum>RichText</enum>
</property>
</widget>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout8</cstring>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<spacer>
<property>
<name>name</name>
<cstring>Spacer1</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>okPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>OK</string>
</property>
<property stdset="1">
<name>default</name>
<bool>true</bool>
</property>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer2</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
</vbox>
</widget>
</UI>

View File

@ -0,0 +1,27 @@
#include "FormCreditsDialogImpl.h"
#include "FormCredits.h"
#include <qpushbutton.h>
/*
* Constructs a FormCreditsDialogImpl which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
FormCreditsDialogImpl::FormCreditsDialogImpl( FormCredits* form, QWidget* parent,
const char* name, bool modal, WFlags fl )
: FormCreditsDialog( parent, name, modal, fl )
{
connect( okPB, SIGNAL( clicked() ),
form, SLOT( slotCancel() ) );
}
/*
* Destroys the object and frees any allocated resources
*/
FormCreditsDialogImpl::~FormCreditsDialogImpl()
{
// no need to delete child widgets, Qt does it all for us
}

View File

@ -0,0 +1,18 @@
#ifndef FORMCREDITSDIALOGIMPL_H
#define FORMCREDITSDIALOGIMPL_H
#include "FormCreditsDialog.h"
class FormCredits;
class FormCreditsDialogImpl : public FormCreditsDialog
{
Q_OBJECT
public:
FormCreditsDialogImpl( FormCredits* form, QWidget* parent = 0,
const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~FormCreditsDialogImpl();
};
#endif // FORMCREDITSDIALOGIMPL_H

View File

@ -16,6 +16,8 @@ BUILTSOURCES = \
moc_FormCitationDialogImpl.C \ moc_FormCitationDialogImpl.C \
moc_FormCopyrightDialog.C \ moc_FormCopyrightDialog.C \
moc_FormCopyrightDialogImpl.C \ moc_FormCopyrightDialogImpl.C \
moc_FormCreditsDialog.C \
moc_FormCreditsDialogImpl.C \
moc_chardlg.C \ moc_chardlg.C \
moc_chardlgimpl.C \ moc_chardlgimpl.C \
moc_paragraphdlg.C \ moc_paragraphdlg.C \
@ -113,6 +115,12 @@ libqt2_la_SOURCES = \
FormCopyrightDialog.h \ FormCopyrightDialog.h \
FormCopyrightDialogImpl.C \ FormCopyrightDialogImpl.C \
FormCopyrightDialogImpl.h \ FormCopyrightDialogImpl.h \
FormCredits.C \
FormCredits.h \
FormCreditsDialog.C \
FormCreditsDialog.h \
FormCreditsDialogImpl.C \
FormCreditsDialogImpl.h \
FormParagraph.C \ FormParagraph.C \
FormParagraph.h \ FormParagraph.h \
paragraphdlg.C \ paragraphdlg.C \
@ -160,7 +168,7 @@ dist-hook:
done ; \ done ; \
done done
moc_Qt2Base.C: Qt2Base.h moc_%.C: %.h
$(MOC) -o $@ $< $(MOC) -o $@ $<
FormCitation.C: FormCitationDialog.h FormCitation.C: FormCitationDialog.h
@ -168,72 +176,45 @@ FormCitationDialog.h: FormCitationDialog.ui
$(UIC) -o $@ $< $(UIC) -o $@ $<
FormCitationDialog.C: FormCitationDialog.ui FormCitationDialog.C: FormCitationDialog.ui
$(UIC) -impl FormCitationDialog.h -o $@ $< $(UIC) -impl FormCitationDialog.h -o $@ $<
moc_FormCitationDialog.C: FormCitationDialog.h
$(MOC) -o $@ $<
moc_FormCitationDialogImpl.C: FormCitationDialogImpl.h
$(MOC) -o $@ $<
FormCopyright.C: FormCopyrightDialogImpl.h FormCopyright.C: FormCopyrightDialogImpl.h
FormCopyrightDialog.h: FormCopyrightDialog.ui FormCopyrightDialog.h: FormCopyrightDialog.ui
$(UIC) -o $@ $< $(UIC) -o $@ $<
FormCopyrightDialog.C: FormCopyrightDialog.ui FormCopyrightDialog.C: FormCopyrightDialog.ui
$(UIC) -impl FormCopyrightDialog.h -o $@ $< $(UIC) -impl FormCopyrightDialog.h -o $@ $<
moc_FormCopyrightDialog.C: FormCopyrightDialog.h
$(MOC) -o $@ $< FormCredits.C: FormCreditsDialogImpl.h
moc_FormCopyrightDialogImpl.C: FormCopyrightDialogImpl.h FormCreditsDialog.h: FormCreditsDialog.ui
$(MOC) -o $@ $< $(UIC) -o $@ $<
FormCreditsDialog.C: FormCreditsDialog.ui
$(UIC) -impl FormCreditsDialog.h -o $@ $<
FormParagraph.C: paragraphdlg.h FormParagraph.C: paragraphdlg.h
paragraphdlg.h: paragraphdlg.ui paragraphdlg.h: paragraphdlg.ui
$(UIC) -o $@ $< $(UIC) -o $@ $<
paragraphdlg.C: paragraphdlg.ui paragraphdlg.C: paragraphdlg.ui
$(UIC) -impl paragraphdlg.h -o $@ $< $(UIC) -impl paragraphdlg.h -o $@ $<
moc_paragraphdlg.C: paragraphdlg.h
$(MOC) -o $@ $<
moc_paragraphdlgimpl.C: paragraphdlgimpl.h
$(MOC) -o $@ $<
FormPrint.C: printdlg.h FormPrint.C: printdlg.h
printdlg.h: printdlg.ui printdlg.h: printdlg.ui
$(UIC) -o $@ $< $(UIC) -o $@ $<
printdlg.C: printdlg.ui printdlg.C: printdlg.ui
$(UIC) -impl printdlg.h -o $@ $< $(UIC) -impl printdlg.h -o $@ $<
moc_printdlg.C: printdlg.h
$(MOC) -o $@ $<
moc_printdlgimpl.C: printdlgimpl.h
$(MOC) -o $@ $<
FormTabularCreate.C: tabularcreatedlg.h FormTabularCreate.C: tabularcreatedlg.h
tabularcreatedlg.h: tabularcreatedlg.ui tabularcreatedlg.h: tabularcreatedlg.ui
$(UIC) -o $@ $< $(UIC) -o $@ $<
tabularcreatedlg.C: tabularcreatedlg.ui tabularcreatedlg.C: tabularcreatedlg.ui
$(UIC) -impl tabularcreatedlg.h -o $@ $< $(UIC) -impl tabularcreatedlg.h -o $@ $<
moc_tabularcreatedlg.C: tabularcreatedlg.h
$(MOC) -o $@ $<
moc_tabularcreatedlgimpl.C: tabularcreatedlgimpl.h
$(MOC) -o $@ $<
moc_emptytable.C: emptytable.h
$(MOC) -o $@ $<
FormCharacter.C: chardlg.h FormCharacter.C: chardlg.h
chardlg.h: chardlg.ui chardlg.h: chardlg.ui
$(UIC) -o $@ $< $(UIC) -o $@ $<
chardlg.C: chardlg.ui chardlg.C: chardlg.ui
$(UIC) -impl chardlg.h -o $@ $< $(UIC) -impl chardlg.h -o $@ $<
moc_chardlg.C: chardlg.h
$(MOC) -o $@ $<
moc_chardlgimpl.C: chardlgimpl.h
$(MOC) -o $@ $<
FormSearch.C: searchdlg.h FormSearch.C: searchdlg.h
searchdlg.h: searchdlg.ui searchdlg.h: searchdlg.ui
$(UIC) -o $@ $< $(UIC) -o $@ $<
searchdlg.C: searchdlg.ui searchdlg.C: searchdlg.ui
$(UIC) -impl searchdlg.h -o $@ $< $(UIC) -impl searchdlg.h -o $@ $<
moc_searchdlg.C: searchdlg.h
$(MOC) -o $@ $<
moc_searchdlgimpl.C: searchdlgimpl.h
$(MOC) -o $@ $<
moc_FileDialog_private.C: FileDialog_private.h
$(MOC) -o $@ $<

View File

@ -1,22 +1,33 @@
Dialog Maintainer MVC conversion Dialog Maintainer MVC conversion
---------------------------------------------- ----------------------------------------------
Bibitem
Bibtex
Character Edwin Character Edwin
Citation Kalle In progress Citation Kalle In progress
Command
Connections
Copyright Kalle Done Copyright Kalle Done
Credits Credits Kalle In progress
Document Kalle In progress Document Kalle In progress (Not yet prepared)
Error Error
External
File Edwin File Edwin
Graphics Graphics
Include
Index Kalle Index Kalle
Paragraph Edwin Log
Minipage
Paragraph Edwin Not yet prepared
Preamble
Preferences Preferences
Print Edwin Print Edwin
Ref Kalle Ref Kalle
Search Edwin Search Edwin
Splash Edwin Splash Edwin
Tabular Tabular Not yet prepared
TabularCreate Edwin TabularCreate Edwin
Toc Kalle Toc Kalle
Url Kalle Url Kalle
VCLog