Avoids some manual assignment and is in line with what we do for the
file path and display name.
Change-Id: I4e98af08b44978493987e63962d26f8595c6990b
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Synchronizing the context menus on the open documents pane and the
editor tool bar.
Change-Id: I29f614d483a425dec58fc1247b691fd433c4acc0
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This is the first step in actually making "closeEditor(s)" close editors
instead of documents.
Change-Id: I02761e0cef950b8fc093f65a90df04a9a7550681
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
It will take over more responsibility in a later patch.
Change-Id: I89ef61791ccbba3e42de2862d5d887099634bce4
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
The labels need to be polished so that they get the right palette,
and the icon needs to be switched from light to dark.
Change-Id: I3e37947e741c3d92f3c1ac3bb02e631aa7803f59
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
I used to reimplement these a couple of times already.
Change-Id: I265cf50bf976638b4ac5406ae4010cf33c20354c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
and avoid putting those objects into the object pool.
Change-Id: I46c5ed93a9e80532b3cbd7dba2e52b28b1595aa3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
These files have been removed with c3093cfff7.
Change-Id: I96b1c188bda8ff55a1cd4fba69c19f076be2efdb
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Also tweaking the ProgressBar painting code. The cancel cross was
slightly messed up lately, since line drawing changed in Qt5. The
progress bar is one pixel taller and the cancel button mouse area is
slightly larger.
Change-Id: Id55c21f45529332dc6abfc03b53f149e8349a9a0
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Horizontally centered. Vertically less unbalanced. And now also it also
works nicely in High-Dpi mode.
Change-Id: Ie02794fcda251c054f4f0a24b1f14f8f5a8e8847
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Letting that helper function return a file name is more flexible than
returning a QPixmap.
Change-Id: I4634e4e795eec029608c8e65c1a0e8afff870a91
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This patch recreates the exiting panel button graphics in
the qtcreatoricons.svg file. We can now create @2x versions.
The border-image borders are corrected to 3 pixels. The panel
manage button has now centered arrows.
The addidtion of the @2x versions will be done in another commit.
Change-Id: I287e1c902f187deefc65524fdd6056067ab017de
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
The dark lock needs to be visible on dark and on light background.
Since the border is a transparent white, it will only appear
on dark background.
Change-Id: I991056e23b4b72974fb67a4e8738af5d90bc0842
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
That manages its own context. Only the first step in supporting/fixing
things like window titles, and getting rid of the editor manager
placeholder.
Change-Id: I90e681d8470728f9fab4a04dd4d1e91d37c993f3
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
the non-const QImage::bits() performs shared-data checks. With
QImage::constBits() we can skip those for sure in cases where we only
want to read.
Change-Id: Ic5f328b54eb2d9930ad31b4df8d9b636dc005982
Reviewed-by: hjk <hjk121@nokiamail.com>
There is no reason for the editor manager itself to be a widget. This
makes even less sense in the presence of multiple windows.
Change-Id: I384f8945fdd5632d64643e473e6637e05abbce7e
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Change the type of OutputPaneManager::m_maximizeIcon and
::m_minimizeIcon from QPixmap to QIcon to have the automatic @2x
loading.
Small retouches of the graphics: arrowup and arrowdown got the same
color and shadow like the other toolbar icons. The line width of
button_close got adjusted.
Change-Id: Ia985ae23b8c9f301fecee64e8283c6e556e6e0c2
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Get rid of IFeatureProviders that are only telling the wizard factory
that a plugin was loaded.
Change-Id: Id12c669974a6ab98036f070e1adcae35b34ca376
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
E.g. editor windows and help windows. There is no automatic system
shortcut for this on OS X.
Change-Id: I27f1208cde0a6f4b1a6952a7988d00a8481a08a4
Reviewed-by: Daniel Teske <daniel.teske@digia.com>