3514 self.splitRemoveAct.setEnabled(False) |
3514 self.splitRemoveAct.setEnabled(False) |
3515 self.nextSplitAct.setEnabled(False) |
3515 self.nextSplitAct.setEnabled(False) |
3516 self.prevSplitAct.setEnabled(False) |
3516 self.prevSplitAct.setEnabled(False) |
3517 self.previewAct.setEnabled(True) |
3517 self.previewAct.setEnabled(True) |
3518 |
3518 |
|
3519 self.splitOrientationAct.setChecked( |
|
3520 Preferences.getUI("SplitOrientationVertical")) |
|
3521 |
3519 def initViewMenu(self): |
3522 def initViewMenu(self): |
3520 """ |
3523 """ |
3521 Public method to create the View menu. |
3524 Public method to create the View menu. |
3522 |
3525 |
3523 @return the generated menu |
3526 @return the generated menu |
5704 UI.PixmapCache.getIcon("splitVertical.png")) |
5707 UI.PixmapCache.getIcon("splitVertical.png")) |
5705 self.splitRemoveAct.setIcon( |
5708 self.splitRemoveAct.setIcon( |
5706 UI.PixmapCache.getIcon("remsplitVertical.png")) |
5709 UI.PixmapCache.getIcon("remsplitVertical.png")) |
5707 self.newDocumentSplitViewAct.setIcon( |
5710 self.newDocumentSplitViewAct.setIcon( |
5708 UI.PixmapCache.getIcon("splitVertical.png")) |
5711 UI.PixmapCache.getIcon("splitVertical.png")) |
|
5712 Preferences.setUI("SplitOrientationVertical", checked) |
5709 |
5713 |
5710 def __previewEditor(self, checked): |
5714 def __previewEditor(self, checked): |
5711 """ |
5715 """ |
5712 Private slot to handle a change of the preview selection state. |
5716 Private slot to handle a change of the preview selection state. |
5713 |
5717 |