~ubuntu-branches/ubuntu/feisty/digikam/feisty

« back to all changes in this revision

Viewing changes to digikam/libs/widgets/imagepannelwidget.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Achim Bohnet
  • Date: 2006-05-15 01:15:02 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515011502-kpyuz7766hpbuia8
Tags: 0.8.2~rc1-0ubuntu1
* sync with debian (UVF see #44102)
  0.8.2~rc1-0ubuntu1 is identical to debian's 0.8.1+0.8.2-rc1-1.
  Version was changed due to latest 0.8.1.ubuntu-0ubuntu1 upload.
  This version is unfortunately bigger than debian's 0.8.1+0.8.2-rc1-1
* Merge in ubuntu changelog

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
       QString directory = KGlobal::dirs()->findResourceDir("duplicateheight", "duplicateheight.png");
106
106
       duplicateHorButton->setPixmap( QPixmap( directory + "duplicateheight.png" ) );
107
107
       duplicateHorButton->setToggleButton(true);
108
 
       QToolTip::add( duplicateHorButton, i18n("<p>If you enable this option, you will separe horizontally the "
109
 
                                               "preview area to display original and target image "
110
 
                                               "at the same time. The target is duplicated from the original on "
111
 
                                               "the bottom of the red dashed line." ) );
 
108
       QToolTip::add( duplicateHorButton, i18n("<p>If you enable this option, you will separate the preview area "
 
109
                                               "horizontally, displaying the original and target image "
 
110
                                               "at the same time. The target is duplicated from the original "
 
111
                                               "below the red dashed line." ) );
112
112
        
113
113
       QPushButton *duplicateVerButton = new QPushButton( m_separateView );
114
114
       m_separateView->insert(duplicateVerButton, Digikam::ImageRegionWidget::SeparateViewDuplicateVert);
116
116
       directory = KGlobal::dirs()->findResourceDir("duplicatewidth", "duplicatewidth.png");
117
117
       duplicateVerButton->setPixmap( QPixmap( directory + "duplicatewidth.png" ) );
118
118
       duplicateVerButton->setToggleButton(true);
119
 
       QToolTip::add( duplicateVerButton, i18n("<p>If you enable this option, you will separe vertically the "
120
 
                                               "preview area to display original and target image "
121
 
                                               "at the same time. The target is duplicated from the original on "
 
119
       QToolTip::add( duplicateVerButton, i18n("<p>If you enable this option, you will separate the preview area "
 
120
                                               "vertically, displaying the original and target image "
 
121
                                               "at the same time. The target is duplicated from the original to "
122
122
                                               "the right of the red dashed line." ) );
123
123
        }
124
124
        
131
131
       QString directory = KGlobal::dirs()->findResourceDir("centerheight", "centerheight.png");
132
132
       separateHorButton->setPixmap( QPixmap( directory + "centerheight.png" ) );
133
133
       separateHorButton->setToggleButton(true);
134
 
       QToolTip::add( separateHorButton, i18n( "<p>If you enable this option, you will separe horizontally the "
135
 
                                               "preview area to display original and target image "
136
 
                                               "at the same time. The original is on the top of the "
137
 
                                               "red dashed line, target on the bottom" ) );
 
134
       QToolTip::add( separateHorButton, i18n( "<p>If you enable this option, you will separate the preview area "
 
135
                                               "horizontally, displaying the original and target image "
 
136
                                               "at the same time. The original is above the "
 
137
                                               "red dashed line, the target below it." ) );
138
138
        
139
139
       QPushButton *separateVerButton = new QPushButton( m_separateView );
140
140
       m_separateView->insert(separateVerButton, Digikam::ImageRegionWidget::SeparateViewVertical);
142
142
       directory = KGlobal::dirs()->findResourceDir("centerwidth", "centerwidth.png");
143
143
       separateVerButton->setPixmap( QPixmap( directory + "centerwidth.png" ) );
144
144
       separateVerButton->setToggleButton(true);
145
 
       QToolTip::add( separateVerButton, i18n( "<p>If you enable this option, you will separe vertically the "
146
 
                                               "preview area to display original and target image "
147
 
                                               "at the same time. The original is on the left of the "
148
 
                                               "red dashed line, target on the right" ) );
 
145
       QToolTip::add( separateVerButton, i18n( "<p>If you enable this option, you will separate the preview area "
 
146
                                               "vertically, displaying the original and target image "
 
147
                                               "at the same time. The original is to the left of the "
 
148
                                               "red dashed line, the target to the right of it." ) );
149
149
       }
150
150
       
151
151
    QPushButton *noSeparateButton = new QPushButton( m_separateView );
155
155
    noSeparateButton->setPixmap( QPixmap( directory + "nocenter.png" ) );
156
156
    noSeparateButton->setToggleButton(true);
157
157
    QToolTip::add( noSeparateButton, i18n( "<p>If you enable this option, the preview area will not "
158
 
                                           "be separed" ) );
 
158
                                           "be separated." ) );
159
159
    
160
160
    l2->addWidget(frame3, 0, Qt::AlignHCenter);
161
161
    QHBoxLayout *h1 = new QHBoxLayout( KDialog::spacingHint() ); 
308
308
void ImagePannelWidget::updateSelectionInfo(QRect rect)
309
309
{
310
310
    QToolTip::add( m_imagePanIconWidget, 
311
 
                   i18n("Top left: (%1, %2)<br>Bottom right: (%3, %4)")
 
311
                   i18n("<nobr>Top left: (%1,%2)</nobr><br><nobr>Bottom right: (%3,%4)</nobr>")
312
312
                        .arg(rect.left()).arg(rect.top())
313
313
                        .arg(rect.right()).arg(rect.bottom()));
314
314
}