+2002-10-30 John Levon <levon@movementarian.org>
+
+ * QGraphics.C:
+ * ui/QGraphicsDialog.ui: some fixes from Herbert
+
2002-10-30 John Levon <levon@movementarian.org>
* ui/QTabularDialog.ui: initial UI from Juergen Spitzmueller
2002-10-30 John Levon <levon@movementarian.org>
* ui/QTabularDialog.ui: initial UI from Juergen Spitzmueller
dialog_->filename->setText(igp.filename.c_str());
dialog_->filename->setText(igp.filename.c_str());
- // set the bounding box values, if exists. First we need the whole
- // path, because the controller knows nothing about the doc-dir
controller().bbChanged = false;
if (igp.bb.empty()) {
controller().bbChanged = false;
if (igp.bb.empty()) {
- string const fileWithAbsPath(MakeAbsPath(igp.filename, OnlyPath(igp.filename)));
- string const bb(controller().readBB(fileWithAbsPath));
+ string const bb(controller().readBB(igp.filename));
if (!bb.empty()) {
// get the values from the file
// in this case we always have the point-unit
if (!bb.empty()) {
// get the values from the file
// in this case we always have the point-unit
{
string const filename(dialog_->filename->text());
if (!filename.empty()) {
{
string const filename(dialog_->filename->text());
if (!filename.empty()) {
- string const fileWithAbsPath(MakeAbsPath(filename, OnlyPath(filename)));
- string const bb(controller().readBB(fileWithAbsPath));
+ string const bb(controller().readBB(filename));
if (!bb.empty()) {
dialog_->lbX->setText(token(bb, ' ', 0).c_str());
dialog_->lbY->setText(token(bb, ' ', 1).c_str());
if (!bb.empty()) {
dialog_->lbX->setText(token(bb, ' ', 0).c_str());
dialog_->lbY->setText(token(bb, ' ', 1).c_str());
bool QGraphics::isValid()
{
// FIXME: we need more here.
bool QGraphics::isValid()
{
// FIXME: we need more here.
+ // why?? LaTeX needs a filename, the rest is user-specific (Herbert)
return !string(dialog_->filename->text().latin1()).empty();
}
return !string(dialog_->filename->text().latin1()).empty();
}
<height>484</height>
</rect>
</property>
<height>484</height>
</rect>
</property>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
- <cstring>TextLabel4_2_2</cstring>
+ <cstring>displayscaleL</cstring>
</property>
<property stdset="1">
<name>enabled</name>
</property>
<property stdset="1">
<name>enabled</name>
+ <bool>true</bool>
+ </property>
+ <property stdset="1">
+ <name>focusPolicy</name>
+ <enum>NoFocus</enum>
</property>
<property stdset="1">
<name>text</name>
</property>
<property stdset="1">
<name>text</name>
</connection>
<connection>
<sender>origin</sender>
</connection>
<connection>
<sender>origin</sender>
- <signal>textChanged(const QString&)</signal>
+ <signal>activated(int)</signal>
<receiver>QGraphicsDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<receiver>QGraphicsDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>