/// are we busy ?
bool busy() const;
- void saveCursorShapes();
- void restoreCursorShapes();
- void setCursorShapes(Qt::CursorShape shape);
/// \name Generic accessor functions
//@{
/// \return the \c Workarea associated to \p Buffer
/// \retval 0 if no \c WorkArea is found.
GuiWorkArea * workArea(Buffer & buffer);
+ /// \return the \c Workarea at index \c index
+ GuiWorkArea * workArea(int index);
/// Add a \c WorkArea
/// \return the \c Workarea associated to \p Buffer
/// For completion of autosave or export threads.
void processingThreadStarted();
+ void processingThreadFinished(bool show_errors);
void processingThreadFinished();
- void indicateProcessing();
+ void autoSaveThreadFinished();
/// must be called in GUI thread
void doShowDialog(QString const & qname, QString const & qdata,
void disconnectDialog(std::string const & name);
private:
- ///
+ /// Saves the layout and geometry of the window
void saveLayout() const;
+ /// Saves the settings of toolbars and all dialogs
+ void saveUISettings() const;
///
bool restoreLayout();
///
/// is the buffer in this workarea also shown in another tab ?
/// This tab can either be in the same view or in another one.
bool inMultiTabs(GuiWorkArea * wa);
- /// is the buffer in this workarea also shown in another view ?
- bool inMultiViews(GuiWorkArea * wa);
+ /// is the buffer shown in some other view ?
+ bool inOtherView(Buffer & buf);
///
enum NextOrPrevious {
NEXTBUFFER,
///
void dispatchVC(FuncRequest const & cmd, DispatchResult & dr);
///
+ void dispatchToBufferView(FuncRequest const & cmd, DispatchResult & dr);
+ ///
void showMessage();
/// This view ID.