QCAD
Open Source 2D CAD
RLinetypeCombo Class Reference

Copyright (c) 2011-2018 by Andrew Mustun. More...

#include <RLinetypeCombo.h>

Inheritance diagram for RLinetypeCombo:

Public Slots

void linetypePatternChanged (int index)
 

Signals

void valueChanged (const RLinetypePattern &linetypePattern)
 

Public Member Functions

RLinetypePattern getLinetypePattern ()
 
RLinetypePattern getLinetypePatternAt (int i)
 
bool getOnlyFixed ()
 
void init (RDocument *doc)
 
void reinit ()
 
 RLinetypeCombo (QWidget *parent=0)
 Copyright (c) 2011-2018 by Andrew Mustun. More...
 
void setLinetypePattern (const QString &name)
 
void setLinetypePattern (const RLinetypePattern &linetypePattern)
 
void setOnlyFixed (bool onlyFixed)
 

Properties

bool onlyFixed
 

Private Attributes

QList< RLinetypePatternpatterns
 

Detailed Description

Copyright (c) 2011-2018 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

Scriptable:\nThis class is available in script environments.\n

Constructor & Destructor Documentation

◆ RLinetypeCombo()

RLinetypeCombo::RLinetypeCombo ( QWidget *  parent = 0)

Copyright (c) 2011-2018 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

Member Function Documentation

◆ getLinetypePattern()

RLinetypePattern RLinetypeCombo::getLinetypePattern ( )

◆ getLinetypePatternAt()

RLinetypePattern RLinetypeCombo::getLinetypePatternAt ( int  i)

◆ getOnlyFixed()

bool RLinetypeCombo::getOnlyFixed ( )

◆ init()

void RLinetypeCombo::init ( RDocument doc)

◆ linetypePatternChanged

void RLinetypeCombo::linetypePatternChanged ( int  index)
slot

◆ reinit()

void RLinetypeCombo::reinit ( )

◆ setLinetypePattern() [1/2]

void RLinetypeCombo::setLinetypePattern ( const QString &  name)

◆ setLinetypePattern() [2/2]

void RLinetypeCombo::setLinetypePattern ( const RLinetypePattern linetypePattern)

◆ setOnlyFixed()

void RLinetypeCombo::setOnlyFixed ( bool  onlyFixed)

◆ valueChanged

void RLinetypeCombo::valueChanged ( const RLinetypePattern linetypePattern)
signal

Member Data Documentation

◆ patterns

QList<RLinetypePattern> RLinetypeCombo::patterns
private

Property Documentation

◆ onlyFixed

bool RLinetypeCombo::onlyFixed
readwrite

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