Canorus 0.0
Signals | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
CATabWidget Class Reference

Tab widget for the score view inside the main window. More...

#include <tabwidget.h>

Inheritance diagram for CATabWidget:
Inheritance graph
[legend]

Signals

void CANewTab ()
 
void CAMoveTab (int from, int to)
 

Public Member Functions

 CATabWidget (QWidget *parent=0)
 
virtual ~CATabWidget ()
 

Protected Slots

void mouseDoubleClickEvent (QMouseEvent *event)
 

Protected Member Functions

void tabInserted (int)
 
void tabRemoved (int)
 

Detailed Description

Tab widget for the score view inside the main window.

Copyright (c) 2009, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.

This class is usually used to store multiple sheets inside the main window. For now it offers double-click new sheet shortcut and movable tabs.

Constructor & Destructor Documentation

◆ CATabWidget()

CATabWidget::CATabWidget ( QWidget *  parent = 0)

References CAMoveTab().

◆ ~CATabWidget()

CATabWidget::~CATabWidget ( )
virtual

Member Function Documentation

◆ CAMoveTab

void CATabWidget::CAMoveTab ( int  from,
int  to 
)
signal

Referenced by CATabWidget().

Here is the caller graph for this function:

◆ CANewTab

void CATabWidget::CANewTab ( )
signal

Referenced by mouseDoubleClickEvent().

Here is the caller graph for this function:

◆ mouseDoubleClickEvent

void CATabWidget::mouseDoubleClickEvent ( QMouseEvent *  event)
protectedslot

Processes the double click on empty space for the new tab action. The event needs to be implemented in the TabBar and not TabWidget to effect the double clicks inside the tab area only.

References CANewTab().

◆ tabInserted()

void CATabWidget::tabInserted ( int  )
protected

Disable moving sheets, if only one present.

◆ tabRemoved()

void CATabWidget::tabRemoved ( int  )
protected

Disable moving sheets, if only one present.


The documentation for this class was generated from the following files: