Ejemplo n.º 1
0
void KWDocStructRootItem::setupPictures()
{
    deleteAllChildren();

    KWFrameSet* frameset = 0L;
    QString _name;
    KWDocStructPictureItem* child;
    KWDocument* dok = doc();

    int j = 0;
    for ( int i = dok->frameSetCount() - 1; i >= 0; i-- )
    {
        frameset = dok->frameSet( i );
        if ( frameset->type() == FT_PICTURE && frameset->frameCount()>0)
        {
            _name=i18n("Picture (%1) %2").arg(dynamic_cast<KWPictureFrameSet*>( frameset )->key().filename()).arg(++j);
            child = new KWDocStructPictureItem(this, _name, dynamic_cast<KWPictureFrameSet*>( frameset ));
        }
    }

    if ( childCount() == 0 )
        ( void )new KListViewItem( this, i18n( "Empty" ) );
}
Ejemplo n.º 2
0
void KWDocStructRootItem::setupEmbedded()
{
    deleteAllChildren();

    KWFrameSet* frameset = 0L;
    QString _name;
    KWDocStructPartItem* child;
    KWDocument* dok = doc();

    for ( int i = dok->frameSetCount() - 1; i >= 0; i-- )
    {
        frameset = dok->frameSet( i );
        if ( frameset->type() == FT_PART && frameset->frameCount()>0)
        {
            // Use the name of the frameset as the entry for the object.
            _name=frameset->name();
            child = new KWDocStructPartItem(this, _name, dynamic_cast<KWPartFrameSet*>( frameset ));
        }
    }

    if ( childCount() == 0 )
        ( void )new KListViewItem( this, i18n( "Empty" ) );
}
Ejemplo n.º 3
0
void KWDocStructRootItem::setupFormulaFrames()
{
    deleteAllChildren();

    KWFrameSet* frameset = 0L;
    QString _name;
    KWDocStructFormulaItem* child;
    KWDocument* dok = doc();

    for ( int i = dok->frameSetCount() - 1; i >= 0; i-- )
    {
        frameset = dok->frameSet( i );
        if ( frameset->type() == FT_FORMULA &&
            frameset->frameCount()>0  )
        {
            _name=i18n("Formula Frame %1").arg(QString::number(i+1));
            child = new KWDocStructFormulaItem(this, _name, dynamic_cast<KWFormulaFrameSet*>( frameset ));
        }
    }

    if ( childCount() == 0 )
        ( void )new KListViewItem( this, i18n( "Empty" ) );
}
AdjustmentComponent::~AdjustmentComponent()
{
	noteLengthSlider->removeListener (this);
	swingTicksSlider->removeListener (this);
	deleteAllChildren();
}
MainComponent::~MainComponent()
{
	deleteAllChildren();
}
Ejemplo n.º 6
0
    ~MiscPage()
    {
        StoredSettings::getInstance()->setTemplatesDir (templateDir->getCurrentFile());

        deleteAllChildren();
    }
Ejemplo n.º 7
0
AudioEditor::~AudioEditor()
{
	//std::cout << "  Generic editor for " << getName() << " being deleted with " << getNumChildComponents() << " children. " << std::endl;
	deleteAllChildren();
	//delete titleFont;
}
Ejemplo n.º 8
0
CInnerShadowTab::~CInnerShadowTab ()
{
  deleteAllChildren ();
}
Ejemplo n.º 9
0
ControlGroupKnobs::~ControlGroupKnobs()
{
    deleteAllChildren();
}
PluginAudioProcessorEditor::~PluginAudioProcessorEditor()
{
	deleteAllChildren();
}
Ejemplo n.º 11
0
SignalGeneratorEditor::~SignalGeneratorEditor()
{
    deleteAllChildren();
}
Ejemplo n.º 12
0
BusWindow::~BusWindow() 
{
	m_tabs->getTabbedButtonBar().removeAllChangeListeners();
    deleteAllChildren();
}
Ejemplo n.º 13
0
void LLScrollingPanelList::clearPanels()
{
	deleteAllChildren();
	mPanelList.clear();
	reshape( 1, 1, FALSE );
}
Ejemplo n.º 14
0
EventNodeEditor::~EventNodeEditor()
{
    deleteAllChildren();
}
Ejemplo n.º 15
0
WholeNoteStaffLayout::~WholeNoteStaffLayout(void)
{
	deleteAllChildren();
}
EnvelopeComponent::~EnvelopeComponent()
{
	deleteAllChildren();
}
CodeEditorComponent::~CodeEditorComponent()
{
    document.removeListener (this);
    deleteAllChildren();
}
Ejemplo n.º 18
0
CStrokeTab::~CStrokeTab ()
{
  deleteAllChildren ();
}
Ejemplo n.º 19
0
/*GenericEditor::GenericEditor (GenericProcessor* owner)
: AudioProcessorEditor (owner), isSelected(false),
desiredWidth(150), tNum(-1), isEnabled(true),
accumulator(0.0), isFading(false), drawerButton(0),
channelSelector(0)

{
    bool useDefaultParameterEditors=true;
    constructorInitialize(owner, useDefaultParameterEditors);
}
*/
GenericEditor::~GenericEditor()
{
    deleteAllChildren();
}
Ejemplo n.º 20
0
ChannelSelectorRegion::~ChannelSelectorRegion()
{
    deleteAllChildren();
}
Ejemplo n.º 21
0
FilterEditor::~FilterEditor()
{
	deleteAllChildren();
}
Ejemplo n.º 22
0
ChannelSelector::~ChannelSelector()
{
    deleteAllChildren();

}
Ejemplo n.º 23
0
MLPluginView::~MLPluginView()
{	
	deleteAllChildren();
}
Ejemplo n.º 24
0
ParameterEditor::~ParameterEditor()
{
	deleteAllChildren();
}
Ejemplo n.º 25
0
 ~AboutPage()
 {
     deleteAllChildren();
 }
dRowTremoloEditorComponent::~dRowTremoloEditorComponent()
{
    getFilter()->removeChangeListener (this);

    deleteAllChildren();
}
Ejemplo n.º 27
0
MergerEditor::~MergerEditor()
{
    deleteAllChildren();
}
EnvelopeCurvePopup::~EnvelopeCurvePopup()
{
	deleteAllChildren();
}
Ejemplo n.º 29
0
NoteMapHandler::~NoteMapHandler ()
{
    deleteAllChildren ();
}
EnvelopeNodePopup::~EnvelopeNodePopup()
{
	deleteAllChildren();
}