QCAD
Open Source 2D CAD
RLinetypeCombo Class Reference

Copyright (c) 2011-2015 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-2015 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-2015 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:
This class is available in script environments.

Constructor & Destructor Documentation

RLinetypeCombo::RLinetypeCombo ( QWidget *  parent = 0)

Copyright (c) 2011-2015 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

RLinetypePattern RLinetypeCombo::getLinetypePattern ( )
RLinetypePattern RLinetypeCombo::getLinetypePatternAt ( int  i)
bool RLinetypeCombo::getOnlyFixed ( )
void RLinetypeCombo::init ( RDocument doc)
void RLinetypeCombo::linetypePatternChanged ( int  index)
slot
void RLinetypeCombo::reinit ( )
void RLinetypeCombo::setLinetypePattern ( const QString &  name)
void RLinetypeCombo::setLinetypePattern ( const RLinetypePattern linetypePattern)
void RLinetypeCombo::setOnlyFixed ( bool  onlyFixed)
void RLinetypeCombo::valueChanged ( const RLinetypePattern linetypePattern)
signal

Member Data Documentation

QList<RLinetypePattern> RLinetypeCombo::patterns
private

Property Documentation

bool RLinetypeCombo::onlyFixed
readwrite

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